📄 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 : V1.1.1
5 00000000 ;* Date : 06/13/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 FIRMWARE AND/OR THE USE MADE BY CUSTOM
ERS OF THE CODING
24 00000000 ; INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR
PRODUCTS.
25 00000000 ;*******************************************************
************************
26 00000000
27 00000000 ; If you need to use external SRAM mounted on STM3210E-E
VAL board as data memory,
28 00000000 ; change the following define value to '1' (or choose EN
ABLE in Configuration Wizard window)
29 00000000 ;// <o> External SRAM Configuration <0=> DISABLE <1=
> ENABLE
30 00000000 00000001
DATA_IN_ExtSRAM
EQU 1
31 00000000
32 00000000
33 00000000 ; Amount of memory (in bytes) allocated for Stack
34 00000000 ; Tailor this value to your application needs
35 00000000 ;// <h> Stack Configuration
36 00000000 ;// <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
37 00000000 ;// </h>
ARM Macro Assembler Page 2
38 00000000 00000400
Stack_Size
EQU 0x00000400
39 00000000
40 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
=3
41 00000000 Stack_Mem
SPACE Stack_Size
42 00000400
43 00000400 ;__initial_sp
44 00000400 ; If you need to use external SRAM mounted on STM3210E-E
VAL board as data memory
45 00000400 ; and internal SRAM for Stack, uncomment the following l
ine and comment the line above
46 00000400 20000400
__initial_sp
EQU 0x20000000 + Stack_Size ; "Use
MicroLIB" must be c
hecked in
47 00000400 ; the Project->Options->Target window
48 00000400
49 00000400 ; Amount of memory (in bytes) allocated for Heap
50 00000400 ; Tailor this value to your application needs
51 00000400 ;// <h> Heap Configuration
52 00000400 ;// <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
53 00000400 ;// </h>
54 00000400
55 00000400 00000400
Heap_Size
EQU 0x00000400
56 00000400
57 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
3
58 00000000 __heap_base
59 00000000 Heap_Mem
SPACE Heap_Size
60 00000400 __heap_limit
61 00000400
62 00000400
63 00000400 THUMB
64 00000400 PRESERVE8
65 00000400
66 00000400 ; Import exceptions handlers
67 00000400 IMPORT NMIException
68 00000400 IMPORT HardFaultException
69 00000400 IMPORT MemManageException
70 00000400 IMPORT BusFaultException
71 00000400 IMPORT UsageFaultException
72 00000400 IMPORT SVCHandler
73 00000400 IMPORT DebugMonitor
74 00000400 IMPORT PendSVC
75 00000400 IMPORT SysTickHandler
76 00000400 IMPORT WWDG_IRQHandler
77 00000400 IMPORT PVD_IRQHandler
78 00000400 IMPORT TAMPER_IRQHandler
79 00000400 IMPORT RTC_IRQHandler
80 00000400 IMPORT FLASH_IRQHandler
81 00000400 IMPORT RCC_IRQHandler
82 00000400 IMPORT EXTI0_IRQHandler
ARM Macro Assembler Page 3
83 00000400 IMPORT EXTI1_IRQHandler
84 00000400 IMPORT EXTI2_IRQHandler
85 00000400 IMPORT EXTI3_IRQHandler
86 00000400 IMPORT EXTI4_IRQHandler
87 00000400 IMPORT DMA1_Channel1_IRQHandler
88 00000400 IMPORT DMA1_Channel2_IRQHandler
89 00000400 IMPORT DMA1_Channel3_IRQHandler
90 00000400 IMPORT DMA1_Channel4_IRQHandler
91 00000400 IMPORT DMA1_Channel5_IRQHandler
92 00000400 IMPORT DMA1_Channel6_IRQHandler
93 00000400 IMPORT DMA1_Channel7_IRQHandler
94 00000400 IMPORT ADC1_2_IRQHandler
95 00000400 IMPORT USB_HP_CAN_TX_IRQHandler
96 00000400 IMPORT USB_LP_CAN_RX0_IRQHandler
97 00000400 IMPORT CAN_RX1_IRQHandler
98 00000400 IMPORT CAN_SCE_IRQHandler
99 00000400 IMPORT EXTI9_5_IRQHandler
100 00000400 IMPORT TIM1_BRK_IRQHandler
101 00000400 IMPORT TIM1_UP_IRQHandler
102 00000400 IMPORT TIM1_TRG_COM_IRQHandler
103 00000400 IMPORT TIM1_CC_IRQHandler
104 00000400 IMPORT TIM2_IRQHandler
105 00000400 IMPORT TIM3_IRQHandler
106 00000400 IMPORT TIM4_IRQHandler
107 00000400 IMPORT I2C1_EV_IRQHandler
108 00000400 IMPORT I2C1_ER_IRQHandler
109 00000400 IMPORT I2C2_EV_IRQHandler
110 00000400 IMPORT I2C2_ER_IRQHandler
111 00000400 IMPORT SPI1_IRQHandler
112 00000400 IMPORT SPI2_IRQHandler
113 00000400 IMPORT USART1_IRQHandler
114 00000400 IMPORT USART2_IRQHandler
115 00000400 IMPORT USART3_IRQHandler
116 00000400 IMPORT EXTI15_10_IRQHandler
117 00000400 IMPORT RTCAlarm_IRQHandler
118 00000400 IMPORT USBWakeUp_IRQHandler
119 00000400 IMPORT TIM8_BRK_IRQHandler
120 00000400 IMPORT TIM8_UP_IRQHandler
121 00000400 IMPORT TIM8_TRG_COM_IRQHandler
122 00000400 IMPORT TIM8_CC_IRQHandler
123 00000400 IMPORT ADC3_IRQHandler
124 00000400 IMPORT FSMC_IRQHandler
125 00000400 IMPORT SDIO_IRQHandler
126 00000400 IMPORT TIM5_IRQHandler
127 00000400 IMPORT SPI3_IRQHandler
128 00000400 IMPORT UART4_IRQHandler
129 00000400 IMPORT UART5_IRQHandler
130 00000400 IMPORT TIM6_IRQHandler
131 00000400 IMPORT TIM7_IRQHandler
132 00000400 IMPORT DMA2_Channel1_IRQHandler
133 00000400 IMPORT DMA2_Channel2_IRQHandler
134 00000400 IMPORT DMA2_Channel3_IRQHandler
135 00000400 IMPORT DMA2_Channel4_5_IRQHandler
136 00000400
137 00000400 ;*******************************************************
************************
138 00000400 ; Fill-up the Vector Table entries with the exceptions I
SR address
139 00000400 ;*******************************************************
ARM Macro Assembler Page 4
************************
140 00000400 AREA RESET, DATA, READONLY
141 00000000 EXPORT __Vectors
142 00000000
143 00000000 20000400
__Vectors
DCD __initial_sp ; Top of Stack
144 00000004 00000000 DCD Reset_Handler
145 00000008 00000000 DCD NMIException
146 0000000C 00000000 DCD HardFaultException
147 00000010 00000000 DCD MemManageException
148 00000014 00000000 DCD BusFaultException
149 00000018 00000000 DCD UsageFaultException
150 0000001C 00000000 DCD 0 ; Reserved
151 00000020 00000000 DCD 0 ; Reserved
152 00000024 00000000 DCD 0 ; Reserved
153 00000028 00000000 DCD 0 ; Reserved
154 0000002C 00000000 DCD SVCHandler
155 00000030 00000000 DCD DebugMonitor
156 00000034 00000000 DCD 0 ; Reserved
157 00000038 00000000 DCD PendSVC
158 0000003C 00000000 DCD SysTickHandler
159 00000040 00000000 DCD WWDG_IRQHandler
160 00000044 00000000 DCD PVD_IRQHandler
161 00000048 00000000 DCD TAMPER_IRQHandler
162 0000004C 00000000 DCD RTC_IRQHandler
163 00000050 00000000 DCD FLASH_IRQHandler
164 00000054 00000000 DCD RCC_IRQHandler
165 00000058 00000000 DCD EXTI0_IRQHandler
166 0000005C 00000000 DCD EXTI1_IRQHandler
167 00000060 00000000 DCD EXTI2_IRQHandler
168 00000064 00000000 DCD EXTI3_IRQHandler
169 00000068 00000000 DCD EXTI4_IRQHandler
170 0000006C 00000000 DCD DMA1_Channel1_IRQHandler
171 00000070 00000000 DCD DMA1_Channel2_IRQHandler
172 00000074 00000000 DCD DMA1_Channel3_IRQHandler
173 00000078 00000000 DCD DMA1_Channel4_IRQHandler
174 0000007C 00000000 DCD DMA1_Channel5_IRQHandler
175 00000080 00000000 DCD DMA1_Channel6_IRQHandler
176 00000084 00000000 DCD DMA1_Channel7_IRQHandler
177 00000088 00000000 DCD ADC1_2_IRQHandler
178 0000008C 00000000 DCD USB_HP_CAN_TX_IRQHandler
179 00000090 00000000 DCD USB_LP_CAN_RX0_IRQHandler
180 00000094 00000000 DCD CAN_RX1_IRQHandler
181 00000098 00000000 DCD CAN_SCE_IRQHandler
182 0000009C 00000000 DCD EXTI9_5_IRQHandler
183 000000A0 00000000 DCD TIM1_BRK_IRQHandler
184 000000A4 00000000 DCD TIM1_UP_IRQHandler
185 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler
186 000000AC 00000000 DCD TIM1_CC_IRQHandler
187 000000B0 00000000 DCD TIM2_IRQHandler
188 000000B4 00000000 DCD TIM3_IRQHandler
189 000000B8 00000000 DCD TIM4_IRQHandler
190 000000BC 00000000 DCD I2C1_EV_IRQHandler
191 000000C0 00000000 DCD I2C1_ER_IRQHandler
192 000000C4 00000000 DCD I2C2_EV_IRQHandler
193 000000C8 00000000 DCD I2C2_ER_IRQHandler
194 000000CC 00000000 DCD SPI1_IRQHandler
195 000000D0 00000000 DCD SPI2_IRQHandler
ARM Macro Assembler Page 5
196 000000D4 00000000 DCD USART1_IRQHandler
197 000000D8 00000000 DCD USART2_IRQHandler
198 000000DC 00000000 DCD USART3_IRQHandler
199 000000E0 00000000 DCD EXTI15_10_IRQHandler
200 000000E4 00000000 DCD RTCAlarm_IRQHandler
201 000000E8 00000000 DCD USBWakeUp_IRQHandler
202 000000EC 00000000 DCD TIM8_BRK_IRQHandler
203 000000F0 00000000 DCD TIM8_UP_IRQHandler
204 000000F4 00000000 DCD TIM8_TRG_COM_IRQHandler
205 000000F8 00000000 DCD TIM8_CC_IRQHandler
206 000000FC 00000000 DCD ADC3_IRQHandler
207 00000100 00000000 DCD FSMC_IRQHandler
208 00000104 00000000 DCD SDIO_IRQHandler
209 00000108 00000000 DCD TIM5_IRQHandler
210 0000010C 00000000 DCD SPI3_IRQHandler
211 00000110 00000000 DCD UART4_IRQHandler
212 00000114 00000000 DCD UART5_IRQHandler
213 00000118 00000000 DCD TIM6_IRQHandler
214 0000011C 00000000 DCD TIM7_IRQHandler
215 00000120 00000000 DCD DMA2_Channel1_IRQHandler
216 00000124 00000000 DCD DMA2_Channel2_IRQHandler
217 00000128 00000000 DCD DMA2_Channel3_IRQHandler
218 0000012C 00000000 DCD DMA2_Channel4_5_IRQHandler
219 00000130
220 00000130 AREA |.text|, CODE, READONLY
221 00000000
222 00000000 ; Reset handler routine
223 00000000 Reset_Handler
PROC
224 00000000 EXPORT Reset_Handler
225 00000000
226 00000000 IF DATA_IN_ExtSRAM == 1
227 00000000 ; FSMC Bank1 NOR/SRAM3 is used for the STM3210E-EVAL, if
another Bank is
228 00000000 ; required, then adjust the Register Addresses
229 00000000
230 00000000
231 00000000 ; Enable FSMC clock
232 00000000 F44F 708A LDR R0,= 0x00000114
233 00000004 4914 LDR R1,= 0x40021014
234 00000006 6008 STR R0,[R1]
235 00000008
236 00000008 ; Enable GPIOD, GPIOE, GPIOF and GPIOG clocks
237 00000008 F44F 70F0 LDR R0,= 0x000001E0
238 0000000C 4913 LDR R1,= 0x40021018
239 0000000E 6008 STR R0,[R1]
240 00000010
241 00000010 ; SRAM Data lines, NOE and NWE configuration
242 00000010 ; SRAM Address lines configuration
243 00000010 ; NOE and NWE configuration
244 00000010 ; NE3 configuration
245 00000010 ; NBL0, NBL1 configuration
246 00000010
247 00000010 4813 LDR R0,= 0x44BB44BB
248 00000012 4914 LDR R1,= 0x40011400
249 00000014 6008 STR R0,[R1]
250 00000016
251 00000016 F04F 30BB LDR R0,= 0xBBBBBBBB
252 0000001A 4913 LDR R1,= 0x40011404
ARM Macro Assembler Page 6
253 0000001C 6008 STR R0,[R1]
254 0000001E
255 0000001E 4813 LDR R0,= 0xB44444BB
256 00000020 4913 LDR R1,= 0x40011800
257 00000022 6008 STR R0,[R1]
258 00000024
259 00000024 F04F 30BB LDR R0,= 0xBBBBBBBB
260 00000028 4912 LDR R1,= 0x40011804
261 0000002A 6008 STR R0,[R1]
262 0000002C
263 0000002C 4812 LDR R0,= 0x44BBBBBB
264 0000002E 4913 LDR R1,= 0x40011C00
265 00000030 6008 STR R0,[R1]
266 00000032
267 00000032 4813 LDR R0,= 0xBBBB4444
268 00000034 4913 LDR R1,= 0x40011C04
269 00000036 6008 STR R0,[R1]
270 00000038
271 00000038 480F LDR R0,= 0x44BBBBBB
272 0000003A 4913 LDR R1,= 0x40012000
273 0000003C 6008 STR R0,[R1]
274 0000003E
275 0000003E 4813 LDR R0,= 0x44444B44
276 00000040 4913 LDR R1,= 0x40012004
277 00000042 6008 STR R0,[R1]
278 00000044
279 00000044 ; FSMC Configuration
280 00000044 ; Enable FSMC Bank1_SRAM Bank
281 00000044
282 00000044 F241 0011 LDR R0,= 0x00001011
283 00000048 4912 LDR R1,= 0xA0000010
284 0000004A 6008 STR R0,[R1]
285 0000004C
286 0000004C F44F 7000 LDR R0,= 0x00000200
287 00000050 4911 LDR R1,= 0xA0000014
288 00000052 6008 STR R0,[R1]
289 00000054
290 00000054
291 00000054 ENDIF
292 00000054
293 00000054
294 00000054 IMPORT __main
295 00000054 4811 LDR R0, =__main
296 00000056 4700 BX R0
297 00000058 ENDP
298 00000058
299 00000058 ALIGN
300 00000058
301 00000058 ;*******************************************************
************************
302 00000058 ; User Stack and Heap initialization
303 00000058 ;*******************************************************
************************
304 00000058 IF :DEF:__MICROLIB
305 00000058
306 00000058 EXPORT __initial_sp
307 00000058 EXPORT __heap_base
308 00000058 EXPORT __heap_limit
309 00000058
ARM Macro Assembler Page 7
310 00000058 ELSE
325 ENDIF
326 00000058
327 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 + -