Specifications

www.ti.com
References
Initialization of global and static variables defines in C/C++
Initialization of global constructors
Make a function call to branch to the main application
These requirements could be different for each compiler. The compiler reference manual must be referred
to identify the specific requirements for the compiler being used.
2.34 Other Initialization Steps Not Described in this Document
The following is an additional list of operations that an application can perform during the device
initialization.
Verify that the DCC module can detect and report a frequency mismatch error.
Configure the DCC module to continuously monitor the PLL output frequency.
Several bus masters on this microcontroller include their own memory protection units to protect
against accesses to certain parts of the memory map. It is recommended to ensure that violations of
these MPU restrictions are detected and flagged as ESM errors.
Configure the MPU for each bus masters.
Run a background check on the program Flash memory using CRC and DMA.
Calibrate the embedded ADC module for any offset error.
Run a self-test on all ADC inputs to ensure that they are not open or shorted to power or ground.
Run an I/O loop-back check on all peripheral signals.
Configure the windowed watchdog module service window size as well as the module response to a
window violation.
Configure the N2HET1/N2HET2 monitoring capability.
Setup the RTI module to generate periodic interrupts as necessary.
Configure desired access permissions for peripherals using the PCR registers.
Configure any external safety companion chip, e.g., TI TPS6538x, for online diagnostic operation.
2.35 Call the Main Application
This is a normal function call when using C/C++. It could be a branch or branch-link to the name of the
routine that executes the application.
For example:
main();
exit();
3 References
TMS570LSxxx7 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS162)
TMS570LSxxx5 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS164)
TMS570LSxxx4 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS165)
RM48Lx50 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS174)
RM48Lx40 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS175)
RM48Lx30 16/32-Bit Risc Flash Microcontroller Data Sheet (SPNS176)
TMS570LS31/21 16/32-Bit RISC Flash Microcontroller Technical Reference Manual (SPNU499)
RM48 16/32-Bit RISC Flash Microcontroller Technical Reference Manual (SPNU503)
15
SPNA106DMay 2013 Initialization of Hercules™ ARM
®
Cortex™-R4F Microcontrollers
Submit Documentation Feedback
Copyright © 2013, Texas Instruments Incorporated