Reset and Boot Process
4 - 8 TMS320F2837xD Microcontroller Workshop - Reset and Interrupts
Reset Code Flow – Summary
In summary, the reset code flow is as follows. After reset, the program counter is set to
0x3FFFC0, where the flow is vectored to the Init_Boot code in the Boot ROM. The Init_Boot code
defines the execution entry based on emulation boot mode or stand-alone boot mode. The entry
point can be executing boot-loading routines, entry to the flash, or M0 RAM.
Reset Code Flow - Summary
M0 RAM (1Kw)
FLASH (512Kw)
0x080000
0x000000
0x3F8000
0x3FFFC0
Boot ROM (32Kw)
BROM vector (64w)
* reset vector
Boot Code
•
•
•
•
RESET
Execution Entry
determined by
Emulation Boot Mode or
Stand-Alone Boot Mode
Bootloading
Routines
(SCI, SPI, I2C,
USB, CAN,
Parallel I/O)
InitBoot
0x000000
* reset vector = 0x3FF16A for CPU1; 0x3FEC52 for CPU2
0x080000
Emulation Boot Mode using Code Composer
Studio GEL
The CCS GEL file is used to setup the boot modes for the device during debug. By default the
GEL file provides functions to set the device for “Boot to SARAM” and “Boot to FLASH”. It can be
modified to include other boot mode options, if desired.
/********************************************************************/
/* EMU Boot Mode - Set Boot Mode During Debug */
/********************************************************************/
menuitem "EMU Boot Mode Select"
hotmenu EMU_BOOT_SARAM()
{
*0xD00 = 0x0A5A;
}
hotmenu EMU_BOOT_FLASH()
{
*0xD00 = 0x0B5A;
}
To access the GEL file use: Tools GEL Files