startup_stm32f103xb.lst 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210
  1. ARM Macro Assembler Page 1
  2. 1 00000000 ;******************** (C) COPYRIGHT 2016 STMicroelectron
  3. ics ********************
  4. 2 00000000 ;* File Name : startup_stm32f103xb.s
  5. 3 00000000 ;* Author : MCD Application Team
  6. 4 00000000 ;* Version : V4.1.0
  7. 5 00000000 ;* Date : 29-April-2016
  8. 6 00000000 ;* Description : STM32F103xB Devices vector table
  9. for MDK-ARM toolchain.
  10. 7 00000000 ;* This module performs:
  11. 8 00000000 ;* - Set the initial SP
  12. 9 00000000 ;* - Set the initial PC == Reset_Ha
  13. ndler
  14. 10 00000000 ;* - Set the vector table entries w
  15. ith the exceptions ISR address
  16. 11 00000000 ;* - Configure the clock system
  17. 12 00000000 ;* - Branches to __main in the C li
  18. brary (which eventually
  19. 13 00000000 ;* calls main()).
  20. 14 00000000 ;* After Reset the Cortex-M3 proces
  21. sor is in Thread mode,
  22. 15 00000000 ;* priority is Privileged, and the
  23. Stack is set to Main.
  24. 16 00000000 ;*******************************************************
  25. *************************
  26. 17 00000000 ;*
  27. 18 00000000 ;* COPYRIGHT(c) 2016 STMicroelectronics
  28. 19 00000000 ;*
  29. 20 00000000 ;* Redistribution and use in source and binary forms, wi
  30. th or without modification,
  31. 21 00000000 ;* are permitted provided that the following conditions
  32. are met:
  33. 22 00000000 ;* 1. Redistributions of source code must retain the a
  34. bove copyright notice,
  35. 23 00000000 ;* this list of conditions and the following discla
  36. imer.
  37. 24 00000000 ;* 2. Redistributions in binary form must reproduce th
  38. e above copyright notice,
  39. 25 00000000 ;* this list of conditions and the following discla
  40. imer in the documentation
  41. 26 00000000 ;* and/or other materials provided with the distrib
  42. ution.
  43. 27 00000000 ;* 3. Neither the name of STMicroelectronics nor the n
  44. ames of its contributors
  45. 28 00000000 ;* may be used to endorse or promote products deriv
  46. ed from this software
  47. 29 00000000 ;* without specific prior written permission.
  48. 30 00000000 ;*
  49. 31 00000000 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AN
  50. D CONTRIBUTORS "AS IS"
  51. 32 00000000 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
  52. NOT LIMITED TO, THE
  53. 33 00000000 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  54. A PARTICULAR PURPOSE ARE
  55. 34 00000000 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  56. CONTRIBUTORS BE LIABLE
  57. 35 00000000 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPL
  58. ARY, OR CONSEQUENTIAL
  59. 36 00000000 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT O
  60. F SUBSTITUTE GOODS OR
  61. ARM Macro Assembler Page 2
  62. 37 00000000 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  63. INTERRUPTION) HOWEVER
  64. 38 00000000 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON
  65. TRACT, STRICT LIABILITY,
  66. 39 00000000 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING I
  67. N ANY WAY OUT OF THE USE
  68. 40 00000000 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  69. OF SUCH DAMAGE.
  70. 41 00000000 ;
  71. 42 00000000 ;*******************************************************
  72. ************************
  73. 43 00000000
  74. 44 00000000 ; Amount of memory (in bytes) allocated for Stack
  75. 45 00000000 ; Tailor this value to your application needs
  76. 46 00000000 ; <h> Stack Configuration
  77. 47 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
  78. 48 00000000 ; </h>
  79. 49 00000000
  80. 50 00000000 00001000
  81. Stack_Size
  82. EQU 0x1000
  83. 51 00000000
  84. 52 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
  85. =3
  86. 53 00000000 Stack_Mem
  87. SPACE Stack_Size
  88. 54 00001000 __initial_sp
  89. 55 00001000
  90. 56 00001000
  91. 57 00001000 ; <h> Heap Configuration
  92. 58 00001000 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
  93. 59 00001000 ; </h>
  94. 60 00001000
  95. 61 00001000 00000800
  96. Heap_Size
  97. EQU 0x800
  98. 62 00001000
  99. 63 00001000 AREA HEAP, NOINIT, READWRITE, ALIGN=
  100. 3
  101. 64 00000000 __heap_base
  102. 65 00000000 Heap_Mem
  103. SPACE Heap_Size
  104. 66 00000800 __heap_limit
  105. 67 00000800
  106. 68 00000800 PRESERVE8
  107. 69 00000800 THUMB
  108. 70 00000800
  109. 71 00000800
  110. 72 00000800 ; Vector Table Mapped to Address 0 at Reset
  111. 73 00000800 AREA RESET, DATA, READONLY
  112. 74 00000000 EXPORT __Vectors
  113. 75 00000000 EXPORT __Vectors_End
  114. 76 00000000 EXPORT __Vectors_Size
  115. 77 00000000
  116. 78 00000000 00000000
  117. __Vectors
  118. DCD __initial_sp ; Top of Stack
  119. 79 00000004 00000000 DCD Reset_Handler ; Reset Handler
  120. 80 00000008 00000000 DCD NMI_Handler ; NMI Handler
  121. ARM Macro Assembler Page 3
  122. 81 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
  123. Handler
  124. 82 00000010 00000000 DCD MemManage_Handler
  125. ; MPU Fault Handler
  126. 83 00000014 00000000 DCD BusFault_Handler
  127. ; Bus Fault Handler
  128. 84 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
  129. t Handler
  130. 85 0000001C 00000000 DCD 0 ; Reserved
  131. 86 00000020 00000000 DCD 0 ; Reserved
  132. 87 00000024 00000000 DCD 0 ; Reserved
  133. 88 00000028 00000000 DCD 0 ; Reserved
  134. 89 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
  135. 90 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
  136. r Handler
  137. 91 00000034 00000000 DCD 0 ; Reserved
  138. 92 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
  139. 93 0000003C 00000000 DCD SysTick_Handler
  140. ; SysTick Handler
  141. 94 00000040
  142. 95 00000040 ; External Interrupts
  143. 96 00000040 00000000 DCD WWDG_IRQHandler
  144. ; Window Watchdog
  145. 97 00000044 00000000 DCD PVD_IRQHandler ; PVD through EX
  146. TI Line detect
  147. 98 00000048 00000000 DCD TAMPER_IRQHandler ; Tamper
  148. 99 0000004C 00000000 DCD RTC_IRQHandler ; RTC
  149. 100 00000050 00000000 DCD FLASH_IRQHandler ; Flash
  150. 101 00000054 00000000 DCD RCC_IRQHandler ; RCC
  151. 102 00000058 00000000 DCD EXTI0_IRQHandler ; EXTI Line 0
  152. 103 0000005C 00000000 DCD EXTI1_IRQHandler ; EXTI Line 1
  153. 104 00000060 00000000 DCD EXTI2_IRQHandler ; EXTI Line 2
  154. 105 00000064 00000000 DCD EXTI3_IRQHandler ; EXTI Line 3
  155. 106 00000068 00000000 DCD EXTI4_IRQHandler ; EXTI Line 4
  156. 107 0000006C 00000000 DCD DMA1_Channel1_IRQHandler
  157. ; DMA1 Channel 1
  158. 108 00000070 00000000 DCD DMA1_Channel2_IRQHandler
  159. ; DMA1 Channel 2
  160. 109 00000074 00000000 DCD DMA1_Channel3_IRQHandler
  161. ; DMA1 Channel 3
  162. 110 00000078 00000000 DCD DMA1_Channel4_IRQHandler
  163. ; DMA1 Channel 4
  164. 111 0000007C 00000000 DCD DMA1_Channel5_IRQHandler
  165. ; DMA1 Channel 5
  166. 112 00000080 00000000 DCD DMA1_Channel6_IRQHandler
  167. ; DMA1 Channel 6
  168. 113 00000084 00000000 DCD DMA1_Channel7_IRQHandler
  169. ; DMA1 Channel 7
  170. 114 00000088 00000000 DCD ADC1_2_IRQHandler ; ADC1_2
  171. 115 0000008C 00000000 DCD USB_HP_CAN1_TX_IRQHandler ; USB
  172. High Priority or C
  173. AN1 TX
  174. 116 00000090 00000000 DCD USB_LP_CAN1_RX0_IRQHandler ; US
  175. B Low Priority or
  176. CAN1 RX0
  177. 117 00000094 00000000 DCD CAN1_RX1_IRQHandler ; CAN1 RX1
  178. ARM Macro Assembler Page 4
  179. 118 00000098 00000000 DCD CAN1_SCE_IRQHandler ; CAN1 SCE
  180. 119 0000009C 00000000 DCD EXTI9_5_IRQHandler
  181. ; EXTI Line 9..5
  182. 120 000000A0 00000000 DCD TIM1_BRK_IRQHandler
  183. ; TIM1 Break
  184. 121 000000A4 00000000 DCD TIM1_UP_IRQHandler
  185. ; TIM1 Update
  186. 122 000000A8 00000000 DCD TIM1_TRG_COM_IRQHandler ; TIM1
  187. Trigger and Commuta
  188. tion
  189. 123 000000AC 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu
  190. re Compare
  191. 124 000000B0 00000000 DCD TIM2_IRQHandler ; TIM2
  192. 125 000000B4 00000000 DCD TIM3_IRQHandler ; TIM3
  193. 126 000000B8 00000000 DCD TIM4_IRQHandler ; TIM4
  194. 127 000000BC 00000000 DCD I2C1_EV_IRQHandler ; I2C1 Event
  195. 128 000000C0 00000000 DCD I2C1_ER_IRQHandler ; I2C1 Error
  196. 129 000000C4 00000000 DCD I2C2_EV_IRQHandler ; I2C2 Event
  197. 130 000000C8 00000000 DCD I2C2_ER_IRQHandler ; I2C2 Error
  198. 131 000000CC 00000000 DCD SPI1_IRQHandler ; SPI1
  199. 132 000000D0 00000000 DCD SPI2_IRQHandler ; SPI2
  200. 133 000000D4 00000000 DCD USART1_IRQHandler ; USART1
  201. 134 000000D8 00000000 DCD USART2_IRQHandler ; USART2
  202. 135 000000DC 00000000 DCD USART3_IRQHandler ; USART3
  203. 136 000000E0 00000000 DCD EXTI15_10_IRQHandler
  204. ; EXTI Line 15..10
  205. 137 000000E4 00000000 DCD RTC_Alarm_IRQHandler ; RTC Alar
  206. m through EXTI Line
  207. 138 000000E8 00000000 DCD USBWakeUp_IRQHandler ; USB Wake
  208. up from suspend
  209. 139 000000EC __Vectors_End
  210. 140 000000EC
  211. 141 000000EC 000000EC
  212. __Vectors_Size
  213. EQU __Vectors_End - __Vectors
  214. 142 000000EC
  215. 143 000000EC AREA |.text|, CODE, READONLY
  216. 144 00000000
  217. 145 00000000 ; Reset handler
  218. 146 00000000 Reset_Handler
  219. PROC
  220. 147 00000000 EXPORT Reset_Handler [WEAK
  221. ]
  222. 148 00000000 IMPORT __main
  223. 149 00000000 IMPORT SystemInit
  224. 150 00000000 4806 LDR R0, =SystemInit
  225. 151 00000002 4780 BLX R0
  226. 152 00000004 4806 LDR R0, =__main
  227. 153 00000006 4700 BX R0
  228. 154 00000008 ENDP
  229. 155 00000008
  230. 156 00000008 ; Dummy Exception Handlers (infinite loops which can be
  231. modified)
  232. 157 00000008
  233. ARM Macro Assembler Page 5
  234. 158 00000008 NMI_Handler
  235. PROC
  236. 159 00000008 EXPORT NMI_Handler [WEA
  237. K]
  238. 160 00000008 E7FE B .
  239. 161 0000000A ENDP
  240. 163 0000000A HardFault_Handler
  241. PROC
  242. 164 0000000A EXPORT HardFault_Handler [WEA
  243. K]
  244. 165 0000000A E7FE B .
  245. 166 0000000C ENDP
  246. 168 0000000C MemManage_Handler
  247. PROC
  248. 169 0000000C EXPORT MemManage_Handler [WEA
  249. K]
  250. 170 0000000C E7FE B .
  251. 171 0000000E ENDP
  252. 173 0000000E BusFault_Handler
  253. PROC
  254. 174 0000000E EXPORT BusFault_Handler [WEA
  255. K]
  256. 175 0000000E E7FE B .
  257. 176 00000010 ENDP
  258. 178 00000010 UsageFault_Handler
  259. PROC
  260. 179 00000010 EXPORT UsageFault_Handler [WEA
  261. K]
  262. 180 00000010 E7FE B .
  263. 181 00000012 ENDP
  264. 182 00000012 SVC_Handler
  265. PROC
  266. 183 00000012 EXPORT SVC_Handler [WEA
  267. K]
  268. 184 00000012 E7FE B .
  269. 185 00000014 ENDP
  270. 187 00000014 DebugMon_Handler
  271. PROC
  272. 188 00000014 EXPORT DebugMon_Handler [WEA
  273. K]
  274. 189 00000014 E7FE B .
  275. 190 00000016 ENDP
  276. 191 00000016 PendSV_Handler
  277. PROC
  278. 192 00000016 EXPORT PendSV_Handler [WEA
  279. K]
  280. 193 00000016 E7FE B .
  281. 194 00000018 ENDP
  282. 195 00000018 SysTick_Handler
  283. PROC
  284. 196 00000018 EXPORT SysTick_Handler [WEA
  285. K]
  286. 197 00000018 E7FE B .
  287. 198 0000001A ENDP
  288. 199 0000001A
  289. 200 0000001A Default_Handler
  290. PROC
  291. 201 0000001A
  292. 202 0000001A EXPORT WWDG_IRQHandler [WEA
  293. ARM Macro Assembler Page 6
  294. K]
  295. 203 0000001A EXPORT PVD_IRQHandler [WEA
  296. K]
  297. 204 0000001A EXPORT TAMPER_IRQHandler [WEA
  298. K]
  299. 205 0000001A EXPORT RTC_IRQHandler [WEA
  300. K]
  301. 206 0000001A EXPORT FLASH_IRQHandler [WEA
  302. K]
  303. 207 0000001A EXPORT RCC_IRQHandler [WEA
  304. K]
  305. 208 0000001A EXPORT EXTI0_IRQHandler [WEA
  306. K]
  307. 209 0000001A EXPORT EXTI1_IRQHandler [WEA
  308. K]
  309. 210 0000001A EXPORT EXTI2_IRQHandler [WEA
  310. K]
  311. 211 0000001A EXPORT EXTI3_IRQHandler [WEA
  312. K]
  313. 212 0000001A EXPORT EXTI4_IRQHandler [WEA
  314. K]
  315. 213 0000001A EXPORT DMA1_Channel1_IRQHandler [WEA
  316. K]
  317. 214 0000001A EXPORT DMA1_Channel2_IRQHandler [WEA
  318. K]
  319. 215 0000001A EXPORT DMA1_Channel3_IRQHandler [WEA
  320. K]
  321. 216 0000001A EXPORT DMA1_Channel4_IRQHandler [WEA
  322. K]
  323. 217 0000001A EXPORT DMA1_Channel5_IRQHandler [WEA
  324. K]
  325. 218 0000001A EXPORT DMA1_Channel6_IRQHandler [WEA
  326. K]
  327. 219 0000001A EXPORT DMA1_Channel7_IRQHandler [WEA
  328. K]
  329. 220 0000001A EXPORT ADC1_2_IRQHandler [WEA
  330. K]
  331. 221 0000001A EXPORT USB_HP_CAN1_TX_IRQHandler [WEA
  332. K]
  333. 222 0000001A EXPORT USB_LP_CAN1_RX0_IRQHandler [WEA
  334. K]
  335. 223 0000001A EXPORT CAN1_RX1_IRQHandler [WEA
  336. K]
  337. 224 0000001A EXPORT CAN1_SCE_IRQHandler [WEA
  338. K]
  339. 225 0000001A EXPORT EXTI9_5_IRQHandler [WEA
  340. K]
  341. 226 0000001A EXPORT TIM1_BRK_IRQHandler [WEA
  342. K]
  343. 227 0000001A EXPORT TIM1_UP_IRQHandler [WEA
  344. K]
  345. 228 0000001A EXPORT TIM1_TRG_COM_IRQHandler [WEA
  346. K]
  347. 229 0000001A EXPORT TIM1_CC_IRQHandler [WEA
  348. K]
  349. 230 0000001A EXPORT TIM2_IRQHandler [WEA
  350. K]
  351. 231 0000001A EXPORT TIM3_IRQHandler [WEA
  352. K]
  353. ARM Macro Assembler Page 7
  354. 232 0000001A EXPORT TIM4_IRQHandler [WEA
  355. K]
  356. 233 0000001A EXPORT I2C1_EV_IRQHandler [WEA
  357. K]
  358. 234 0000001A EXPORT I2C1_ER_IRQHandler [WEA
  359. K]
  360. 235 0000001A EXPORT I2C2_EV_IRQHandler [WEA
  361. K]
  362. 236 0000001A EXPORT I2C2_ER_IRQHandler [WEA
  363. K]
  364. 237 0000001A EXPORT SPI1_IRQHandler [WEA
  365. K]
  366. 238 0000001A EXPORT SPI2_IRQHandler [WEA
  367. K]
  368. 239 0000001A EXPORT USART1_IRQHandler [WEA
  369. K]
  370. 240 0000001A EXPORT USART2_IRQHandler [WEA
  371. K]
  372. 241 0000001A EXPORT USART3_IRQHandler [WEA
  373. K]
  374. 242 0000001A EXPORT EXTI15_10_IRQHandler [WEA
  375. K]
  376. 243 0000001A EXPORT RTC_Alarm_IRQHandler [WE
  377. AK]
  378. 244 0000001A EXPORT USBWakeUp_IRQHandler [WEA
  379. K]
  380. 245 0000001A
  381. 246 0000001A WWDG_IRQHandler
  382. 247 0000001A PVD_IRQHandler
  383. 248 0000001A TAMPER_IRQHandler
  384. 249 0000001A RTC_IRQHandler
  385. 250 0000001A FLASH_IRQHandler
  386. 251 0000001A RCC_IRQHandler
  387. 252 0000001A EXTI0_IRQHandler
  388. 253 0000001A EXTI1_IRQHandler
  389. 254 0000001A EXTI2_IRQHandler
  390. 255 0000001A EXTI3_IRQHandler
  391. 256 0000001A EXTI4_IRQHandler
  392. 257 0000001A DMA1_Channel1_IRQHandler
  393. 258 0000001A DMA1_Channel2_IRQHandler
  394. 259 0000001A DMA1_Channel3_IRQHandler
  395. 260 0000001A DMA1_Channel4_IRQHandler
  396. 261 0000001A DMA1_Channel5_IRQHandler
  397. 262 0000001A DMA1_Channel6_IRQHandler
  398. 263 0000001A DMA1_Channel7_IRQHandler
  399. 264 0000001A ADC1_2_IRQHandler
  400. 265 0000001A USB_HP_CAN1_TX_IRQHandler
  401. 266 0000001A USB_LP_CAN1_RX0_IRQHandler
  402. 267 0000001A CAN1_RX1_IRQHandler
  403. 268 0000001A CAN1_SCE_IRQHandler
  404. 269 0000001A EXTI9_5_IRQHandler
  405. 270 0000001A TIM1_BRK_IRQHandler
  406. 271 0000001A TIM1_UP_IRQHandler
  407. 272 0000001A TIM1_TRG_COM_IRQHandler
  408. 273 0000001A TIM1_CC_IRQHandler
  409. 274 0000001A TIM2_IRQHandler
  410. 275 0000001A TIM3_IRQHandler
  411. 276 0000001A TIM4_IRQHandler
  412. 277 0000001A I2C1_EV_IRQHandler
  413. ARM Macro Assembler Page 8
  414. 278 0000001A I2C1_ER_IRQHandler
  415. 279 0000001A I2C2_EV_IRQHandler
  416. 280 0000001A I2C2_ER_IRQHandler
  417. 281 0000001A SPI1_IRQHandler
  418. 282 0000001A SPI2_IRQHandler
  419. 283 0000001A USART1_IRQHandler
  420. 284 0000001A USART2_IRQHandler
  421. 285 0000001A USART3_IRQHandler
  422. 286 0000001A EXTI15_10_IRQHandler
  423. 287 0000001A RTC_Alarm_IRQHandler
  424. 288 0000001A USBWakeUp_IRQHandler
  425. 289 0000001A
  426. 290 0000001A E7FE B .
  427. 291 0000001C
  428. 292 0000001C ENDP
  429. 293 0000001C
  430. 294 0000001C ALIGN
  431. 295 0000001C
  432. 296 0000001C ;*******************************************************
  433. ************************
  434. 297 0000001C ; User Stack and Heap initialization
  435. 298 0000001C ;*******************************************************
  436. ************************
  437. 299 0000001C IF :DEF:__MICROLIB
  438. 300 0000001C
  439. 301 0000001C EXPORT __initial_sp
  440. 302 0000001C EXPORT __heap_base
  441. 303 0000001C EXPORT __heap_limit
  442. 304 0000001C
  443. 305 0000001C ELSE
  444. 320 ENDIF
  445. 321 0000001C
  446. 322 0000001C END
  447. 00000000
  448. 00000000
  449. Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
  450. ork --depend=.\obj\startup_stm32f103xb.d -o.\obj\startup_stm32f103xb.o -ID:\A_m
  451. otinova\bootloader\motinova_QD007A_bootloader\MDK-ARM\RTE\_STM32F103C8T6_BOOTLO
  452. ADER_V1.0 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.0\CMSIS\Include -IC:\Keil_v5\ARM\
  453. PACK\Keil\STM32F1xx_DFP\2.1.0\Device\Include --predefine="__MICROLIB SETA 1" --
  454. predefine="__UVISION_VERSION SETA 522" --predefine="_RTE_ SETA 1" --predefine="
  455. STM32F10X_MD SETA 1" --list=startup_stm32f103xb.lst startup_stm32f103xb.s
  456. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  457. Relocatable symbols
  458. STACK 00000000
  459. Symbol: STACK
  460. Definitions
  461. At line 52 in file startup_stm32f103xb.s
  462. Uses
  463. None
  464. Comment: STACK unused
  465. Stack_Mem 00000000
  466. Symbol: Stack_Mem
  467. Definitions
  468. At line 53 in file startup_stm32f103xb.s
  469. Uses
  470. None
  471. Comment: Stack_Mem unused
  472. __initial_sp 00001000
  473. Symbol: __initial_sp
  474. Definitions
  475. At line 54 in file startup_stm32f103xb.s
  476. Uses
  477. At line 78 in file startup_stm32f103xb.s
  478. At line 301 in file startup_stm32f103xb.s
  479. 3 symbols
  480. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  481. Relocatable symbols
  482. HEAP 00000000
  483. Symbol: HEAP
  484. Definitions
  485. At line 63 in file startup_stm32f103xb.s
  486. Uses
  487. None
  488. Comment: HEAP unused
  489. Heap_Mem 00000000
  490. Symbol: Heap_Mem
  491. Definitions
  492. At line 65 in file startup_stm32f103xb.s
  493. Uses
  494. None
  495. Comment: Heap_Mem unused
  496. __heap_base 00000000
  497. Symbol: __heap_base
  498. Definitions
  499. At line 64 in file startup_stm32f103xb.s
  500. Uses
  501. At line 302 in file startup_stm32f103xb.s
  502. Comment: __heap_base used once
  503. __heap_limit 00000800
  504. Symbol: __heap_limit
  505. Definitions
  506. At line 66 in file startup_stm32f103xb.s
  507. Uses
  508. At line 303 in file startup_stm32f103xb.s
  509. Comment: __heap_limit used once
  510. 4 symbols
  511. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  512. Relocatable symbols
  513. RESET 00000000
  514. Symbol: RESET
  515. Definitions
  516. At line 73 in file startup_stm32f103xb.s
  517. Uses
  518. None
  519. Comment: RESET unused
  520. __Vectors 00000000
  521. Symbol: __Vectors
  522. Definitions
  523. At line 78 in file startup_stm32f103xb.s
  524. Uses
  525. At line 74 in file startup_stm32f103xb.s
  526. At line 141 in file startup_stm32f103xb.s
  527. __Vectors_End 000000EC
  528. Symbol: __Vectors_End
  529. Definitions
  530. At line 139 in file startup_stm32f103xb.s
  531. Uses
  532. At line 75 in file startup_stm32f103xb.s
  533. At line 141 in file startup_stm32f103xb.s
  534. 3 symbols
  535. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  536. Relocatable symbols
  537. .text 00000000
  538. Symbol: .text
  539. Definitions
  540. At line 143 in file startup_stm32f103xb.s
  541. Uses
  542. None
  543. Comment: .text unused
  544. ADC1_2_IRQHandler 0000001A
  545. Symbol: ADC1_2_IRQHandler
  546. Definitions
  547. At line 264 in file startup_stm32f103xb.s
  548. Uses
  549. At line 114 in file startup_stm32f103xb.s
  550. At line 220 in file startup_stm32f103xb.s
  551. BusFault_Handler 0000000E
  552. Symbol: BusFault_Handler
  553. Definitions
  554. At line 173 in file startup_stm32f103xb.s
  555. Uses
  556. At line 83 in file startup_stm32f103xb.s
  557. At line 174 in file startup_stm32f103xb.s
  558. CAN1_RX1_IRQHandler 0000001A
  559. Symbol: CAN1_RX1_IRQHandler
  560. Definitions
  561. At line 267 in file startup_stm32f103xb.s
  562. Uses
  563. At line 117 in file startup_stm32f103xb.s
  564. At line 223 in file startup_stm32f103xb.s
  565. CAN1_SCE_IRQHandler 0000001A
  566. Symbol: CAN1_SCE_IRQHandler
  567. Definitions
  568. At line 268 in file startup_stm32f103xb.s
  569. Uses
  570. At line 118 in file startup_stm32f103xb.s
  571. At line 224 in file startup_stm32f103xb.s
  572. DMA1_Channel1_IRQHandler 0000001A
  573. Symbol: DMA1_Channel1_IRQHandler
  574. Definitions
  575. At line 257 in file startup_stm32f103xb.s
  576. Uses
  577. At line 107 in file startup_stm32f103xb.s
  578. At line 213 in file startup_stm32f103xb.s
  579. DMA1_Channel2_IRQHandler 0000001A
  580. Symbol: DMA1_Channel2_IRQHandler
  581. Definitions
  582. At line 258 in file startup_stm32f103xb.s
  583. Uses
  584. ARM Macro Assembler Page 2 Alphabetic symbol ordering
  585. Relocatable symbols
  586. At line 108 in file startup_stm32f103xb.s
  587. At line 214 in file startup_stm32f103xb.s
  588. DMA1_Channel3_IRQHandler 0000001A
  589. Symbol: DMA1_Channel3_IRQHandler
  590. Definitions
  591. At line 259 in file startup_stm32f103xb.s
  592. Uses
  593. At line 109 in file startup_stm32f103xb.s
  594. At line 215 in file startup_stm32f103xb.s
  595. DMA1_Channel4_IRQHandler 0000001A
  596. Symbol: DMA1_Channel4_IRQHandler
  597. Definitions
  598. At line 260 in file startup_stm32f103xb.s
  599. Uses
  600. At line 110 in file startup_stm32f103xb.s
  601. At line 216 in file startup_stm32f103xb.s
  602. DMA1_Channel5_IRQHandler 0000001A
  603. Symbol: DMA1_Channel5_IRQHandler
  604. Definitions
  605. At line 261 in file startup_stm32f103xb.s
  606. Uses
  607. At line 111 in file startup_stm32f103xb.s
  608. At line 217 in file startup_stm32f103xb.s
  609. DMA1_Channel6_IRQHandler 0000001A
  610. Symbol: DMA1_Channel6_IRQHandler
  611. Definitions
  612. At line 262 in file startup_stm32f103xb.s
  613. Uses
  614. At line 112 in file startup_stm32f103xb.s
  615. At line 218 in file startup_stm32f103xb.s
  616. DMA1_Channel7_IRQHandler 0000001A
  617. Symbol: DMA1_Channel7_IRQHandler
  618. Definitions
  619. At line 263 in file startup_stm32f103xb.s
  620. Uses
  621. At line 113 in file startup_stm32f103xb.s
  622. At line 219 in file startup_stm32f103xb.s
  623. DebugMon_Handler 00000014
  624. Symbol: DebugMon_Handler
  625. Definitions
  626. At line 187 in file startup_stm32f103xb.s
  627. Uses
  628. At line 90 in file startup_stm32f103xb.s
  629. At line 188 in file startup_stm32f103xb.s
  630. Default_Handler 0000001A
  631. ARM Macro Assembler Page 3 Alphabetic symbol ordering
  632. Relocatable symbols
  633. Symbol: Default_Handler
  634. Definitions
  635. At line 200 in file startup_stm32f103xb.s
  636. Uses
  637. None
  638. Comment: Default_Handler unused
  639. EXTI0_IRQHandler 0000001A
  640. Symbol: EXTI0_IRQHandler
  641. Definitions
  642. At line 252 in file startup_stm32f103xb.s
  643. Uses
  644. At line 102 in file startup_stm32f103xb.s
  645. At line 208 in file startup_stm32f103xb.s
  646. EXTI15_10_IRQHandler 0000001A
  647. Symbol: EXTI15_10_IRQHandler
  648. Definitions
  649. At line 286 in file startup_stm32f103xb.s
  650. Uses
  651. At line 136 in file startup_stm32f103xb.s
  652. At line 242 in file startup_stm32f103xb.s
  653. EXTI1_IRQHandler 0000001A
  654. Symbol: EXTI1_IRQHandler
  655. Definitions
  656. At line 253 in file startup_stm32f103xb.s
  657. Uses
  658. At line 103 in file startup_stm32f103xb.s
  659. At line 209 in file startup_stm32f103xb.s
  660. EXTI2_IRQHandler 0000001A
  661. Symbol: EXTI2_IRQHandler
  662. Definitions
  663. At line 254 in file startup_stm32f103xb.s
  664. Uses
  665. At line 104 in file startup_stm32f103xb.s
  666. At line 210 in file startup_stm32f103xb.s
  667. EXTI3_IRQHandler 0000001A
  668. Symbol: EXTI3_IRQHandler
  669. Definitions
  670. At line 255 in file startup_stm32f103xb.s
  671. Uses
  672. At line 105 in file startup_stm32f103xb.s
  673. At line 211 in file startup_stm32f103xb.s
  674. EXTI4_IRQHandler 0000001A
  675. Symbol: EXTI4_IRQHandler
  676. Definitions
  677. At line 256 in file startup_stm32f103xb.s
  678. Uses
  679. At line 106 in file startup_stm32f103xb.s
  680. At line 212 in file startup_stm32f103xb.s
  681. ARM Macro Assembler Page 4 Alphabetic symbol ordering
  682. Relocatable symbols
  683. EXTI9_5_IRQHandler 0000001A
  684. Symbol: EXTI9_5_IRQHandler
  685. Definitions
  686. At line 269 in file startup_stm32f103xb.s
  687. Uses
  688. At line 119 in file startup_stm32f103xb.s
  689. At line 225 in file startup_stm32f103xb.s
  690. FLASH_IRQHandler 0000001A
  691. Symbol: FLASH_IRQHandler
  692. Definitions
  693. At line 250 in file startup_stm32f103xb.s
  694. Uses
  695. At line 100 in file startup_stm32f103xb.s
  696. At line 206 in file startup_stm32f103xb.s
  697. HardFault_Handler 0000000A
  698. Symbol: HardFault_Handler
  699. Definitions
  700. At line 163 in file startup_stm32f103xb.s
  701. Uses
  702. At line 81 in file startup_stm32f103xb.s
  703. At line 164 in file startup_stm32f103xb.s
  704. I2C1_ER_IRQHandler 0000001A
  705. Symbol: I2C1_ER_IRQHandler
  706. Definitions
  707. At line 278 in file startup_stm32f103xb.s
  708. Uses
  709. At line 128 in file startup_stm32f103xb.s
  710. At line 234 in file startup_stm32f103xb.s
  711. I2C1_EV_IRQHandler 0000001A
  712. Symbol: I2C1_EV_IRQHandler
  713. Definitions
  714. At line 277 in file startup_stm32f103xb.s
  715. Uses
  716. At line 127 in file startup_stm32f103xb.s
  717. At line 233 in file startup_stm32f103xb.s
  718. I2C2_ER_IRQHandler 0000001A
  719. Symbol: I2C2_ER_IRQHandler
  720. Definitions
  721. At line 280 in file startup_stm32f103xb.s
  722. Uses
  723. At line 130 in file startup_stm32f103xb.s
  724. At line 236 in file startup_stm32f103xb.s
  725. I2C2_EV_IRQHandler 0000001A
  726. Symbol: I2C2_EV_IRQHandler
  727. Definitions
  728. ARM Macro Assembler Page 5 Alphabetic symbol ordering
  729. Relocatable symbols
  730. At line 279 in file startup_stm32f103xb.s
  731. Uses
  732. At line 129 in file startup_stm32f103xb.s
  733. At line 235 in file startup_stm32f103xb.s
  734. MemManage_Handler 0000000C
  735. Symbol: MemManage_Handler
  736. Definitions
  737. At line 168 in file startup_stm32f103xb.s
  738. Uses
  739. At line 82 in file startup_stm32f103xb.s
  740. At line 169 in file startup_stm32f103xb.s
  741. NMI_Handler 00000008
  742. Symbol: NMI_Handler
  743. Definitions
  744. At line 158 in file startup_stm32f103xb.s
  745. Uses
  746. At line 80 in file startup_stm32f103xb.s
  747. At line 159 in file startup_stm32f103xb.s
  748. PVD_IRQHandler 0000001A
  749. Symbol: PVD_IRQHandler
  750. Definitions
  751. At line 247 in file startup_stm32f103xb.s
  752. Uses
  753. At line 97 in file startup_stm32f103xb.s
  754. At line 203 in file startup_stm32f103xb.s
  755. PendSV_Handler 00000016
  756. Symbol: PendSV_Handler
  757. Definitions
  758. At line 191 in file startup_stm32f103xb.s
  759. Uses
  760. At line 92 in file startup_stm32f103xb.s
  761. At line 192 in file startup_stm32f103xb.s
  762. RCC_IRQHandler 0000001A
  763. Symbol: RCC_IRQHandler
  764. Definitions
  765. At line 251 in file startup_stm32f103xb.s
  766. Uses
  767. At line 101 in file startup_stm32f103xb.s
  768. At line 207 in file startup_stm32f103xb.s
  769. RTC_Alarm_IRQHandler 0000001A
  770. Symbol: RTC_Alarm_IRQHandler
  771. Definitions
  772. At line 287 in file startup_stm32f103xb.s
  773. Uses
  774. At line 137 in file startup_stm32f103xb.s
  775. At line 243 in file startup_stm32f103xb.s
  776. ARM Macro Assembler Page 6 Alphabetic symbol ordering
  777. Relocatable symbols
  778. RTC_IRQHandler 0000001A
  779. Symbol: RTC_IRQHandler
  780. Definitions
  781. At line 249 in file startup_stm32f103xb.s
  782. Uses
  783. At line 99 in file startup_stm32f103xb.s
  784. At line 205 in file startup_stm32f103xb.s
  785. Reset_Handler 00000000
  786. Symbol: Reset_Handler
  787. Definitions
  788. At line 146 in file startup_stm32f103xb.s
  789. Uses
  790. At line 79 in file startup_stm32f103xb.s
  791. At line 147 in file startup_stm32f103xb.s
  792. SPI1_IRQHandler 0000001A
  793. Symbol: SPI1_IRQHandler
  794. Definitions
  795. At line 281 in file startup_stm32f103xb.s
  796. Uses
  797. At line 131 in file startup_stm32f103xb.s
  798. At line 237 in file startup_stm32f103xb.s
  799. SPI2_IRQHandler 0000001A
  800. Symbol: SPI2_IRQHandler
  801. Definitions
  802. At line 282 in file startup_stm32f103xb.s
  803. Uses
  804. At line 132 in file startup_stm32f103xb.s
  805. At line 238 in file startup_stm32f103xb.s
  806. SVC_Handler 00000012
  807. Symbol: SVC_Handler
  808. Definitions
  809. At line 182 in file startup_stm32f103xb.s
  810. Uses
  811. At line 89 in file startup_stm32f103xb.s
  812. At line 183 in file startup_stm32f103xb.s
  813. SysTick_Handler 00000018
  814. Symbol: SysTick_Handler
  815. Definitions
  816. At line 195 in file startup_stm32f103xb.s
  817. Uses
  818. At line 93 in file startup_stm32f103xb.s
  819. At line 196 in file startup_stm32f103xb.s
  820. TAMPER_IRQHandler 0000001A
  821. Symbol: TAMPER_IRQHandler
  822. Definitions
  823. At line 248 in file startup_stm32f103xb.s
  824. ARM Macro Assembler Page 7 Alphabetic symbol ordering
  825. Relocatable symbols
  826. Uses
  827. At line 98 in file startup_stm32f103xb.s
  828. At line 204 in file startup_stm32f103xb.s
  829. TIM1_BRK_IRQHandler 0000001A
  830. Symbol: TIM1_BRK_IRQHandler
  831. Definitions
  832. At line 270 in file startup_stm32f103xb.s
  833. Uses
  834. At line 120 in file startup_stm32f103xb.s
  835. At line 226 in file startup_stm32f103xb.s
  836. TIM1_CC_IRQHandler 0000001A
  837. Symbol: TIM1_CC_IRQHandler
  838. Definitions
  839. At line 273 in file startup_stm32f103xb.s
  840. Uses
  841. At line 123 in file startup_stm32f103xb.s
  842. At line 229 in file startup_stm32f103xb.s
  843. TIM1_TRG_COM_IRQHandler 0000001A
  844. Symbol: TIM1_TRG_COM_IRQHandler
  845. Definitions
  846. At line 272 in file startup_stm32f103xb.s
  847. Uses
  848. At line 122 in file startup_stm32f103xb.s
  849. At line 228 in file startup_stm32f103xb.s
  850. TIM1_UP_IRQHandler 0000001A
  851. Symbol: TIM1_UP_IRQHandler
  852. Definitions
  853. At line 271 in file startup_stm32f103xb.s
  854. Uses
  855. At line 121 in file startup_stm32f103xb.s
  856. At line 227 in file startup_stm32f103xb.s
  857. TIM2_IRQHandler 0000001A
  858. Symbol: TIM2_IRQHandler
  859. Definitions
  860. At line 274 in file startup_stm32f103xb.s
  861. Uses
  862. At line 124 in file startup_stm32f103xb.s
  863. At line 230 in file startup_stm32f103xb.s
  864. TIM3_IRQHandler 0000001A
  865. Symbol: TIM3_IRQHandler
  866. Definitions
  867. At line 275 in file startup_stm32f103xb.s
  868. Uses
  869. At line 125 in file startup_stm32f103xb.s
  870. At line 231 in file startup_stm32f103xb.s
  871. TIM4_IRQHandler 0000001A
  872. ARM Macro Assembler Page 8 Alphabetic symbol ordering
  873. Relocatable symbols
  874. Symbol: TIM4_IRQHandler
  875. Definitions
  876. At line 276 in file startup_stm32f103xb.s
  877. Uses
  878. At line 126 in file startup_stm32f103xb.s
  879. At line 232 in file startup_stm32f103xb.s
  880. USART1_IRQHandler 0000001A
  881. Symbol: USART1_IRQHandler
  882. Definitions
  883. At line 283 in file startup_stm32f103xb.s
  884. Uses
  885. At line 133 in file startup_stm32f103xb.s
  886. At line 239 in file startup_stm32f103xb.s
  887. USART2_IRQHandler 0000001A
  888. Symbol: USART2_IRQHandler
  889. Definitions
  890. At line 284 in file startup_stm32f103xb.s
  891. Uses
  892. At line 134 in file startup_stm32f103xb.s
  893. At line 240 in file startup_stm32f103xb.s
  894. USART3_IRQHandler 0000001A
  895. Symbol: USART3_IRQHandler
  896. Definitions
  897. At line 285 in file startup_stm32f103xb.s
  898. Uses
  899. At line 135 in file startup_stm32f103xb.s
  900. At line 241 in file startup_stm32f103xb.s
  901. USBWakeUp_IRQHandler 0000001A
  902. Symbol: USBWakeUp_IRQHandler
  903. Definitions
  904. At line 288 in file startup_stm32f103xb.s
  905. Uses
  906. At line 138 in file startup_stm32f103xb.s
  907. At line 244 in file startup_stm32f103xb.s
  908. USB_HP_CAN1_TX_IRQHandler 0000001A
  909. Symbol: USB_HP_CAN1_TX_IRQHandler
  910. Definitions
  911. At line 265 in file startup_stm32f103xb.s
  912. Uses
  913. At line 115 in file startup_stm32f103xb.s
  914. At line 221 in file startup_stm32f103xb.s
  915. USB_LP_CAN1_RX0_IRQHandler 0000001A
  916. Symbol: USB_LP_CAN1_RX0_IRQHandler
  917. Definitions
  918. At line 266 in file startup_stm32f103xb.s
  919. Uses
  920. ARM Macro Assembler Page 9 Alphabetic symbol ordering
  921. Relocatable symbols
  922. At line 116 in file startup_stm32f103xb.s
  923. At line 222 in file startup_stm32f103xb.s
  924. UsageFault_Handler 00000010
  925. Symbol: UsageFault_Handler
  926. Definitions
  927. At line 178 in file startup_stm32f103xb.s
  928. Uses
  929. At line 84 in file startup_stm32f103xb.s
  930. At line 179 in file startup_stm32f103xb.s
  931. WWDG_IRQHandler 0000001A
  932. Symbol: WWDG_IRQHandler
  933. Definitions
  934. At line 246 in file startup_stm32f103xb.s
  935. Uses
  936. At line 96 in file startup_stm32f103xb.s
  937. At line 202 in file startup_stm32f103xb.s
  938. 55 symbols
  939. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  940. Absolute symbols
  941. Heap_Size 00000800
  942. Symbol: Heap_Size
  943. Definitions
  944. At line 61 in file startup_stm32f103xb.s
  945. Uses
  946. At line 65 in file startup_stm32f103xb.s
  947. Comment: Heap_Size used once
  948. Stack_Size 00001000
  949. Symbol: Stack_Size
  950. Definitions
  951. At line 50 in file startup_stm32f103xb.s
  952. Uses
  953. At line 53 in file startup_stm32f103xb.s
  954. Comment: Stack_Size used once
  955. __Vectors_Size 000000EC
  956. Symbol: __Vectors_Size
  957. Definitions
  958. At line 141 in file startup_stm32f103xb.s
  959. Uses
  960. At line 76 in file startup_stm32f103xb.s
  961. Comment: __Vectors_Size used once
  962. 3 symbols
  963. ARM Macro Assembler Page 1 Alphabetic symbol ordering
  964. External symbols
  965. SystemInit 00000000
  966. Symbol: SystemInit
  967. Definitions
  968. At line 149 in file startup_stm32f103xb.s
  969. Uses
  970. At line 150 in file startup_stm32f103xb.s
  971. Comment: SystemInit used once
  972. __main 00000000
  973. Symbol: __main
  974. Definitions
  975. At line 148 in file startup_stm32f103xb.s
  976. Uses
  977. At line 152 in file startup_stm32f103xb.s
  978. Comment: __main used once
  979. 2 symbols
  980. 406 symbols in table