Startup
Atollic TrueSTUDIO® includes readymade support for booting the CPU, initializing the runtime environment and starting the C/C++ application. The following steps are needed to start an embedded system:
- Initializing the interrupt vector table with a reset interrupt handler
- Initializing the stack pointer to an address in RAM
- Call SystemInit()to enable further hardware initializations from C
- Copying constant initialized variable data from Flash to RAM
- Calling constructors (C++ only)
- Jump to main()
Our startup code provides the above functions, and once the above reset sequence is performed, control is transferred to main() and the C/C++ application.
Some or all the features described on this page may not be available in all product versions. Please read the feature comparison for detailed information on what features are available in different product versions.