TC1796
System Units (Vol. 1 of 2)
Reset and Boot Operation
User’s Manual
4-19
V2.0, 2007-07
Reset, V2.0
4.3.3
Initial State after Boot ROM Exit
The Boot ROM code is always executed after every reset operation. Depending on the
program flow through the Boot ROM code and the Boot ROM exit path, several
resources of the TC1796 on-chip hardware have been used and have been
programmed. This means that the state of on-chip hardware resources that have been
used by the Boot ROM code may differ from the device reset state as described by the
register reset values. This section describes which initial state of the on-chip hardware
resources is left after a specific Boot ROM exit.
Table 4-4
Hardware Status after Boot ROM Exit
Boot ROM Exit Path
State of On-Chip Hardware Resources
For all boot modes
CPU registers D[15:0] and A[15:0] are changed (note that its
reset values are XXXX XXXX
H
);
Memory locations in LDRAM are used:
D000 0000
H
- D000 000F
H
: updated with unique Chip ID
D000 0010
H
- D000 0107
H
: updated with Boot ROM data
SCU_STAT[15:13] are set to 001
B
. FLASH_MARP.TRAPDIS
and FLASH_MARD.TRAPDIS are cleared;
FLASH_FCON.WSWLHIT is set to 110
B
Branch to test modes
Only applicable for test purposes
Execute debug boot
options
The following registers have been changed:
CPR0_0L, CPM0, and TR0EVT
Exit of Bootstrap loader
mode 1 (ASC0)
P5_IOCR0 has been changed (P5.1/TXD0A); ASC0 module
is initialized and enabled; PLL_CLC has been changed
Exit of Bootstrap loader
mode 2 (CAN)
P6_IOCR8 has been changed (P6.9/TXDCAN0); MultiCAN
module is initialized and enabled; registers of CAN node 0,
message object 0, and message object 1 have been used;
PLL_CLC has been changed
Exit of Bootstrap loader
mode 3 (ASC0)
P6_IOCR8 has been changed (P6.9/TXD0B); ASC0 module
is initialized and enabled; PLL_CLC has been changed
Boot from emulation
memory
EBU_CON has been changed
Boot from PFLASH
No further changes
Alternate boot from
PFLASH
Memory checker module has been used
Boot from EBU
No further changes
Alternate boot from EBU Memory checker module has been used
Execute Stop Loop
BTV has been changed