TI Starterware vs Self-Built CCS Project Default ARM Mode Differences

Explains why TI Starterware projects and self-built CCS projects differ in default ARM mode, including startup, C initialization, and mode switching.


TI Starterware vs Self-Built CCS Project Default ARM Mode Differences - cover page
Brand
TI
Category
Programming
Document type
Application Note
Language
Chinese
Pages
7
File format
PDF
File size
443 KB
Published
19 November, 2026
Updated
19 November, 2026
MD5 checksum
5B967966A2DAC0B19684ABB7296EEE72

About this manual

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.

What's inside

  • ARM processor modes
  • Privilege levels
  • Starterware project startup
  • Self-built CCS project startup
  • C runtime initialization (_c_int00)
  • Entry versus _c_int00
  • Exception vector table
  • SWI mode switching

Frequently asked questions

Why does a self-built CCS project end up in user mode at main?

The C runtime entry point _c_int00 switches the processor to user mode before calling main.

Why can a Starterware project switch ARM modes with SWI while a self-built CCS project cannot?

Starterware initializes the exception vector table before main, while a self-built project has not initialized it.

How does a Starterware project avoid starting at _c_int00?

Its command file adds -e Entry, so execution starts at Entry instead.

Download PDF (443 KB)

More TI Manuals


View all TI manuals →