Explains why TI Starterware projects and self-built CCS projects differ in default ARM mode, including startup, C initialization, and mode switching.
This note compares TI Starterware projects with self-built CCS projects and explains how ARM processor modes, privilege levels, and startup code affect the mode seen at main.
It covers the seven ARM modes, the _c_int00 C runtime initialization, Starterware's Entry startup and vector table setup, and why SWI-based mode switching works in Starterware projects but not in an uninitialized self-built project. This manual is written in Chinese.
The C runtime entry point _c_int00 switches the processor to user mode before calling main.
Starterware initializes the exception vector table before main, while a self-built project has not initialized it.
Its command file adds -e Entry, so execution starts at Entry instead.