TC1784
BootROM Content
User´s Manual
7-6
V1.1, 2011-05
BOOT_TC1784B, V1.21R12
Both communication partners evaluate the data message count DMSGC until the
requested number of CAN data frames has been transmitted.
After the reception of the last CAN data frame, the SSW starts the user code from
address D400’0000
H
.
7.5
Alternate Boot Modes
In these modes, program code is started from user-defined address but only if at least
one of the two check-conditions is satisfied. If both the conditions are false - a Bootstrap
Loader routine is started to download the code into the device, this code is afterwards
started by the SSW.
Check-condition true means a correct program code is available at the defined location.
The check condition itself is evaluated by calculating CRC sum over the content of a
defined memory range. All the information needed for the SSW to handle ABM startup
modes is collected into the so-called Headers. The checks are performed according to
two Headers defined inside the Internal Flash memory of the device.
Several Alternate Boot Modes (ABM) are available in TC1784, the differences are in:
•
which communication channel is used for code downloading upon an error in check-
condition: ASC or CAN.
The SSW flow in these modes is:
•
check the Headers - refer to the description in
Chapter 10.1.4.1
- and react
accordingly:
– if the check is OK for one of the Headers - set the User Start Address STADD to
the respective value from this correct header (STADABMx) and continue
– if both the Header-checks fail - start a Bootloader (ASC/Generic) corresponding to
the startup configuration. After downloading the code, the User Start Address
STADD is set to the beginning of PMI Scratchpad RAM at D400’0000
H
.
7.5.1
Header Check in Alternate Boot Modes
The Alternate Boot Modes (ABMs) are intended to start program code already available
at arbitrary user-defined address if a check-condition is satisfied. If the check-condition
fails - a Bootstrap Loader routine is invoked in accordance to the current startup mode.
The address of the code to be started together with all information needed to verify the
check-condition are contained in dedicated memory areas named ABM Headers. In any
Alternate Boot Mode of TC1784 two such Headers are defined - Header 0 and Header
1 (referred as ABM.HD0 and ABM.HD1), respectively user code can be started from up
to two different start addresses.
In TC1784 only Internal starts are supported as Startup Configurations, respectively the
ABM Headers can be only located in Internal Flash memory of the device, whereas the
locations are defined:
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...