2.2.21 ExitBoot Assembly Routine
The Boot ROM includes an ExitBoot routine that restores the CPU registers to their default state at reset. This
is performed on all registers with one exception. The OBJMODE bit in ST1 is left set so that the device remains
configured for C28x operation. This flow is detailed in the following diagram:
Reset
InitBoot
Yes
No
Call
BootLoader
?
Call ExitBoot
Cleanup CPU
registers to default
value after reset*
Call
SelectBootMode
Call Boot Loader
Deallocate stack
(SP=0x400)
Branch to EntryPoint
Begin execution
at EntryPoint
Figure 2-28. ExitBoot Procedure Flow
The following CPU registers are restored to their default values:
• ACC = 0x0000 0000
• RPC = 0x0000 0000
• P = 0x0000 0000
• XT = 0x0000 0000
• ST0 = 0x0000
• ST1 = 0x0A0B
• XAR0 = XAR7 = 0x0000 0000
After the ExitBoot routine completes and the program flow is redirected to the entry point address, the CPU
registers will have the values in
Boot ROM
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
235
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......