Reset
C2000 Microcontroller Workshop - Reset and Interrupts 4 - 5
Emulation Boot Mode
Emulation Boot Mode
(TRST = 1)
If either EMU_KEY or EMU_BMODE
are invalid, the “wait” boot mode is
used. These values can then be
modified using the debugger and a
reset issued to restart the boot process
Emulation Boot
Boot determined by
2 RAM locations:
EMU_KEY and EMU_BMODE
Emulator Connected
EMU_KEY = 0x55AA ?
Boot Mode
Wait
Boot Mode
Parallel I/O
SCI
GetMode
SPI
I2C
OTP
CAN
M0 SARAM
FLASH
Wait
EMU_BMODE =
0x0000
0x0001
0x0003
0x0004
0x0005
0x0006
0x0007
0x000A
0x000B
other
Boot Mode
FLASH
Boot Mode
SCI
SPI
I2C
OTP
CAN
FLASH
OTP_BMODE =
0x0001
0x0004
0x0005
0x0006
0x0007
other
NO
NO
YES
YES
OTP_KEY = 0x005A ?
In emulation boot mode, first the EMU_KEY register is checked to see if it has a value of
0x55AA. If either EMU_KEY or EMU_BMODE are invalid, the wait boot mode is used. These
values can then be modified using the debugger and a reset issued to restart the boot process.
This can be considered the default on power-up. At this point, you would like the device to wait
until given a boot mode.
If EMU_KEY register has a value of 0x55AA, then the hex value in the EMU_BMODE register
determines the boot mode. The boot modes are parallel I/O, SCI, SPI, I2C, OTP, CAN,
M0SARAM, FLASH, and Wait. In addition, there is a GetMode, which emulates the stand-alone
boot mode.