📄 stm32f10x_vector.lst
字号:
ARM Macro Assembler Page 1
1 00000000 ;******************** (C) COPYRIGHT 2008 STMicroelectron
ics ********************
2 00000000 ;* File Name : stm32f10x_vector.s
3 00000000 ;* Author : MCD Application Team
4 00000000 ;* Version : V2.0
5 00000000 ;* Date : 05/23/2008
6 00000000 ;* Description : STM32F10x vector table for RVMDK
toolchain.
7 00000000 ;* This module performs:
8 00000000 ;* - Set the initial SP
9 00000000 ;* - Set the initial PC == Reset_Ha
ndler
10 00000000 ;* - Set the vector table entries w
ith the exceptions ISR address
11 00000000 ;* - Configure external SRAM mounte
d on STM3210E-EVAL board
12 00000000 ;* to be used as data memory (opt
ional, to be enabled by user)
13 00000000 ;* - Branches to __main in the C li
brary (which eventually
14 00000000 ;* calls main()).
15 00000000 ;* After Reset the CortexM3 process
or is in Thread mode,
16 00000000 ;* priority is Privileged, and the
Stack is set to Main.
17 00000000 ;* <<< Use Configuration Wizard in Context Menu >>>
18 00000000 ;*******************************************************
************************
19 00000000 ; THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS A
T PROVIDING CUSTOMERS
20 00000000 ; WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN OR
DER FOR THEM TO SAVE TIME.
21 00000000 ; AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIAB
LE FOR ANY DIRECT,
22 00000000 ; INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY
CLAIMS ARISING FROM THE
23 00000000 ; CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOM
ERS OF THE CODING
24 00000000 ; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR
PRODUCTS.
25 00000000 ; FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE
AGREEMENT FILE LOCATED
26 00000000 ; IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
27 00000000 ;*******************************************************
************************
28 00000000
29 00000000 ; If you need to use external SRAM mounted on STM3210E-E
VAL board as data memory,
30 00000000 ; change the following define value to '1' (or choose EN
ABLE in Configuration Wizard window)
31 00000000 ;// <o> External SRAM Configuration <0=> DISABLE <1=
> ENABLE
32 00000000 00000001
DATA_IN_ExtSRAM
EQU 1
33 00000000
34 00000000
35 00000000 ; Amount of memory (in bytes) allocated for Stack
36 00000000 ; Tailor this value to your application needs
ARM Macro Assembler Page 2
37 00000000 ;// <h> Stack Configuration
38 00000000 ;// <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
39 00000000 ;// </h>
40 00000000 00000400
Stack_Size
EQU 0x00000400
41 00000000
42 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
43 00000000 Stack_Mem
SPACE Stack_Size
44 00000400
45 00000400 __initial_sp
46 00000400 ; If you need to use external SRAM mounted on STM3210E-E
VAL board as data memory
47 00000400 ; and internal SRAM for Stack, uncomment the following l
ine and comment the line above
48 00000400 ;__initial_sp EQU 0x20000000 + Stack_Size ; "Use Micr
oLIB" must be checked in
49 00000400 ; the Project->Options->Target window
50 00000400
51 00000400 ; Amount of memory (in bytes) allocated for Heap
52 00000400 ; Tailor this value to your application needs
53 00000400 ;// <h> Heap Configuration
54 00000400 ;// <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
55 00000400 ;// </h>
56 00000400
57 00000400 00000400
Heap_Size
EQU 0x00000400
58 00000400
59 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
60 00000000 __heap_base
61 00000000 Heap_Mem
SPACE Heap_Size
62 00000400 __heap_limit
63 00000400
64 00000400
65 00000400 THUMB
66 00000400 PRESERVE8
67 00000400
68 00000400 ; Import exceptions handlers
69 00000400 IMPORT NMIException
70 00000400 IMPORT HardFaultException
71 00000400 IMPORT MemManageException
72 00000400 IMPORT BusFaultException
73 00000400 IMPORT UsageFaultException
74 00000400 IMPORT SVCHandler
75 00000400 IMPORT DebugMonitor
76 00000400 IMPORT PendSVC
77 00000400 IMPORT SysTickHandler
78 00000400 IMPORT WWDG_IRQHandler
79 00000400 IMPORT PVD_IRQHandler
80 00000400 IMPORT TAMPER_IRQHandler
81 00000400 IMPORT RTC_IRQHandler
82 00000400 IMPORT FLASH_IRQHandler
83 00000400 IMPORT RCC_IRQHandler
84 00000400 IMPORT EXTI0_IRQHandler
ARM Macro Assembler Page 3
85 00000400 IMPORT EXTI1_IRQHandler
86 00000400 IMPORT EXTI2_IRQHandler
87 00000400 IMPORT EXTI3_IRQHandler
88 00000400 IMPORT EXTI4_IRQHandler
89 00000400 IMPORT DMA1_Channel1_IRQHandler
90 00000400 IMPORT DMA1_Channel2_IRQHandler
91 00000400 IMPORT DMA1_Channel3_IRQHandler
92 00000400 IMPORT DMA1_Channel4_IRQHandler
93 00000400 IMPORT DMA1_Channel5_IRQHandler
94 00000400 IMPORT DMA1_Channel6_IRQHandler
95 00000400 IMPORT DMA1_Channel7_IRQHandler
96 00000400 IMPORT ADC1_2_IRQHandler
97 00000400 IMPORT USB_HP_CAN_TX_IRQHandler
98 00000400 IMPORT USB_LP_CAN_RX0_IRQHandler
99 00000400 IMPORT CAN_RX1_IRQHandler
100 00000400 IMPORT CAN_SCE_IRQHandler
101 00000400 IMPORT EXTI9_5_IRQHandler
102 00000400 IMPORT TIM1_BRK_IRQHandler
103 00000400 IMPORT TIM1_UP_IRQHandler
104 00000400 IMPORT TIM1_TRG_COM_IRQHandler
105 00000400 IMPORT TIM1_CC_IRQHandler
106 00000400 IMPORT TIM2_IRQHandler
107 00000400 IMPORT TIM3_IRQHandler
108 00000400 IMPORT TIM4_IRQHandler
109 00000400 IMPORT I2C1_EV_IRQHandler
110 00000400 IMPORT I2C1_ER_IRQHandler
111 00000400 IMPORT I2C2_EV_IRQHandler
112 00000400 IMPORT I2C2_ER_IRQHandler
113 00000400 IMPORT SPI1_IRQHandler
114 00000400 IMPORT SPI2_IRQHandler
115 00000400 IMPORT USART1_IRQHandler
116 00000400 IMPORT USART2_IRQHandler
117 00000400 IMPORT USART3_IRQHandler
118 00000400 IMPORT EXTI15_10_IRQHandler
119 00000400 IMPORT RTCAlarm_IRQHandler
120 00000400 IMPORT USBWakeUp_IRQHandler
121 00000400 IMPORT TIM8_BRK_IRQHandler
122 00000400 IMPORT TIM8_UP_IRQHandler
123 00000400 IMPORT TIM8_TRG_COM_IRQHandler
124 00000400 IMPORT TIM8_CC_IRQHandler
125 00000400 IMPORT ADC3_IRQHandler
126 00000400 IMPORT FSMC_IRQHandler
127 00000400 IMPORT SDIO_IRQHandler
128 00000400 IMPORT TIM5_IRQHandler
129 00000400 IMPORT SPI3_IRQHandler
130 00000400 IMPORT UART4_IRQHandler
131 00000400 IMPORT UART5_IRQHandler
132 00000400 IMPORT TIM6_IRQHandler
133 00000400 IMPORT TIM7_IRQHandler
134 00000400 IMPORT DMA2_Channel1_IRQHandler
135 00000400 IMPORT DMA2_Channel2_IRQHandler
136 00000400 IMPORT DMA2_Channel3_IRQHandler
137 00000400 IMPORT DMA2_Channel4_5_IRQHandler
138 00000400
139 00000400 ;*******************************************************
************************
140 00000400 ; Fill-up the Vector Table entries with the exceptions I
SR address
141 00000400 ;*******************************************************
ARM Macro Assembler Page 4
************************
142 00000400 AREA RESET, DATA, READONLY
143 00000000 EXPORT __Vectors
144 00000000
145 00000000 00000000
__Vectors
DCD __initial_sp ; Top of Stack
146 00000004 00000000 DCD Reset_Handler
147 00000008 00000000 DCD NMIException
148 0000000C 00000000 DCD HardFaultException
149 00000010 00000000 DCD MemManageException
150 00000014 00000000 DCD BusFaultException
151 00000018 00000000 DCD UsageFaultException
152 0000001C 00000000 DCD 0 ; Reserved
153 00000020 00000000 DCD 0 ; Reserved
154 00000024 00000000 DCD 0 ; Reserved
155 00000028 00000000 DCD 0 ; Reserved
156 0000002C 00000000 DCD SVCHandler
157 00000030 00000000 DCD DebugMonitor
158 00000034 00000000 DCD 0 ; Reserved
159 00000038 00000000 DCD PendSVC
160 0000003C 00000000 DCD SysTickHandler
161 00000040 00000000 DCD WWDG_IRQHandler
162 00000044 00000000 DCD PVD_IRQHandler
163 00000048 00000000 DCD TAMPER_IRQHandler
164 0000004C 00000000 DCD RTC_IRQHandler
165 00000050 00000000 DCD FLASH_IRQHandler
166 00000054 00000000 DCD RCC_IRQHandler
167 00000058 00000000 DCD EXTI0_IRQHandler
168 0000005C 00000000 DCD EXTI1_IRQHandler
169 00000060 00000000 DCD EXTI2_IRQHandler
170 00000064 00000000 DCD EXTI3_IRQHandler
171 00000068 00000000 DCD EXTI4_IRQHandler
172 0000006C 00000000 DCD DMA1_Channel1_IRQHandler
173 00000070 00000000 DCD DMA1_Channel2_IRQHandler
174 00000074 00000000 DCD DMA1_Channel3_IRQHandler
175 00000078 00000000 DCD DMA1_Channel4_IRQHandler
176 0000007C 00000000 DCD DMA1_Channel5_IRQHandler
177 00000080 00000000 DCD DMA1_Channel6_IRQHandler
178 00000084 00000000 DCD DMA1_Channel7_IRQHandler
179 00000088 00000000 DCD ADC1_2_IRQHandler
180 0000008C 00000000 DCD USB_HP_CAN_TX_IRQHandler
181 00000090 00000000 DCD USB_LP_CAN_RX0_IRQHandler
182 00000094 00000000 DCD CAN_RX1_IRQHandler
183 00000098 00000000 DCD CAN_SCE_IRQHandler
184 0000009C 00000000 DCD EXTI9_5_IRQHandler
185 000000A0 00000000 DCD TIM1_BRK_IRQHandler
186 000000A4 00000000 DCD TIM1_UP_IRQHandler
187 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler
188 000000AC 00000000 DCD TIM1_CC_IRQHandler
189 000000B0 00000000 DCD TIM2_IRQHandler
190 000000B4 00000000 DCD TIM3_IRQHandler
191 000000B8 00000000 DCD TIM4_IRQHandler
192 000000BC 00000000 DCD I2C1_EV_IRQHandler
193 000000C0 00000000 DCD I2C1_ER_IRQHandler
194 000000C4 00000000 DCD I2C2_EV_IRQHandler
195 000000C8 00000000 DCD I2C2_ER_IRQHandler
196 000000CC 00000000 DCD SPI1_IRQHandler
197 000000D0 00000000 DCD SPI2_IRQHandler
ARM Macro Assembler Page 5
198 000000D4 00000000 DCD USART1_IRQHandler
199 000000D8 00000000 DCD USART2_IRQHandler
200 000000DC 00000000 DCD USART3_IRQHandler
201 000000E0 00000000 DCD EXTI15_10_IRQHandler
202 000000E4 00000000 DCD RTCAlarm_IRQHandler
203 000000E8 00000000 DCD USBWakeUp_IRQHandler
204 000000EC 00000000 DCD TIM8_BRK_IRQHandler
205 000000F0 00000000 DCD TIM8_UP_IRQHandler
206 000000F4 00000000 DCD TIM8_TRG_COM_IRQHandler
207 000000F8 00000000 DCD TIM8_CC_IRQHandler
208 000000FC 00000000 DCD ADC3_IRQHandler
209 00000100 00000000 DCD FSMC_IRQHandler
210 00000104 00000000 DCD SDIO_IRQHandler
211 00000108 00000000 DCD TIM5_IRQHandler
212 0000010C 00000000 DCD SPI3_IRQHandler
213 00000110 00000000 DCD UART4_IRQHandler
214 00000114 00000000 DCD UART5_IRQHandler
215 00000118 00000000 DCD TIM6_IRQHandler
216 0000011C 00000000 DCD TIM7_IRQHandler
217 00000120 00000000 DCD DMA2_Channel1_IRQHandler
218 00000124 00000000 DCD DMA2_Channel2_IRQHandler
219 00000128 00000000 DCD DMA2_Channel3_IRQHandler
220 0000012C 00000000 DCD DMA2_Channel4_5_IRQHandler
221 00000130
222 00000130 AREA |.text|, CODE, READONLY
223 00000000
224 00000000 ; Reset handler routine
225 00000000 Reset_Handler
PROC
226 00000000 EXPORT Reset_Handler
227 00000000
228 00000000 IF DATA_IN_ExtSRAM == 1
229 00000000 ; FSMC Bank1 NOR/SRAM3 is used for the STM3210E-EVAL, if
another Bank is
230 00000000 ; required, then adjust the Register Addresses
231 00000000
232 00000000
233 00000000 ; Enable FSMC clock
234 00000000 F44F 708A LDR R0,= 0x00000114
235 00000004 4914 LDR R1,= 0x40021014
236 00000006 6008 STR R0,[R1]
237 00000008
238 00000008 ; Enable GPIOD, GPIOE, GPIOF and GPIOG clocks
239 00000008 F44F 70F0 LDR R0,= 0x000001E0
240 0000000C 4913 LDR R1,= 0x40021018
241 0000000E 6008 STR R0,[R1]
242 00000010
243 00000010 ; SRAM Data lines, NOE and NWE configuration
244 00000010 ; SRAM Address lines configuration
245 00000010 ; NOE and NWE configuration
246 00000010 ; NE3 configuration
247 00000010 ; NBL0, NBL1 configuration
248 00000010
249 00000010 4813 LDR R0,= 0x44BB44BB
250 00000012 4914 LDR R1,= 0x40011400
251 00000014 6008 STR R0,[R1]
252 00000016
253 00000016 F04F 30BB LDR R0,= 0xBBBBBBBB
254 0000001A 4913 LDR R1,= 0x40011404
ARM Macro Assembler Page 6
255 0000001C 6008 STR R0,[R1]
256 0000001E
257 0000001E 4813 LDR R0,= 0xB44444BB
258 00000020 4913 LDR R1,= 0x40011800
259 00000022 6008 STR R0,[R1]
260 00000024
261 00000024 F04F 30BB LDR R0,= 0xBBBBBBBB
262 00000028 4912 LDR R1,= 0x40011804
263 0000002A 6008 STR R0,[R1]
264 0000002C
265 0000002C 4812 LDR R0,= 0x44BBBBBB
266 0000002E 4913 LDR R1,= 0x40011C00
267 00000030 6008 STR R0,[R1]
268 00000032
269 00000032 4813 LDR R0,= 0xBBBB4444
270 00000034 4913 LDR R1,= 0x40011C04
271 00000036 6008 STR R0,[R1]
272 00000038
273 00000038 480F LDR R0,= 0x44BBBBBB
274 0000003A 4913 LDR R1,= 0x40012000
275 0000003C 6008 STR R0,[R1]
276 0000003E
277 0000003E 4813 LDR R0,= 0x44444B44
278 00000040 4913 LDR R1,= 0x40012004
279 00000042 6008 STR R0,[R1]
280 00000044
281 00000044 ; FSMC Configuration
282 00000044 ; Enable FSMC Bank1_SRAM Bank
283 00000044
284 00000044 F241 0011 LDR R0,= 0x00001011
285 00000048 4912 LDR R1,= 0xA0000010
286 0000004A 6008 STR R0,[R1]
287 0000004C
288 0000004C F44F 7000 LDR R0,= 0x00000200
289 00000050 4911 LDR R1,= 0xA0000014
290 00000052 6008 STR R0,[R1]
291 00000054
292 00000054
293 00000054 ENDIF
294 00000054
295 00000054
296 00000054 IMPORT __main
297 00000054 4811 LDR R0, =__main
298 00000056 4700 BX R0
299 00000058 ENDP
300 00000058
301 00000058 ALIGN
302 00000058
303 00000058 ;*******************************************************
************************
304 00000058 ; User Stack and Heap initialization
305 00000058 ;*******************************************************
************************
306 00000058 IF :DEF:__MICROLIB
307 00000058
308 00000058 EXPORT __initial_sp
309 00000058 EXPORT __heap_base
310 00000058 EXPORT __heap_limit
311 00000058
ARM Macro Assembler Page 7
312 00000058 ELSE
327 ENDIF
328 00000058
329 00000058 END
40021014
40021018
44BB44BB
40011400
40011404
B44444BB
40011800
40011804
44BBBBBB
40011C00
BBBB4444
40011C04
40012000
44444B44
40012004
A0000010
A0000014
00000000
Command Line: --debug --xref --device=DARMSTM --apcs=interwork -o.\Obj\stm32f10
x_vector.o -I"D:\Program Files\MDK KEIL\ARM\INC\ST\STM32F10x" --predefine="__MI
CROLIB SETA 1" --list=.\List\stm32f10x_vector.lst stm32f10x_vector.s
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -