78 #include "bsl_defines.h"
79 #include "scu_defines.h"
86 #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
87 extern uint32_t __STACK_SEAL;
97 #if defined(__ARMCC_VERSION)
100 #elif defined(__IAR_SYSTEMS_ICC__)
103 #elif defined(UNIT_TESTING_OCN)
166 #if defined ( __GNUC__ )
167 #pragma GCC diagnostic push
168 #pragma GCC diagnostic ignored "-Wpedantic"
171 #if defined(__ARMCC_VERSION)
173 static const uint32 u32_flash0_page0[11]
__attribute__((section(
"sec_NVM0_BOOTCFG"), used)) =
174 #elif defined(__IAR_SYSTEMS_ICC__)
176 __root
const uint32 u32_flash0_page0[11] @
"sec_NVM0_BOOTCFG" =
177 #elif defined(UNIT_TESTING_OCN)
178 const uint32 u32_flash0_page0[11] =
194 #if defined(__ARMCC_VERSION)
197 #elif defined(__IAR_SYSTEMS_ICC__)
199 __root
const VECTOR_TABLE_Type vt_vectab_deprecated[2] @
"sec_NVM0_VECTAB_DEPRECATED" =
200 #elif defined(UNIT_TESTING_OCN)
210 #define SCU_BOOT_CFG_LATCH_ADDR 0x480040BC
211 #define SCU_BOOT_CFG_LATCH_TMS_MASK 0x00000001
212 #define SCU_BOOT_CFG_LATCH_P00_MASK 0x00000002
213 #define CPU_DHCSR_ADDR 0xE000EDF0
214 #define CPU_DHCSR_C_DEBUGEN_MASK 0x00000001
215 uint32 u32_boot_cfg_latch;
216 uint32 u32_dhcsr_c_debugen;
225 while (u32_dhcsr_c_debugen == 0);
233 #if defined(__ARMCC_VERSION)
237 #elif defined(__IAR_SYSTEMS_ICC__)
240 #elif defined(UNIT_TESTING_OCN)
295 #if defined ( __GNUC__ )
296 #pragma GCC diagnostic pop
305 #if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
306 __TZ_set_STACKSEAL_S((uint32_t *)(&__STACK_SEAL));
310 if(FLASH1_CACHE_EN == 1)
319 #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
320 #pragma clang diagnostic push
321 #pragma clang diagnostic ignored "-Wmissing-noreturn"
340 #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
341 #pragma clang diagnostic pop
BootROM low level access library.
#define user_cache_operation
This user API function provides an alternative to writing to cache registers in addition to direct re...
Definition: bootrom.h:791
@ CACHE_OP_EN
Cache enable operation.
Definition: bootrom.h:272
void(* VECTOR_TABLE_Type)(void)
Exception / Interrupt Handler Function Prototype.
Definition: startup_tle989x.h:93
() VECTOR_TABLE_Type NVIC_IRQ17_Handler
Definition: startup_tle989x.h:278
() VECTOR_TABLE_Type NVIC_IRQ30_Handler
Definition: startup_tle989x.h:291
() VECTOR_TABLE_Type NVIC_IRQ27_Handler
Definition: startup_tle989x.h:288
() VECTOR_TABLE_Type SysTick_Handler
Definition: startup_tle989x.h:258
__NO_RETURN void Reset_Handler(void)
Definition: startup_tle989x.h:302
() VECTOR_TABLE_Type NVIC_IRQ4_Handler
Definition: startup_tle989x.h:265
() VECTOR_TABLE_Type NVIC_IRQ5_Handler
Definition: startup_tle989x.h:266
() VECTOR_TABLE_Type UsageFault_Handler
Definition: startup_tle989x.h:249
() VECTOR_TABLE_Type NVIC_IRQ12_Handler
Definition: startup_tle989x.h:273
__attribute__((noreturn)) static void debug_entry(void)
Definition: startup_tle989x.h:208
() VECTOR_TABLE_Type NMI_Handler
Definition: startup_tle989x.h:245
() VECTOR_TABLE_Type NVIC_IRQ0_Handler
Definition: startup_tle989x.h:261
() VECTOR_TABLE_Type BusFault_Handler
Definition: startup_tle989x.h:248
() VECTOR_TABLE_Type NVIC_IRQ9_Handler
Definition: startup_tle989x.h:270
() VECTOR_TABLE_Type debug_entry
Definition: startup_tle989x.h:244
() VECTOR_TABLE_Type NVIC_IRQ10_Handler
Definition: startup_tle989x.h:271
() VECTOR_TABLE_Type NVIC_IRQ31_Handler
Definition: startup_tle989x.h:293
() VECTOR_TABLE_Type NVIC_IRQ14_Handler
Definition: startup_tle989x.h:275
() VECTOR_TABLE_Type NVIC_IRQ15_Handler
Definition: startup_tle989x.h:276
() VECTOR_TABLE_Type MemManage_Handler
Definition: startup_tle989x.h:247
() VECTOR_TABLE_Type HardFault_Handler
Definition: startup_tle989x.h:246
() VECTOR_TABLE_Type NVIC_IRQ7_Handler
Definition: startup_tle989x.h:268
const VECTOR_TABLE_Type __VECTOR_TABLE[48]
() VECTOR_TABLE_Type NVIC_IRQ11_Handler
Definition: startup_tle989x.h:272
() VECTOR_TABLE_Type NVIC_IRQ21_Handler
Definition: startup_tle989x.h:282
() VECTOR_TABLE_Type NVIC_IRQ8_Handler
Definition: startup_tle989x.h:269
__NO_RETURN void Default_Handler(void)
Definition: startup_tle989x.h:335
() VECTOR_TABLE_Type PendSV_Handler
Definition: startup_tle989x.h:256
() VECTOR_TABLE_Type NVIC_IRQ20_Handler
Definition: startup_tle989x.h:281
#define SCU_BOOT_CFG_LATCH_TMS_MASK
() VECTOR_TABLE_Type DebugMon_Handler
Definition: startup_tle989x.h:255
() VECTOR_TABLE_Type NVIC_IRQ16_Handler
Definition: startup_tle989x.h:277
() VECTOR_TABLE_Type NVIC_IRQ18_Handler
Definition: startup_tle989x.h:279
() VECTOR_TABLE_Type NVIC_IRQ28_Handler
Definition: startup_tle989x.h:289
() VECTOR_TABLE_Type NVIC_IRQ1_Handler
Definition: startup_tle989x.h:262
#define SCU_BOOT_CFG_LATCH_P00_MASK
#define CPU_DHCSR_C_DEBUGEN_MASK
() VECTOR_TABLE_Type SVC_Handler
Definition: startup_tle989x.h:250
() VECTOR_TABLE_Type NVIC_IRQ19_Handler
Definition: startup_tle989x.h:280
() VECTOR_TABLE_Type NVIC_IRQ2_Handler
Definition: startup_tle989x.h:263
() VECTOR_TABLE_Type NVIC_IRQ24_Handler
Definition: startup_tle989x.h:285
() VECTOR_TABLE_Type NVIC_IRQ3_Handler
Definition: startup_tle989x.h:264
#define SCU_BOOT_CFG_LATCH_ADDR
void alias("Default_Handler")))
__NO_RETURN void __PROGRAM_START(void)
() VECTOR_TABLE_Type NVIC_IRQ22_Handler
Definition: startup_tle989x.h:283
uint32_t __INITIAL_SP
Definition: startup_tle989x.h:243
() VECTOR_TABLE_Type NVIC_IRQ23_Handler
Definition: startup_tle989x.h:284
() VECTOR_TABLE_Type NVIC_IRQ26_Handler
Definition: startup_tle989x.h:287
() VECTOR_TABLE_Type NVIC_IRQ29_Handler
Definition: startup_tle989x.h:290
() VECTOR_TABLE_Type NVIC_IRQ25_Handler
Definition: startup_tle989x.h:286
() VECTOR_TABLE_Type NVIC_IRQ13_Handler
Definition: startup_tle989x.h:274
void SystemInit(void)
Initialize the system.
Definition: system_tle988x.c:46
Device specific memory layout defines and features.
#define UC_FLASH1_START
Definition: tle_variants.h:338
uint32_t uint32
32 bit unsigned value
Definition: types.h:222