XC886/888CLM
Bootstrap Loader
User’s Manual
18-20
V1.3, 2010-02
Bootstrap Loader, V1.0
send a block-type error. PC Host will then have to re-send the whole series of blocks
(Header, Data and EOT Blocks).
Not used
: This byte is not used and will be ignored in Mode 0/2/8.
Fast_Prog
: Indication byte to enter Fast LIN BSL
•
01
H
: Enter Fast LIN BSL
•
Other values: Ignored. Fast LIN BSL is not entered.
Note: The
Block-Length
used in UART BSL is not implemented here, as a Diagnostic
LIN frame has a standard 8 data bytes structure, followed by the checksum.
When this Command LIN frame (Header Block) is used for entering Fast LIN BSL, no
other Master Request Header and Command LIN frames (for Data Block or EOT Block)
should be received. Instead, the microcontroller will receive a Slave Response Header
LIN frame and send a Response LIN frame to acknowledge receiving correct header
block to enter Fast LIN BSL where UART BSL protocol is used. See
.
On successfully receipt of the Header Block, the microcontroller enters Mode 0/2/8,
whereby the program code is transmitted from the host to the microcontroller by Data
Block and EOT Block, which are described below.
The Data Block
Description:
Program Code
: The program code has a fixed length of 6 bytes per Data Block.
Note: No empty Data Block is allowed.
The EOT Block
Description:
Last_Codelength: This byte indicates the length of the program code in this EOT Block.
Program Code:
The last program code (valid data) to be sent to the microcontroller.
Not used
: The length is (LIN_Block_Length
1)
-4-Last_Codelength). These bytes are not
used and they can be set to any value.
1) LIN_Block_Length is always 9 bytes, inclusive of a NAD and a checksum.
Data Block
01
H
Program Code
(6 bytes)
Checksum
(1 byte)
NAD
(1 byte)
EOT Block
02
H
Program Code
Checksum
(1 byte)
Last_Codelength
(1 byte)
Not Used
NAD
(1 byte)
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...