mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_K20D50M/TOOLCHAIN_ARM_STD/startup_MK20D5.s@308:59cc78a25982, 2014-09-05 (annotated)
- Committer:
- todotani
- Date:
- Fri Sep 05 14:20:33 2014 +0000
- Revision:
- 308:59cc78a25982
- Parent:
- 255:20b371a9491b
BLE_Health_Thermometer for mbed HRM1017 with BLE library 0.1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 68:41613245dfd7 | 1 | ;/***************************************************************************** |
mbed_official | 68:41613245dfd7 | 2 | ; * @file: startup_MK20D5.s |
mbed_official | 68:41613245dfd7 | 3 | ; * @purpose: CMSIS Cortex-M4 Core Device Startup File for the |
mbed_official | 68:41613245dfd7 | 4 | ; * MK20D5 |
mbed_official | 68:41613245dfd7 | 5 | ; * @version: 1.0 |
mbed_official | 68:41613245dfd7 | 6 | ; * @date: 2011-12-15 |
mbed_official | 68:41613245dfd7 | 7 | ; * |
mbed_official | 68:41613245dfd7 | 8 | ; * Copyright: 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved. |
mbed_official | 68:41613245dfd7 | 9 | ;* |
mbed_official | 68:41613245dfd7 | 10 | ; *------- <<< Use Configuration Wizard in Context Menu >>> ------------------ |
mbed_official | 68:41613245dfd7 | 11 | ; * |
mbed_official | 68:41613245dfd7 | 12 | ; *****************************************************************************/ |
mbed_official | 68:41613245dfd7 | 13 | |
mbed_official | 68:41613245dfd7 | 14 | |
mbed_official | 68:41613245dfd7 | 15 | __initial_sp EQU 0x20002000 ; Top of RAM |
mbed_official | 68:41613245dfd7 | 16 | |
mbed_official | 68:41613245dfd7 | 17 | PRESERVE8 |
mbed_official | 68:41613245dfd7 | 18 | THUMB |
mbed_official | 68:41613245dfd7 | 19 | |
mbed_official | 68:41613245dfd7 | 20 | |
mbed_official | 68:41613245dfd7 | 21 | ; Vector Table Mapped to Address 0 at Reset |
mbed_official | 68:41613245dfd7 | 22 | |
mbed_official | 68:41613245dfd7 | 23 | AREA RESET, DATA, READONLY |
mbed_official | 68:41613245dfd7 | 24 | EXPORT __Vectors |
mbed_official | 68:41613245dfd7 | 25 | EXPORT __Vectors_End |
mbed_official | 68:41613245dfd7 | 26 | EXPORT __Vectors_Size |
mbed_official | 68:41613245dfd7 | 27 | |
mbed_official | 68:41613245dfd7 | 28 | __Vectors DCD __initial_sp ; Top of Stack |
mbed_official | 68:41613245dfd7 | 29 | DCD Reset_Handler ; Reset Handler |
mbed_official | 68:41613245dfd7 | 30 | DCD NMI_Handler ; NMI Handler |
mbed_official | 68:41613245dfd7 | 31 | DCD HardFault_Handler ; Hard Fault Handler |
mbed_official | 68:41613245dfd7 | 32 | DCD MemManage_Handler ; MPU Fault Handler |
mbed_official | 68:41613245dfd7 | 33 | DCD BusFault_Handler ; Bus Fault Handler |
mbed_official | 68:41613245dfd7 | 34 | DCD UsageFault_Handler ; Usage Fault Handler |
mbed_official | 68:41613245dfd7 | 35 | DCD 0 ; Reserved |
mbed_official | 68:41613245dfd7 | 36 | DCD 0 ; Reserved |
mbed_official | 68:41613245dfd7 | 37 | DCD 0 ; Reserved |
mbed_official | 68:41613245dfd7 | 38 | DCD 0 ; Reserved |
mbed_official | 68:41613245dfd7 | 39 | DCD SVC_Handler ; SVCall Handler |
mbed_official | 68:41613245dfd7 | 40 | DCD DebugMon_Handler ; Debug Monitor Handler |
mbed_official | 68:41613245dfd7 | 41 | DCD 0 ; Reserved |
mbed_official | 68:41613245dfd7 | 42 | DCD PendSV_Handler ; PendSV Handler |
mbed_official | 68:41613245dfd7 | 43 | DCD SysTick_Handler ; SysTick Handler |
mbed_official | 68:41613245dfd7 | 44 | |
mbed_official | 68:41613245dfd7 | 45 | ; External Interrupts |
mbed_official | 68:41613245dfd7 | 46 | DCD DMA0_IRQHandler ; DMA channel 0 transfer complete interrupt |
mbed_official | 68:41613245dfd7 | 47 | DCD DMA1_IRQHandler ; DMA channel 1 transfer complete interrupt |
mbed_official | 68:41613245dfd7 | 48 | DCD DMA2_IRQHandler ; DMA channel 2 transfer complete interrupt |
mbed_official | 68:41613245dfd7 | 49 | DCD DMA3_IRQHandler ; DMA channel 3 transfer complete interrupt |
mbed_official | 68:41613245dfd7 | 50 | DCD DMA_Error_IRQHandler ; DMA error interrupt |
mbed_official | 68:41613245dfd7 | 51 | DCD Reserved21_IRQHandler ; Reserved interrupt 21 |
mbed_official | 68:41613245dfd7 | 52 | DCD FTFL_IRQHandler ; FTFL interrupt |
mbed_official | 68:41613245dfd7 | 53 | DCD Read_Collision_IRQHandler ; Read collision interrupt |
mbed_official | 68:41613245dfd7 | 54 | DCD LVD_LVW_IRQHandler ; Low Voltage Detect, Low Voltage Warning |
mbed_official | 68:41613245dfd7 | 55 | DCD LLW_IRQHandler ; Low Leakage Wakeup |
mbed_official | 68:41613245dfd7 | 56 | DCD Watchdog_IRQHandler ; WDOG interrupt |
mbed_official | 68:41613245dfd7 | 57 | DCD I2C0_IRQHandler ; I2C0 interrupt |
mbed_official | 68:41613245dfd7 | 58 | DCD SPI0_IRQHandler ; SPI0 interrupt |
mbed_official | 68:41613245dfd7 | 59 | DCD I2S0_Tx_IRQHandler ; I2S0 transmit interrupt |
mbed_official | 68:41613245dfd7 | 60 | DCD I2S0_Rx_IRQHandler ; I2S0 receive interrupt |
mbed_official | 68:41613245dfd7 | 61 | DCD UART0_LON_IRQHandler ; UART0 LON interrupt |
mbed_official | 68:41613245dfd7 | 62 | DCD UART0_RX_TX_IRQHandler ; UART0 receive/transmit interrupt |
mbed_official | 68:41613245dfd7 | 63 | DCD UART0_ERR_IRQHandler ; UART0 error interrupt |
mbed_official | 68:41613245dfd7 | 64 | DCD UART1_RX_TX_IRQHandler ; UART1 receive/transmit interrupt |
mbed_official | 68:41613245dfd7 | 65 | DCD UART1_ERR_IRQHandler ; UART1 error interrupt |
mbed_official | 68:41613245dfd7 | 66 | DCD UART2_RX_TX_IRQHandler ; UART2 receive/transmit interrupt |
mbed_official | 68:41613245dfd7 | 67 | DCD UART2_ERR_IRQHandler ; UART2 error interrupt |
mbed_official | 68:41613245dfd7 | 68 | DCD ADC0_IRQHandler ; ADC0 interrupt |
mbed_official | 68:41613245dfd7 | 69 | DCD CMP0_IRQHandler ; CMP0 interrupt |
mbed_official | 68:41613245dfd7 | 70 | DCD CMP1_IRQHandler ; CMP1 interrupt |
mbed_official | 68:41613245dfd7 | 71 | DCD FTM0_IRQHandler ; FTM0 fault, overflow and channels interrupt |
mbed_official | 68:41613245dfd7 | 72 | DCD FTM1_IRQHandler ; FTM1 fault, overflow and channels interrupt |
mbed_official | 68:41613245dfd7 | 73 | DCD CMT_IRQHandler ; CMT interrupt |
mbed_official | 68:41613245dfd7 | 74 | DCD RTC_IRQHandler ; RTC interrupt |
mbed_official | 68:41613245dfd7 | 75 | DCD RTC_Seconds_IRQHandler ; RTC seconds interrupt |
mbed_official | 68:41613245dfd7 | 76 | DCD PIT0_IRQHandler ; PIT timer channel 0 interrupt |
mbed_official | 68:41613245dfd7 | 77 | DCD PIT1_IRQHandler ; PIT timer channel 1 interrupt |
mbed_official | 68:41613245dfd7 | 78 | DCD PIT2_IRQHandler ; PIT timer channel 2 interrupt |
mbed_official | 68:41613245dfd7 | 79 | DCD PIT3_IRQHandler ; PIT timer channel 3 interrupt |
mbed_official | 68:41613245dfd7 | 80 | DCD PDB0_IRQHandler ; PDB0 interrupt |
mbed_official | 68:41613245dfd7 | 81 | DCD USB0_IRQHandler ; USB0 interrupt |
mbed_official | 68:41613245dfd7 | 82 | DCD USBDCD_IRQHandler ; USBDCD interrupt |
mbed_official | 68:41613245dfd7 | 83 | DCD TSI0_IRQHandler ; TSI0 interrupt |
mbed_official | 68:41613245dfd7 | 84 | DCD MCG_IRQHandler ; MCG interrupt |
mbed_official | 68:41613245dfd7 | 85 | DCD LPTimer_IRQHandler ; LPTimer interrupt |
mbed_official | 68:41613245dfd7 | 86 | DCD PORTA_IRQHandler ; Port A interrupt |
mbed_official | 68:41613245dfd7 | 87 | DCD PORTB_IRQHandler ; Port B interrupt |
mbed_official | 68:41613245dfd7 | 88 | DCD PORTC_IRQHandler ; Port C interrupt |
mbed_official | 68:41613245dfd7 | 89 | DCD PORTD_IRQHandler ; Port D interrupt |
mbed_official | 68:41613245dfd7 | 90 | DCD PORTE_IRQHandler ; Port E interrupt |
mbed_official | 68:41613245dfd7 | 91 | DCD SWI_IRQHandler ; Software interrupt |
mbed_official | 68:41613245dfd7 | 92 | __Vectors_End |
mbed_official | 68:41613245dfd7 | 93 | |
mbed_official | 68:41613245dfd7 | 94 | __Vectors_Size EQU __Vectors_End - __Vectors |
mbed_official | 68:41613245dfd7 | 95 | |
mbed_official | 68:41613245dfd7 | 96 | ; <h> Flash Configuration |
mbed_official | 68:41613245dfd7 | 97 | ; <i> 16-byte flash configuration field that stores default protection settings (loaded on reset) |
mbed_official | 68:41613245dfd7 | 98 | ; <i> and security information that allows the MCU to restrict acces to the FTFL module. |
mbed_official | 68:41613245dfd7 | 99 | ; <h> Backdoor Comparison Key |
mbed_official | 68:41613245dfd7 | 100 | ; <o0> Backdoor Key 0 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 101 | ; <o1> Backdoor Key 1 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 102 | ; <o2> Backdoor Key 2 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 103 | ; <o3> Backdoor Key 3 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 104 | ; <o4> Backdoor Key 4 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 105 | ; <o5> Backdoor Key 5 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 106 | ; <o6> Backdoor Key 6 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 107 | ; <o7> Backdoor Key 7 <0x0-0xFF:2> |
mbed_official | 68:41613245dfd7 | 108 | BackDoorK0 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 109 | BackDoorK1 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 110 | BackDoorK2 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 111 | BackDoorK3 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 112 | BackDoorK4 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 113 | BackDoorK5 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 114 | BackDoorK6 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 115 | BackDoorK7 EQU 0xFF |
mbed_official | 68:41613245dfd7 | 116 | ; </h> |
mbed_official | 68:41613245dfd7 | 117 | ; <h> Program flash protection bytes (FPROT) |
mbed_official | 68:41613245dfd7 | 118 | ; <i> Each program flash region can be protected from program and erase operation by setting the associated PROT bit. |
mbed_official | 68:41613245dfd7 | 119 | ; <i> Each bit protects a 1/32 region of the program flash memory. |
mbed_official | 68:41613245dfd7 | 120 | ; <h> FPROT0 |
mbed_official | 68:41613245dfd7 | 121 | ; <i> Program flash protection bytes |
mbed_official | 68:41613245dfd7 | 122 | ; <i> 1/32 - 8/32 region |
mbed_official | 68:41613245dfd7 | 123 | ; <o.0> FPROT0.0 |
mbed_official | 68:41613245dfd7 | 124 | ; <o.1> FPROT0.1 |
mbed_official | 68:41613245dfd7 | 125 | ; <o.2> FPROT0.2 |
mbed_official | 68:41613245dfd7 | 126 | ; <o.3> FPROT0.3 |
mbed_official | 68:41613245dfd7 | 127 | ; <o.4> FPROT0.4 |
mbed_official | 68:41613245dfd7 | 128 | ; <o.5> FPROT0.5 |
mbed_official | 68:41613245dfd7 | 129 | ; <o.6> FPROT0.6 |
mbed_official | 68:41613245dfd7 | 130 | ; <o.7> FPROT0.7 |
mbed_official | 68:41613245dfd7 | 131 | nFPROT0 EQU 0x00 |
mbed_official | 68:41613245dfd7 | 132 | FPROT0 EQU nFPROT0:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 133 | ; </h> |
mbed_official | 68:41613245dfd7 | 134 | ; <h> FPROT1 |
mbed_official | 68:41613245dfd7 | 135 | ; <i> Program Flash Region Protect Register 1 |
mbed_official | 68:41613245dfd7 | 136 | ; <i> 9/32 - 16/32 region |
mbed_official | 68:41613245dfd7 | 137 | ; <o.0> FPROT1.0 |
mbed_official | 68:41613245dfd7 | 138 | ; <o.1> FPROT1.1 |
mbed_official | 68:41613245dfd7 | 139 | ; <o.2> FPROT1.2 |
mbed_official | 68:41613245dfd7 | 140 | ; <o.3> FPROT1.3 |
mbed_official | 68:41613245dfd7 | 141 | ; <o.4> FPROT1.4 |
mbed_official | 68:41613245dfd7 | 142 | ; <o.5> FPROT1.5 |
mbed_official | 68:41613245dfd7 | 143 | ; <o.6> FPROT1.6 |
mbed_official | 68:41613245dfd7 | 144 | ; <o.7> FPROT1.7 |
mbed_official | 68:41613245dfd7 | 145 | nFPROT1 EQU 0x00 |
mbed_official | 68:41613245dfd7 | 146 | FPROT1 EQU nFPROT1:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 147 | ; </h> |
mbed_official | 68:41613245dfd7 | 148 | ; <h> FPROT2 |
mbed_official | 68:41613245dfd7 | 149 | ; <i> Program Flash Region Protect Register 2 |
mbed_official | 68:41613245dfd7 | 150 | ; <i> 17/32 - 24/32 region |
mbed_official | 68:41613245dfd7 | 151 | ; <o.0> FPROT2.0 |
mbed_official | 68:41613245dfd7 | 152 | ; <o.1> FPROT2.1 |
mbed_official | 68:41613245dfd7 | 153 | ; <o.2> FPROT2.2 |
mbed_official | 68:41613245dfd7 | 154 | ; <o.3> FPROT2.3 |
mbed_official | 68:41613245dfd7 | 155 | ; <o.4> FPROT2.4 |
mbed_official | 68:41613245dfd7 | 156 | ; <o.5> FPROT2.5 |
mbed_official | 68:41613245dfd7 | 157 | ; <o.6> FPROT2.6 |
mbed_official | 68:41613245dfd7 | 158 | ; <o.7> FPROT2.7 |
mbed_official | 68:41613245dfd7 | 159 | nFPROT2 EQU 0x00 |
mbed_official | 68:41613245dfd7 | 160 | FPROT2 EQU nFPROT2:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 161 | ; </h> |
mbed_official | 68:41613245dfd7 | 162 | ; <h> FPROT3 |
mbed_official | 68:41613245dfd7 | 163 | ; <i> Program Flash Region Protect Register 3 |
mbed_official | 68:41613245dfd7 | 164 | ; <i> 25/32 - 32/32 region |
mbed_official | 68:41613245dfd7 | 165 | ; <o.0> FPROT3.0 |
mbed_official | 68:41613245dfd7 | 166 | ; <o.1> FPROT3.1 |
mbed_official | 68:41613245dfd7 | 167 | ; <o.2> FPROT3.2 |
mbed_official | 68:41613245dfd7 | 168 | ; <o.3> FPROT3.3 |
mbed_official | 68:41613245dfd7 | 169 | ; <o.4> FPROT3.4 |
mbed_official | 68:41613245dfd7 | 170 | ; <o.5> FPROT3.5 |
mbed_official | 68:41613245dfd7 | 171 | ; <o.6> FPROT3.6 |
mbed_official | 68:41613245dfd7 | 172 | ; <o.7> FPROT3.7 |
mbed_official | 68:41613245dfd7 | 173 | nFPROT3 EQU 0x00 |
mbed_official | 68:41613245dfd7 | 174 | FPROT3 EQU nFPROT3:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 175 | ; </h> |
mbed_official | 68:41613245dfd7 | 176 | ; </h> |
mbed_official | 68:41613245dfd7 | 177 | ; <h> Data flash protection byte (FDPROT) |
mbed_official | 68:41613245dfd7 | 178 | ; <i> Each bit protects a 1/8 region of the data flash memory. |
mbed_official | 68:41613245dfd7 | 179 | ; <i> (Program flash only devices: Reserved) |
mbed_official | 68:41613245dfd7 | 180 | ; <o.0> FDPROT.0 |
mbed_official | 68:41613245dfd7 | 181 | ; <o.1> FDPROT.1 |
mbed_official | 68:41613245dfd7 | 182 | ; <o.2> FDPROT.2 |
mbed_official | 68:41613245dfd7 | 183 | ; <o.3> FDPROT.3 |
mbed_official | 68:41613245dfd7 | 184 | ; <o.4> FDPROT.4 |
mbed_official | 68:41613245dfd7 | 185 | ; <o.5> FDPROT.5 |
mbed_official | 68:41613245dfd7 | 186 | ; <o.6> FDPROT.6 |
mbed_official | 68:41613245dfd7 | 187 | ; <o.7> FDPROT.7 |
mbed_official | 68:41613245dfd7 | 188 | nFDPROT EQU 0x00 |
mbed_official | 68:41613245dfd7 | 189 | FDPROT EQU nFDPROT:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 190 | ; </h> |
mbed_official | 68:41613245dfd7 | 191 | ; <h> EEPROM protection byte (FEPROT) |
mbed_official | 68:41613245dfd7 | 192 | ; <i> FlexNVM devices: Each bit protects a 1/8 region of the EEPROM. |
mbed_official | 68:41613245dfd7 | 193 | ; <i> (Program flash only devices: Reserved) |
mbed_official | 68:41613245dfd7 | 194 | ; <o.0> FEPROT.0 |
mbed_official | 68:41613245dfd7 | 195 | ; <o.1> FEPROT.1 |
mbed_official | 68:41613245dfd7 | 196 | ; <o.2> FEPROT.2 |
mbed_official | 68:41613245dfd7 | 197 | ; <o.3> FEPROT.3 |
mbed_official | 68:41613245dfd7 | 198 | ; <o.4> FEPROT.4 |
mbed_official | 68:41613245dfd7 | 199 | ; <o.5> FEPROT.5 |
mbed_official | 68:41613245dfd7 | 200 | ; <o.6> FEPROT.6 |
mbed_official | 68:41613245dfd7 | 201 | ; <o.7> FEPROT.7 |
mbed_official | 68:41613245dfd7 | 202 | nFEPROT EQU 0x00 |
mbed_official | 68:41613245dfd7 | 203 | FEPROT EQU nFEPROT:EOR:0xFF |
mbed_official | 68:41613245dfd7 | 204 | ; </h> |
mbed_official | 68:41613245dfd7 | 205 | ; <h> Flash nonvolatile option byte (FOPT) |
mbed_official | 68:41613245dfd7 | 206 | ; <i> Allows the user to customize the operation of the MCU at boot time. |
mbed_official | 68:41613245dfd7 | 207 | ; <o.0> LPBOOT |
mbed_official | 68:41613245dfd7 | 208 | ; <0=> Low-power boot |
mbed_official | 68:41613245dfd7 | 209 | ; <1=> normal boot |
mbed_official | 68:41613245dfd7 | 210 | ; <o.1> EZPORT_DIS |
mbed_official | 68:41613245dfd7 | 211 | ; <0=> EzPort operation is enabled |
mbed_official | 68:41613245dfd7 | 212 | ; <1=> EzPort operation is disabled |
mbed_official | 68:41613245dfd7 | 213 | FOPT EQU 0xFF |
mbed_official | 68:41613245dfd7 | 214 | ; </h> |
mbed_official | 68:41613245dfd7 | 215 | ; <h> Flash security byte (FSEC) |
mbed_official | 68:41613245dfd7 | 216 | ; <i> WARNING: If SEC field is configured as "MCU security status is secure" and MEEN field is configured as "Mass erase is disabled", |
mbed_official | 68:41613245dfd7 | 217 | ; <i> MCU's security status cannot be set back to unsecure state since Mass erase via the debugger is blocked !!! |
mbed_official | 68:41613245dfd7 | 218 | ; <o.0..1> SEC |
mbed_official | 68:41613245dfd7 | 219 | ; <2=> MCU security status is unsecure |
mbed_official | 68:41613245dfd7 | 220 | ; <3=> MCU security status is secure |
mbed_official | 68:41613245dfd7 | 221 | ; <i> Flash Security |
mbed_official | 68:41613245dfd7 | 222 | ; <i> This bits define the security state of the MCU. |
mbed_official | 68:41613245dfd7 | 223 | ; <o.2..3> FSLACC |
mbed_official | 68:41613245dfd7 | 224 | ; <2=> Freescale factory access denied |
mbed_official | 68:41613245dfd7 | 225 | ; <3=> Freescale factory access granted |
mbed_official | 68:41613245dfd7 | 226 | ; <i> Freescale Failure Analysis Access Code |
mbed_official | 68:41613245dfd7 | 227 | ; <i> This bits define the security state of the MCU. |
mbed_official | 68:41613245dfd7 | 228 | ; <o.4..5> MEEN |
mbed_official | 68:41613245dfd7 | 229 | ; <2=> Mass erase is disabled |
mbed_official | 68:41613245dfd7 | 230 | ; <3=> Mass erase is enabled |
mbed_official | 68:41613245dfd7 | 231 | ; <i> Mass Erase Enable Bits |
mbed_official | 68:41613245dfd7 | 232 | ; <i> Enables and disables mass erase capability of the FTFL module |
mbed_official | 68:41613245dfd7 | 233 | ; <o.6..7> KEYEN |
mbed_official | 68:41613245dfd7 | 234 | ; <2=> Backdoor key access enabled |
mbed_official | 68:41613245dfd7 | 235 | ; <3=> Backdoor key access disabled |
mbed_official | 68:41613245dfd7 | 236 | ; <i> Backdoor key Security Enable |
mbed_official | 68:41613245dfd7 | 237 | ; <i> These bits enable and disable backdoor key access to the FTFL module. |
mbed_official | 68:41613245dfd7 | 238 | FSEC EQU 0xFE |
mbed_official | 68:41613245dfd7 | 239 | ; </h> |
mbed_official | 68:41613245dfd7 | 240 | ; </h> |
mbed_official | 68:41613245dfd7 | 241 | IF :LNOT::DEF:RAM_TARGET |
mbed_official | 68:41613245dfd7 | 242 | AREA |.ARM.__at_0x400|, CODE, READONLY |
mbed_official | 68:41613245dfd7 | 243 | DCB BackDoorK0, BackDoorK1, BackDoorK2, BackDoorK3 |
mbed_official | 68:41613245dfd7 | 244 | DCB BackDoorK4, BackDoorK5, BackDoorK6, BackDoorK7 |
mbed_official | 68:41613245dfd7 | 245 | DCB FPROT0, FPROT1, FPROT2, FPROT3 |
mbed_official | 68:41613245dfd7 | 246 | DCB FSEC, FOPT, FEPROT, FDPROT |
mbed_official | 68:41613245dfd7 | 247 | ENDIF |
mbed_official | 68:41613245dfd7 | 248 | |
mbed_official | 68:41613245dfd7 | 249 | AREA |.text|, CODE, READONLY |
mbed_official | 68:41613245dfd7 | 250 | |
mbed_official | 68:41613245dfd7 | 251 | |
mbed_official | 68:41613245dfd7 | 252 | ; Reset Handler |
mbed_official | 68:41613245dfd7 | 253 | |
mbed_official | 68:41613245dfd7 | 254 | Reset_Handler PROC |
mbed_official | 68:41613245dfd7 | 255 | EXPORT Reset_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 256 | IMPORT SystemInit |
mbed_official | 68:41613245dfd7 | 257 | IMPORT __main |
mbed_official | 68:41613245dfd7 | 258 | LDR R0, =SystemInit |
mbed_official | 68:41613245dfd7 | 259 | BLX R0 |
mbed_official | 68:41613245dfd7 | 260 | LDR R0, =__main |
mbed_official | 68:41613245dfd7 | 261 | BX R0 |
mbed_official | 68:41613245dfd7 | 262 | ENDP |
mbed_official | 68:41613245dfd7 | 263 | |
mbed_official | 68:41613245dfd7 | 264 | |
mbed_official | 68:41613245dfd7 | 265 | ; Dummy Exception Handlers (infinite loops which can be modified) |
mbed_official | 68:41613245dfd7 | 266 | |
mbed_official | 68:41613245dfd7 | 267 | NMI_Handler PROC |
mbed_official | 68:41613245dfd7 | 268 | EXPORT NMI_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 269 | B . |
mbed_official | 68:41613245dfd7 | 270 | ENDP |
mbed_official | 68:41613245dfd7 | 271 | HardFault_Handler\ |
mbed_official | 68:41613245dfd7 | 272 | PROC |
mbed_official | 68:41613245dfd7 | 273 | EXPORT HardFault_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 274 | B . |
mbed_official | 68:41613245dfd7 | 275 | ENDP |
mbed_official | 68:41613245dfd7 | 276 | MemManage_Handler\ |
mbed_official | 68:41613245dfd7 | 277 | PROC |
mbed_official | 68:41613245dfd7 | 278 | EXPORT MemManage_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 279 | B . |
mbed_official | 68:41613245dfd7 | 280 | ENDP |
mbed_official | 68:41613245dfd7 | 281 | BusFault_Handler\ |
mbed_official | 68:41613245dfd7 | 282 | PROC |
mbed_official | 68:41613245dfd7 | 283 | EXPORT BusFault_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 284 | B . |
mbed_official | 68:41613245dfd7 | 285 | ENDP |
mbed_official | 68:41613245dfd7 | 286 | UsageFault_Handler\ |
mbed_official | 68:41613245dfd7 | 287 | PROC |
mbed_official | 68:41613245dfd7 | 288 | EXPORT UsageFault_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 289 | B . |
mbed_official | 68:41613245dfd7 | 290 | ENDP |
mbed_official | 68:41613245dfd7 | 291 | SVC_Handler PROC |
mbed_official | 68:41613245dfd7 | 292 | EXPORT SVC_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 293 | B . |
mbed_official | 68:41613245dfd7 | 294 | ENDP |
mbed_official | 68:41613245dfd7 | 295 | DebugMon_Handler\ |
mbed_official | 68:41613245dfd7 | 296 | PROC |
mbed_official | 68:41613245dfd7 | 297 | EXPORT DebugMon_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 298 | B . |
mbed_official | 68:41613245dfd7 | 299 | ENDP |
mbed_official | 68:41613245dfd7 | 300 | PendSV_Handler PROC |
mbed_official | 68:41613245dfd7 | 301 | EXPORT PendSV_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 302 | B . |
mbed_official | 68:41613245dfd7 | 303 | ENDP |
mbed_official | 68:41613245dfd7 | 304 | SysTick_Handler PROC |
mbed_official | 68:41613245dfd7 | 305 | EXPORT SysTick_Handler [WEAK] |
mbed_official | 68:41613245dfd7 | 306 | B . |
mbed_official | 68:41613245dfd7 | 307 | ENDP |
mbed_official | 68:41613245dfd7 | 308 | |
mbed_official | 68:41613245dfd7 | 309 | Default_Handler PROC |
mbed_official | 68:41613245dfd7 | 310 | EXPORT DMA0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 311 | EXPORT DMA1_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 312 | EXPORT DMA2_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 313 | EXPORT DMA3_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 314 | EXPORT DMA_Error_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 315 | EXPORT Reserved21_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 316 | EXPORT FTFL_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 317 | EXPORT Read_Collision_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 318 | EXPORT LVD_LVW_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 319 | EXPORT LLW_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 320 | EXPORT Watchdog_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 321 | EXPORT I2C0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 322 | EXPORT SPI0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 323 | EXPORT I2S0_Tx_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 324 | EXPORT I2S0_Rx_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 325 | EXPORT UART0_LON_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 326 | EXPORT UART0_RX_TX_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 327 | EXPORT UART0_ERR_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 328 | EXPORT UART1_RX_TX_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 329 | EXPORT UART1_ERR_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 330 | EXPORT UART2_RX_TX_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 331 | EXPORT UART2_ERR_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 332 | EXPORT ADC0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 333 | EXPORT CMP0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 334 | EXPORT CMP1_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 335 | EXPORT FTM0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 336 | EXPORT FTM1_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 337 | EXPORT CMT_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 338 | EXPORT RTC_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 339 | EXPORT RTC_Seconds_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 340 | EXPORT PIT0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 341 | EXPORT PIT1_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 342 | EXPORT PIT2_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 343 | EXPORT PIT3_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 344 | EXPORT PDB0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 345 | EXPORT USB0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 346 | EXPORT USBDCD_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 347 | EXPORT TSI0_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 348 | EXPORT MCG_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 349 | EXPORT LPTimer_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 350 | EXPORT PORTA_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 351 | EXPORT PORTB_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 352 | EXPORT PORTC_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 353 | EXPORT PORTD_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 354 | EXPORT PORTE_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 355 | EXPORT SWI_IRQHandler [WEAK] |
mbed_official | 68:41613245dfd7 | 356 | EXPORT DefaultISR [WEAK] |
mbed_official | 68:41613245dfd7 | 357 | |
mbed_official | 68:41613245dfd7 | 358 | DMA0_IRQHandler |
mbed_official | 68:41613245dfd7 | 359 | DMA1_IRQHandler |
mbed_official | 68:41613245dfd7 | 360 | DMA2_IRQHandler |
mbed_official | 68:41613245dfd7 | 361 | DMA3_IRQHandler |
mbed_official | 68:41613245dfd7 | 362 | DMA_Error_IRQHandler |
mbed_official | 68:41613245dfd7 | 363 | Reserved21_IRQHandler |
mbed_official | 68:41613245dfd7 | 364 | FTFL_IRQHandler |
mbed_official | 68:41613245dfd7 | 365 | Read_Collision_IRQHandler |
mbed_official | 68:41613245dfd7 | 366 | LVD_LVW_IRQHandler |
mbed_official | 68:41613245dfd7 | 367 | LLW_IRQHandler |
mbed_official | 68:41613245dfd7 | 368 | Watchdog_IRQHandler |
mbed_official | 68:41613245dfd7 | 369 | I2C0_IRQHandler |
mbed_official | 68:41613245dfd7 | 370 | SPI0_IRQHandler |
mbed_official | 68:41613245dfd7 | 371 | I2S0_Tx_IRQHandler |
mbed_official | 68:41613245dfd7 | 372 | I2S0_Rx_IRQHandler |
mbed_official | 68:41613245dfd7 | 373 | UART0_LON_IRQHandler |
mbed_official | 68:41613245dfd7 | 374 | UART0_RX_TX_IRQHandler |
mbed_official | 68:41613245dfd7 | 375 | UART0_ERR_IRQHandler |
mbed_official | 68:41613245dfd7 | 376 | UART1_RX_TX_IRQHandler |
mbed_official | 68:41613245dfd7 | 377 | UART1_ERR_IRQHandler |
mbed_official | 68:41613245dfd7 | 378 | UART2_RX_TX_IRQHandler |
mbed_official | 68:41613245dfd7 | 379 | UART2_ERR_IRQHandler |
mbed_official | 68:41613245dfd7 | 380 | ADC0_IRQHandler |
mbed_official | 68:41613245dfd7 | 381 | CMP0_IRQHandler |
mbed_official | 68:41613245dfd7 | 382 | CMP1_IRQHandler |
mbed_official | 68:41613245dfd7 | 383 | FTM0_IRQHandler |
mbed_official | 68:41613245dfd7 | 384 | FTM1_IRQHandler |
mbed_official | 68:41613245dfd7 | 385 | CMT_IRQHandler |
mbed_official | 68:41613245dfd7 | 386 | RTC_IRQHandler |
mbed_official | 68:41613245dfd7 | 387 | RTC_Seconds_IRQHandler |
mbed_official | 68:41613245dfd7 | 388 | PIT0_IRQHandler |
mbed_official | 68:41613245dfd7 | 389 | PIT1_IRQHandler |
mbed_official | 68:41613245dfd7 | 390 | PIT2_IRQHandler |
mbed_official | 68:41613245dfd7 | 391 | PIT3_IRQHandler |
mbed_official | 68:41613245dfd7 | 392 | PDB0_IRQHandler |
mbed_official | 68:41613245dfd7 | 393 | USB0_IRQHandler |
mbed_official | 68:41613245dfd7 | 394 | USBDCD_IRQHandler |
mbed_official | 68:41613245dfd7 | 395 | TSI0_IRQHandler |
mbed_official | 68:41613245dfd7 | 396 | MCG_IRQHandler |
mbed_official | 68:41613245dfd7 | 397 | LPTimer_IRQHandler |
mbed_official | 68:41613245dfd7 | 398 | PORTA_IRQHandler |
mbed_official | 68:41613245dfd7 | 399 | PORTB_IRQHandler |
mbed_official | 68:41613245dfd7 | 400 | PORTC_IRQHandler |
mbed_official | 68:41613245dfd7 | 401 | PORTD_IRQHandler |
mbed_official | 68:41613245dfd7 | 402 | PORTE_IRQHandler |
mbed_official | 68:41613245dfd7 | 403 | SWI_IRQHandler |
mbed_official | 68:41613245dfd7 | 404 | DefaultISR |
mbed_official | 68:41613245dfd7 | 405 | |
mbed_official | 68:41613245dfd7 | 406 | B . |
mbed_official | 68:41613245dfd7 | 407 | |
mbed_official | 68:41613245dfd7 | 408 | ENDP |
mbed_official | 68:41613245dfd7 | 409 | |
mbed_official | 68:41613245dfd7 | 410 | |
mbed_official | 68:41613245dfd7 | 411 | ALIGN |
mbed_official | 68:41613245dfd7 | 412 | END |