891 lines
42 KiB
Plaintext
891 lines
42 KiB
Plaintext
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1
|
||
|
|
||
|
|
||
|
1 00000000 ; <<< Use Configuration Wizard in Context Menu >>>
|
||
|
2 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
3 00000000 ;
|
||
|
4 00000000 ; startup_rvmdk.S - Startup code for use with Keil's uVi
|
||
|
sion.
|
||
|
5 00000000 ;
|
||
|
6 00000000 ; Copyright (c) 2013-2017 Texas Instruments Incorporated
|
||
|
. All rights reserved.
|
||
|
7 00000000 ; Software License Agreement
|
||
|
8 00000000 ;
|
||
|
9 00000000 ; Texas Instruments (TI) is supplying this software for
|
||
|
use solely and
|
||
|
10 00000000 ; exclusively on TI's microcontroller products. The soft
|
||
|
ware is owned by
|
||
|
11 00000000 ; TI and/or its suppliers, and is protected under applic
|
||
|
able copyright
|
||
|
12 00000000 ; laws. You may not combine this software with "viral" o
|
||
|
pen-source
|
||
|
13 00000000 ; software in order to form a larger program.
|
||
|
14 00000000 ;
|
||
|
15 00000000 ; THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
|
||
|
|
||
|
16 00000000 ; NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY,
|
||
|
INCLUDING, BUT
|
||
|
17 00000000 ; NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
AND FITNESS FOR
|
||
|
18 00000000 ; A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL
|
||
|
NOT, UNDER ANY
|
||
|
19 00000000 ; CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR C
|
||
|
ONSEQUENTIAL
|
||
|
20 00000000 ; DAMAGES, FOR ANY REASON WHATSOEVER.
|
||
|
21 00000000 ;
|
||
|
22 00000000 ; This is part of revision 2.1.4.178 of the DK-TM4C129X
|
||
|
Firmware Package.
|
||
|
23 00000000 ;
|
||
|
24 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
25 00000000
|
||
|
26 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
27 00000000 ;
|
||
|
28 00000000 ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||
|
29 00000000 ;
|
||
|
30 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
31 00000000 00000200
|
||
|
Stack EQU 0x00000200
|
||
|
32 00000000
|
||
|
33 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
34 00000000 ;
|
||
|
35 00000000 ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||
|
36 00000000 ;
|
||
|
37 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
38 00000000 00000000
|
||
|
Heap EQU 0x00000000
|
||
|
39 00000000
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 2
|
||
|
|
||
|
|
||
|
40 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
41 00000000 ;
|
||
|
42 00000000 ; Allocate space for the stack.
|
||
|
43 00000000 ;
|
||
|
44 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
45 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
|
||
|
=3
|
||
|
46 00000000 StackMem
|
||
|
47 00000000 SPACE Stack
|
||
|
48 00000200 __initial_sp
|
||
|
49 00000200
|
||
|
50 00000200 ;*******************************************************
|
||
|
***********************
|
||
|
51 00000200 ;
|
||
|
52 00000200 ; Allocate space for the heap.
|
||
|
53 00000200 ;
|
||
|
54 00000200 ;*******************************************************
|
||
|
***********************
|
||
|
55 00000200 AREA HEAP, NOINIT, READWRITE, ALIGN=
|
||
|
3
|
||
|
56 00000000 __heap_base
|
||
|
57 00000000 HeapMem
|
||
|
58 00000000 SPACE Heap
|
||
|
59 00000000 __heap_limit
|
||
|
60 00000000
|
||
|
61 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
62 00000000 ;
|
||
|
63 00000000 ; Indicate that the code in this file preserves 8-byte a
|
||
|
lignment of the stack.
|
||
|
64 00000000 ;
|
||
|
65 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
66 00000000 PRESERVE8
|
||
|
67 00000000
|
||
|
68 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
69 00000000 ;
|
||
|
70 00000000 ; Place code into the reset code section.
|
||
|
71 00000000 ;
|
||
|
72 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
73 00000000 AREA RESET, CODE, READONLY
|
||
|
74 00000000 THUMB
|
||
|
75 00000000
|
||
|
76 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
77 00000000 ;
|
||
|
78 00000000 ; The vector table.
|
||
|
79 00000000 ;
|
||
|
80 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
81 00000000 EXPORT __Vectors
|
||
|
82 00000000 __Vectors
|
||
|
83 00000000 00000200 DCD StackMem + Stack ; Top of Stack
|
||
|
|
||
|
84 00000004 00000000 DCD Reset_Handler ; Reset Handler
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 3
|
||
|
|
||
|
|
||
|
85 00000008 00000000 DCD NmiSR ; NMI Handler
|
||
|
86 0000000C 00000000 DCD FaultISR ; Hard Fault Handle
|
||
|
r
|
||
|
87 00000010 00000000 DCD IntDefaultHandler ; The MPU fau
|
||
|
lt handler
|
||
|
88 00000014 00000000 DCD IntDefaultHandler ; The bus fau
|
||
|
lt handler
|
||
|
89 00000018 00000000 DCD IntDefaultHandler ; The usage f
|
||
|
ault handler
|
||
|
90 0000001C 00000000 DCD 0 ; Reserved
|
||
|
91 00000020 00000000 DCD 0 ; Reserved
|
||
|
92 00000024 00000000 DCD 0 ; Reserved
|
||
|
93 00000028 00000000 DCD 0 ; Reserved
|
||
|
94 0000002C 00000000 DCD IntDefaultHandler
|
||
|
; SVCall handler
|
||
|
95 00000030 00000000 DCD IntDefaultHandler ; Debug monit
|
||
|
or handler
|
||
|
96 00000034 00000000 DCD 0 ; Reserved
|
||
|
97 00000038 00000000 DCD IntDefaultHandler ; The PendSV
|
||
|
handler
|
||
|
98 0000003C 00000000 DCD IntDefaultHandler ; The SysTick
|
||
|
handler
|
||
|
99 00000040 00000000 DCD IntDefaultHandler ; GPIO Port A
|
||
|
|
||
|
100 00000044 00000000 DCD IntDefaultHandler ; GPIO Port B
|
||
|
|
||
|
101 00000048 00000000 DCD IntDefaultHandler ; GPIO Port C
|
||
|
|
||
|
102 0000004C 00000000 DCD IntDefaultHandler ; GPIO Port D
|
||
|
|
||
|
103 00000050 00000000 DCD IntDefaultHandler ; GPIO Port E
|
||
|
|
||
|
104 00000054 00000000 DCD IntDefaultHandler
|
||
|
; UART0 Rx and Tx
|
||
|
105 00000058 00000000 DCD IntDefaultHandler
|
||
|
; UART1 Rx and Tx
|
||
|
106 0000005C 00000000 DCD IntDefaultHandler
|
||
|
; SSI0 Rx and Tx
|
||
|
107 00000060 00000000 DCD IntDefaultHandler ; I2C0 Master
|
||
|
and Slave
|
||
|
108 00000064 00000000 DCD IntDefaultHandler ; PWM Fault
|
||
|
109 00000068 00000000 DCD IntDefaultHandler
|
||
|
; PWM Generator 0
|
||
|
110 0000006C 00000000 DCD IntDefaultHandler
|
||
|
; PWM Generator 1
|
||
|
111 00000070 00000000 DCD IntDefaultHandler
|
||
|
; PWM Generator 2
|
||
|
112 00000074 00000000 DCD IntDefaultHandler ; Quadrature
|
||
|
Encoder 0
|
||
|
113 00000078 00000000 DCD IntDefaultHandler
|
||
|
; ADC Sequence 0
|
||
|
114 0000007C 00000000 DCD IntDefaultHandler
|
||
|
; ADC Sequence 1
|
||
|
115 00000080 00000000 DCD IntDefaultHandler
|
||
|
; ADC Sequence 2
|
||
|
116 00000084 00000000 DCD IntDefaultHandler
|
||
|
; ADC Sequence 3
|
||
|
117 00000088 00000000 DCD IntDefaultHandler
|
||
|
; Watchdog timer
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 4
|
||
|
|
||
|
|
||
|
118 0000008C 00000000 DCD IntDefaultHandler ; Timer 0 sub
|
||
|
timer A
|
||
|
119 00000090 00000000 DCD IntDefaultHandler ; Timer 0 sub
|
||
|
timer B
|
||
|
120 00000094 00000000 DCD IntDefaultHandler ; Timer 1 sub
|
||
|
timer A
|
||
|
121 00000098 00000000 DCD IntDefaultHandler ; Timer 1 sub
|
||
|
timer B
|
||
|
122 0000009C 00000000 DCD IntDefaultHandler ; Timer 2 sub
|
||
|
timer A
|
||
|
123 000000A0 00000000 DCD IntDefaultHandler ; Timer 2 sub
|
||
|
timer B
|
||
|
124 000000A4 00000000 DCD IntDefaultHandler ; Analog Comp
|
||
|
arator 0
|
||
|
125 000000A8 00000000 DCD IntDefaultHandler ; Analog Comp
|
||
|
arator 1
|
||
|
126 000000AC 00000000 DCD IntDefaultHandler ; Analog Comp
|
||
|
arator 2
|
||
|
127 000000B0 00000000 DCD IntDefaultHandler ; System Cont
|
||
|
rol (PLL, OSC, BO)
|
||
|
128 000000B4 00000000 DCD IntDefaultHandler
|
||
|
; FLASH Control
|
||
|
129 000000B8 00000000 DCD IntDefaultHandler ; GPIO Port F
|
||
|
|
||
|
130 000000BC 00000000 DCD IntDefaultHandler ; GPIO Port G
|
||
|
|
||
|
131 000000C0 00000000 DCD IntDefaultHandler ; GPIO Port H
|
||
|
|
||
|
132 000000C4 00000000 DCD IntDefaultHandler
|
||
|
; UART2 Rx and Tx
|
||
|
133 000000C8 00000000 DCD IntDefaultHandler
|
||
|
; SSI1 Rx and Tx
|
||
|
134 000000CC 00000000 DCD IntDefaultHandler ; Timer 3 sub
|
||
|
timer A
|
||
|
135 000000D0 00000000 DCD IntDefaultHandler ; Timer 3 sub
|
||
|
timer B
|
||
|
136 000000D4 00000000 DCD IntDefaultHandler ; I2C1 Master
|
||
|
and Slave
|
||
|
137 000000D8 00000000 DCD IntDefaultHandler ; CAN0
|
||
|
138 000000DC 00000000 DCD IntDefaultHandler ; CAN1
|
||
|
139 000000E0 00000000 DCD IntDefaultHandler ; Ethernet
|
||
|
140 000000E4 00000000 DCD IntDefaultHandler ; Hibernate
|
||
|
141 000000E8 00000000 DCD IntDefaultHandler ; USB0
|
||
|
142 000000EC 00000000 DCD IntDefaultHandler
|
||
|
; PWM Generator 3
|
||
|
143 000000F0 00000000 DCD IntDefaultHandler ; uDMA Softwa
|
||
|
re Transfer
|
||
|
144 000000F4 00000000 DCD IntDefaultHandler ; uDMA Error
|
||
|
145 000000F8 00000000 DCD IntDefaultHandler
|
||
|
; ADC1 Sequence 0
|
||
|
146 000000FC 00000000 DCD IntDefaultHandler
|
||
|
; ADC1 Sequence 1
|
||
|
147 00000100 00000000 DCD IntDefaultHandler
|
||
|
; ADC1 Sequence 2
|
||
|
148 00000104 00000000 DCD IntDefaultHandler
|
||
|
; ADC1 Sequence 3
|
||
|
149 00000108 00000000 DCD IntDefaultHandler ; External Bu
|
||
|
s Interface 0
|
||
|
150 0000010C 00000000 DCD IntDefaultHandler ; GPIO Port J
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 5
|
||
|
|
||
|
|
||
|
|
||
|
151 00000110 00000000 DCD IntDefaultHandler ; GPIO Port K
|
||
|
|
||
|
152 00000114 00000000 DCD IntDefaultHandler ; GPIO Port L
|
||
|
|
||
|
153 00000118 00000000 DCD IntDefaultHandler
|
||
|
; SSI2 Rx and Tx
|
||
|
154 0000011C 00000000 DCD IntDefaultHandler
|
||
|
; SSI3 Rx and Tx
|
||
|
155 00000120 00000000 DCD IntDefaultHandler
|
||
|
; UART3 Rx and Tx
|
||
|
156 00000124 00000000 DCD IntDefaultHandler
|
||
|
; UART4 Rx and Tx
|
||
|
157 00000128 00000000 DCD IntDefaultHandler
|
||
|
; UART5 Rx and Tx
|
||
|
158 0000012C 00000000 DCD IntDefaultHandler
|
||
|
; UART6 Rx and Tx
|
||
|
159 00000130 00000000 DCD IntDefaultHandler
|
||
|
; UART7 Rx and Tx
|
||
|
160 00000134 00000000 DCD IntDefaultHandler ; I2C2 Master
|
||
|
and Slave
|
||
|
161 00000138 00000000 DCD IntDefaultHandler ; I2C3 Master
|
||
|
and Slave
|
||
|
162 0000013C 00000000 DCD IntDefaultHandler ; Timer 4 sub
|
||
|
timer A
|
||
|
163 00000140 00000000 DCD IntDefaultHandler ; Timer 4 sub
|
||
|
timer B
|
||
|
164 00000144 00000000 DCD IntDefaultHandler ; Timer 5 sub
|
||
|
timer A
|
||
|
165 00000148 00000000 DCD IntDefaultHandler ; Timer 5 sub
|
||
|
timer B
|
||
|
166 0000014C 00000000 DCD IntDefaultHandler ; FPU
|
||
|
167 00000150 00000000 DCD 0 ; Reserved
|
||
|
168 00000154 00000000 DCD 0 ; Reserved
|
||
|
169 00000158 00000000 DCD IntDefaultHandler ; I2C4 Master
|
||
|
and Slave
|
||
|
170 0000015C 00000000 DCD IntDefaultHandler ; I2C5 Master
|
||
|
and Slave
|
||
|
171 00000160 00000000 DCD IntDefaultHandler ; GPIO Port M
|
||
|
|
||
|
172 00000164 00000000 DCD IntDefaultHandler ; GPIO Port N
|
||
|
|
||
|
173 00000168 00000000 DCD 0 ; Reserved
|
||
|
174 0000016C 00000000 DCD IntDefaultHandler ; Tamper
|
||
|
175 00000170 00000000 DCD IntDefaultHandler ; GPIO Port P
|
||
|
(Summary or P0)
|
||
|
176 00000174 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P1
|
||
|
177 00000178 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P2
|
||
|
178 0000017C 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P3
|
||
|
179 00000180 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P4
|
||
|
180 00000184 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P5
|
||
|
181 00000188 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port P6
|
||
|
182 0000018C 00000000 DCD IntDefaultHandler
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 6
|
||
|
|
||
|
|
||
|
; GPIO Port P7
|
||
|
183 00000190 00000000 DCD IntDefaultHandler ; GPIO Port Q
|
||
|
(Summary or Q0)
|
||
|
184 00000194 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q1
|
||
|
185 00000198 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q2
|
||
|
186 0000019C 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q3
|
||
|
187 000001A0 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q4
|
||
|
188 000001A4 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q5
|
||
|
189 000001A8 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q6
|
||
|
190 000001AC 00000000 DCD IntDefaultHandler
|
||
|
; GPIO Port Q7
|
||
|
191 000001B0 00000000 DCD IntDefaultHandler ; GPIO Port R
|
||
|
|
||
|
192 000001B4 00000000 DCD IntDefaultHandler ; GPIO Port S
|
||
|
|
||
|
193 000001B8 00000000 DCD IntDefaultHandler ; SHA/MD5 0
|
||
|
194 000001BC 00000000 DCD IntDefaultHandler ; AES 0
|
||
|
195 000001C0 00000000 DCD IntDefaultHandler ; DES3DES 0
|
||
|
196 000001C4 00000000 DCD IntDefaultHandler
|
||
|
; LCD Controller 0
|
||
|
197 000001C8 00000000 DCD IntDefaultHandler ; Timer 6 sub
|
||
|
timer A
|
||
|
198 000001CC 00000000 DCD IntDefaultHandler ; Timer 6 sub
|
||
|
timer B
|
||
|
199 000001D0 00000000 DCD IntDefaultHandler ; Timer 7 sub
|
||
|
timer A
|
||
|
200 000001D4 00000000 DCD IntDefaultHandler ; Timer 7 sub
|
||
|
timer B
|
||
|
201 000001D8 00000000 DCD IntDefaultHandler ; I2C6 Master
|
||
|
and Slave
|
||
|
202 000001DC 00000000 DCD IntDefaultHandler ; I2C7 Master
|
||
|
and Slave
|
||
|
203 000001E0 00000000 DCD IntDefaultHandler ; HIM Scan Ma
|
||
|
trix Keyboard 0
|
||
|
204 000001E4 00000000 DCD IntDefaultHandler ; One Wire 0
|
||
|
205 000001E8 00000000 DCD IntDefaultHandler ; HIM PS/2 0
|
||
|
206 000001EC 00000000 DCD IntDefaultHandler ; HIM LED Seq
|
||
|
uencer 0
|
||
|
207 000001F0 00000000 DCD IntDefaultHandler
|
||
|
; HIM Consumer IR 0
|
||
|
|
||
|
208 000001F4 00000000 DCD IntDefaultHandler ; I2C8 Master
|
||
|
and Slave
|
||
|
209 000001F8 00000000 DCD IntDefaultHandler ; I2C9 Master
|
||
|
and Slave
|
||
|
210 000001FC 00000000 DCD IntDefaultHandler ; GPIO Port T
|
||
|
|
||
|
211 00000200
|
||
|
212 00000200 ;*******************************************************
|
||
|
***********************
|
||
|
213 00000200 ;
|
||
|
214 00000200 ; This is the code that gets called when the processor f
|
||
|
irst starts execution
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 7
|
||
|
|
||
|
|
||
|
215 00000200 ; following a reset event.
|
||
|
216 00000200 ;
|
||
|
217 00000200 ;*******************************************************
|
||
|
***********************
|
||
|
218 00000200 EXPORT Reset_Handler
|
||
|
219 00000200 Reset_Handler
|
||
|
220 00000200 ;
|
||
|
221 00000200 ; Enable the floating-point unit. This must be done her
|
||
|
e to handle the
|
||
|
222 00000200 ; case where main() uses floating-point and the function
|
||
|
prologue saves
|
||
|
223 00000200 ; floating-point registers (which will fault if floating
|
||
|
-point is not
|
||
|
224 00000200 ; enabled). Any configuration of the floating-point uni
|
||
|
t using
|
||
|
225 00000200 ; DriverLib APIs must be done here prior to the floating
|
||
|
-point unit
|
||
|
226 00000200 ; being enabled.
|
||
|
227 00000200 ;
|
||
|
228 00000200 ; Note that this does not use DriverLib since it might n
|
||
|
ot be included
|
||
|
229 00000200 ; in this project.
|
||
|
230 00000200 ;
|
||
|
231 00000200 F64E 5088 MOVW R0, #0xED88
|
||
|
232 00000204 F2CE 0000 MOVT R0, #0xE000
|
||
|
233 00000208 6801 LDR R1, [R0]
|
||
|
234 0000020A F441 0170 ORR R1, #0x00F00000
|
||
|
235 0000020E 6001 STR R1, [R0]
|
||
|
236 00000210
|
||
|
237 00000210 ;
|
||
|
238 00000210 ; Call the C library enty point that handles startup. T
|
||
|
his will copy
|
||
|
239 00000210 ; the .data section initializers from flash to SRAM and
|
||
|
zero fill the
|
||
|
240 00000210 ; .bss section.
|
||
|
241 00000210 ;
|
||
|
242 00000210 IMPORT __main
|
||
|
243 00000210 F7FF BFFE B __main
|
||
|
244 00000214
|
||
|
245 00000214 ;*******************************************************
|
||
|
***********************
|
||
|
246 00000214 ;
|
||
|
247 00000214 ; This is the code that gets called when the processor r
|
||
|
eceives a NMI. This
|
||
|
248 00000214 ; simply enters an infinite loop, preserving the system
|
||
|
state for examination
|
||
|
249 00000214 ; by a debugger.
|
||
|
250 00000214 ;
|
||
|
251 00000214 ;*******************************************************
|
||
|
***********************
|
||
|
252 00000214 NmiSR
|
||
|
253 00000214 E7FE B NmiSR
|
||
|
254 00000216
|
||
|
255 00000216 ;*******************************************************
|
||
|
***********************
|
||
|
256 00000216 ;
|
||
|
257 00000216 ; This is the code that gets called when the processor r
|
||
|
eceives a fault
|
||
|
258 00000216 ; interrupt. This simply enters an infinite loop, prese
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 8
|
||
|
|
||
|
|
||
|
rving the system state
|
||
|
259 00000216 ; for examination by a debugger.
|
||
|
260 00000216 ;
|
||
|
261 00000216 ;*******************************************************
|
||
|
***********************
|
||
|
262 00000216 FaultISR
|
||
|
263 00000216 E7FE B FaultISR
|
||
|
264 00000218
|
||
|
265 00000218 ;*******************************************************
|
||
|
***********************
|
||
|
266 00000218 ;
|
||
|
267 00000218 ; This is the code that gets called when the processor r
|
||
|
eceives an unexpected
|
||
|
268 00000218 ; interrupt. This simply enters an infinite loop, prese
|
||
|
rving the system state
|
||
|
269 00000218 ; for examination by a debugger.
|
||
|
270 00000218 ;
|
||
|
271 00000218 ;*******************************************************
|
||
|
***********************
|
||
|
272 00000218 IntDefaultHandler
|
||
|
273 00000218 E7FE B IntDefaultHandler
|
||
|
274 0000021A
|
||
|
275 0000021A ;*******************************************************
|
||
|
***********************
|
||
|
276 0000021A ;
|
||
|
277 0000021A ; Make sure the end of this section is aligned.
|
||
|
278 0000021A ;
|
||
|
279 0000021A ;*******************************************************
|
||
|
***********************
|
||
|
280 0000021A 00 00 ALIGN
|
||
|
281 0000021C
|
||
|
282 0000021C ;*******************************************************
|
||
|
***********************
|
||
|
283 0000021C ;
|
||
|
284 0000021C ; Some code in the normal code section for initializing
|
||
|
the heap and stack.
|
||
|
285 0000021C ;
|
||
|
286 0000021C ;*******************************************************
|
||
|
***********************
|
||
|
287 0000021C AREA |.text|, CODE, READONLY
|
||
|
288 00000000
|
||
|
289 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
290 00000000 ;
|
||
|
291 00000000 ; The function expected of the C library startup code fo
|
||
|
r defining the stack
|
||
|
292 00000000 ; and heap memory locations. For the C library version
|
||
|
of the startup code,
|
||
|
293 00000000 ; provide this function so that the C library initializa
|
||
|
tion code can find out
|
||
|
294 00000000 ; the location of the stack and heap.
|
||
|
295 00000000 ;
|
||
|
296 00000000 ;*******************************************************
|
||
|
***********************
|
||
|
297 00000000 IF :DEF: __MICROLIB
|
||
|
302 00000000 IMPORT __use_two_region_memory
|
||
|
303 00000000 EXPORT __user_initial_stackheap
|
||
|
304 00000000 __user_initial_stackheap
|
||
|
305 00000000 4802 LDR R0, =HeapMem
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 9
|
||
|
|
||
|
|
||
|
306 00000002 4903 LDR R1, =(StackMem + Stack)
|
||
|
307 00000004 4A01 LDR R2, =(HeapMem + Heap)
|
||
|
308 00000006 4B03 LDR R3, =StackMem
|
||
|
309 00000008 4770 BX LR
|
||
|
310 0000000A ENDIF
|
||
|
311 0000000A
|
||
|
312 0000000A ;*******************************************************
|
||
|
***********************
|
||
|
313 0000000A ;
|
||
|
314 0000000A ; Make sure the end of this section is aligned.
|
||
|
315 0000000A ;
|
||
|
316 0000000A ;*******************************************************
|
||
|
***********************
|
||
|
317 0000000A 00 00 ALIGN
|
||
|
318 0000000C
|
||
|
319 0000000C ;*******************************************************
|
||
|
***********************
|
||
|
320 0000000C ;
|
||
|
321 0000000C ; Tell the assembler that we're done.
|
||
|
322 0000000C ;
|
||
|
323 0000000C ;*******************************************************
|
||
|
***********************
|
||
|
324 0000000C END
|
||
|
00000000
|
||
|
00000200
|
||
|
00000000
|
||
|
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M4.fp --apcs=int
|
||
|
erwork --depend=.\build\startup_rvmdk.d -o.\build\startup_rvmdk.o -IC:\Users\zy
|
||
|
lww\Documents\Study\CodeHub\rt-thread\bsp\tm4c129x-dk\RTE -IC:\Software\Keil\AR
|
||
|
M\PACK\Keil\TM4C_DFP\1.1.0\Device\Include\TM4C129 -IC:\Software\Keil\ARM\CMSIS\
|
||
|
Include --predefine="__UVISION_VERSION SETA 521" --predefine="TM4C129XNCZAD SET
|
||
|
A 1" --list=.\startup_rvmdk.lst libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
STACK 00000000
|
||
|
|
||
|
Symbol: STACK
|
||
|
Definitions
|
||
|
At line 45 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: STACK unused
|
||
|
StackMem 00000000
|
||
|
|
||
|
Symbol: StackMem
|
||
|
Definitions
|
||
|
At line 46 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 83 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 306 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 308 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
__initial_sp 00000200
|
||
|
|
||
|
Symbol: __initial_sp
|
||
|
Definitions
|
||
|
At line 48 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: __initial_sp unused
|
||
|
3 symbols
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
HEAP 00000000
|
||
|
|
||
|
Symbol: HEAP
|
||
|
Definitions
|
||
|
At line 55 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: HEAP unused
|
||
|
HeapMem 00000000
|
||
|
|
||
|
Symbol: HeapMem
|
||
|
Definitions
|
||
|
At line 57 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 305 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 307 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
__heap_base 00000000
|
||
|
|
||
|
Symbol: __heap_base
|
||
|
Definitions
|
||
|
At line 56 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: __heap_base unused
|
||
|
__heap_limit 00000000
|
||
|
|
||
|
Symbol: __heap_limit
|
||
|
Definitions
|
||
|
At line 59 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: __heap_limit unused
|
||
|
4 symbols
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
FaultISR 00000216
|
||
|
|
||
|
Symbol: FaultISR
|
||
|
Definitions
|
||
|
At line 262 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 86 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 263 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
IntDefaultHandler 00000218
|
||
|
|
||
|
Symbol: IntDefaultHandler
|
||
|
Definitions
|
||
|
At line 272 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 87 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 88 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 89 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 94 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 95 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 97 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 98 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 99 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 100 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 101 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 102 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 103 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 104 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 105 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 106 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 107 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 108 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 109 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 110 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 111 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 112 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 113 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 114 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 115 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 116 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 117 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 118 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 119 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 120 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 121 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 122 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 123 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 124 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 125 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 126 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 127 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 128 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 129 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 130 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 131 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 132 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 133 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 134 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 135 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 2 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
At line 136 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 137 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 138 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 139 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 140 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 141 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 142 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 143 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 144 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 145 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 146 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 147 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 148 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 149 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 150 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 151 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 152 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 153 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 154 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 155 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 156 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 157 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 158 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 159 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 160 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 161 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 162 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 163 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 164 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 165 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 166 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 169 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 170 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 171 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 172 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 174 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 175 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 176 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 177 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 178 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 179 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 180 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 181 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 182 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 183 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 184 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 185 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 186 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 187 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 188 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 189 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 190 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 191 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 192 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 193 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 194 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 195 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 196 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 197 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 3 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
At line 198 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 199 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 200 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 201 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 202 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 203 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 204 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 205 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 206 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 207 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 208 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 209 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 210 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 273 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
NmiSR 00000214
|
||
|
|
||
|
Symbol: NmiSR
|
||
|
Definitions
|
||
|
At line 252 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 85 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 253 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
RESET 00000000
|
||
|
|
||
|
Symbol: RESET
|
||
|
Definitions
|
||
|
At line 73 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: RESET unused
|
||
|
Reset_Handler 00000200
|
||
|
|
||
|
Symbol: Reset_Handler
|
||
|
Definitions
|
||
|
At line 219 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 84 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 218 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
__Vectors 00000000
|
||
|
|
||
|
Symbol: __Vectors
|
||
|
Definitions
|
||
|
At line 82 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 81 in file libraries/startup/startup_rvmdk.S
|
||
|
Comment: __Vectors used once
|
||
|
6 symbols
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
Relocatable symbols
|
||
|
|
||
|
.text 00000000
|
||
|
|
||
|
Symbol: .text
|
||
|
Definitions
|
||
|
At line 287 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: .text unused
|
||
|
__user_initial_stackheap 00000000
|
||
|
|
||
|
Symbol: __user_initial_stackheap
|
||
|
Definitions
|
||
|
At line 304 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 303 in file libraries/startup/startup_rvmdk.S
|
||
|
Comment: __user_initial_stackheap used once
|
||
|
2 symbols
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
Absolute symbols
|
||
|
|
||
|
Heap 00000000
|
||
|
|
||
|
Symbol: Heap
|
||
|
Definitions
|
||
|
At line 38 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 58 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 307 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
Stack 00000200
|
||
|
|
||
|
Symbol: Stack
|
||
|
Definitions
|
||
|
At line 31 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 47 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 83 in file libraries/startup/startup_rvmdk.S
|
||
|
At line 306 in file libraries/startup/startup_rvmdk.S
|
||
|
|
||
|
2 symbols
|
||
|
|
||
|
|
||
|
|
||
|
ARM Macro Assembler Page 1 Alphabetic symbol ordering
|
||
|
External symbols
|
||
|
|
||
|
__main 00000000
|
||
|
|
||
|
Symbol: __main
|
||
|
Definitions
|
||
|
At line 242 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
At line 243 in file libraries/startup/startup_rvmdk.S
|
||
|
Comment: __main used once
|
||
|
__use_two_region_memory 00000000
|
||
|
|
||
|
Symbol: __use_two_region_memory
|
||
|
Definitions
|
||
|
At line 302 in file libraries/startup/startup_rvmdk.S
|
||
|
Uses
|
||
|
None
|
||
|
Comment: __use_two_region_memory unused
|
||
|
2 symbols
|
||
|
356 symbols in table
|