EasyManua.ls Logo

Texas Instruments TMS320F2837 D Series

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Reset and Boot Process
TMS320F2837xD Microcontroller Workshop - Reset and Interrupts 4 - 9
Getting to main()
After reset how do we get to main() ?
At the code entry point, branch to _c_int00()
Part of compiler runtime support library
Sets up compiler environment
Calls main()
.sect “codestart
LB _c_int00
CodeStartBranch.asm
MEMORY
{
PAGE 0:
BEGIN_M0 : origin = 0x000000, length = 0x000002
}
SECTIONS
{
codestart : > BEGIN_M0, PAGE = 0
}
Linker .cmd
Note: the above example is for boot mode set to RAMM0; to run out of Flash, the
codestartsection would be linked to the entry point of the Flash memory block
After reset how do we get to main? When the bootloader process is completed, a branch to the
compiler runtime support library is located at the code entry point. This branch to _c_int00 is
executed, then the compiler environment is set up, and finally main is called.

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Related product manuals