Bootstrap Loader Mode 2 - Can Boot Via Can Pins - Infineon Technologies TC1796 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

4.4.2

Bootstrap Loader Mode 2 - CAN Boot via CAN Pins

The CAN boot mode of the bootstrap loader provides a mechanism to load program
code/data via the MultiCAN module into the SPRAM, and start executing the loaded
code from address D400 0000
frame always transmits eight code/data bytes from the external host to the TC1796. The
number of data frames to be received in CAN boot mode is programmable and depends
on the required amount of code/data to be transmitted. The 16-bit data message count
value DMSGC determines the number of code/data bytes to be transmitted as
8 × MSGC with MSGC = 1 to 2
be loaded completely during CAN boot mode.
The communication between TC1796 and external host is based on the following three
CAN standard frames:
Initialization frame - sent by the external host to the TC1796
Acknowledge frame - sent by the TC1796 to the external host
Data frame(s) - sent by the external host to the TC1796
The initialization frame is used in the TC1796 for baud rate detection. After a successful
baud rate detection is reported to the external host by the acknowledge frame, data is
transmitted by data frames.
CAN standard frames used for CAN bootstrap loader.
Table 4-6
CAN Bootstrap Loader Frames
Frame Type
Parameter
Initialization
Identifier
Frame
DLC = 8
Data byte 0
Data byte 1
Data byte 2
Data byte 3
Data byte 4
Data byte 5
Data byte 6
Data byte 7
User's Manual
Reset, V2.0
(address of the first transmitted byte). A single data
H
16
. Therefore, the 48 Kbyte SPRAM of the TC1796 can
Table 4-6
shows the parameters and settings of the three
Description
11-bit, don't care
Data length code, 8 bytes transmitted within CAN frame
55
H
55
H
Acknowledge message identifier ACKID, low byte
Acknowledge message identifier ACKID, high byte
Data message count DMSGC, low byte
Data message count DMSGC, high byte
Data message identifier DMSGID, low byte
Data message identifier DMSGID, high byte
4-24
System Units (Vol. 1 of 2)
Reset and Boot Operation
V2.0, 2007-07
TC1796

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents