7 Data Frame
7.1 Data-Stream Structure
Data Frame
To get high data security during the data transmission, a data frame protocol called serial standard
protocol (SSP) is used. The BSL is considered the receiver in Table 1 .
For more information on serial standard protocol (SSP), see the TI application report, Application of
Bootstrap Loader in MSP430 With Flash Hardware and Software Proposal, literature number SLAA096.
• The first 8 bytes (HDR through LH) are mandatory (xx represents dummy data).
• Data bytes D1 to Dn are optional.
• Two bytes (CKL and CKH) for checksum are mandatory.
• Acknowledge done by the BSL is mandatory, except with the TX data block and TX BSL version
commands.
Table 1. Data Frame of BSL Commands
(1) (2) (3) (4) (5)
Received
BSL HDR CMD L1 L2 AL AH LL LH D1 D2 … Dn CKL CKH ACK
Command
RX data block 80 12 n n AL AH n–4 0 D1 D2 … Dn–4 CKL CKH ACK
RX password 80 10 24 24 xx xx xx xx D1 D2 … D20 CKL CKH ACK
Erase segment 80 16 04 04 AL AH 02 A5 – – – – CKL CKH ACK
Erase main or info 80 16 04 04 AL AH 04 A5 – – – – CKL CKH ACK
Mass erase 80 18 04 04 xx xx xx xx – – – – CKL CKH ACK
Erase check 80 1C 04 04 AL AH LL LH – – – – CKL CKH ACK
Change baud rate 80 20 04 04 D1 D2 D3 xx – – – – CKL CKH ACK
Set mem offset 80 21 04 04 AL AH xx xx – – – – CKL CKH ACK
Load PC 80 1A 04 04 AL AH xx xx – – – – CKL CKH ACK
TX data block 80 14 04 04 AL AH n 0 – – – – CKL CKH –
BSL responds 80 xx n n D1 D2 ... ... … ... … Dn CKL CKH –
TX BSL version 80 1E 04 04 xx xx xx xx – – – – CKL CKH –
BSL responds 80 xx 10 10 D1 D2 ... ... … … … D10 CKL CKH –
(1)
All numbers are bytes in hexadecimal notation.
(2)
ACK is sent back by the BSL.
(3)
The synchronization sequence is not part of the data frame.
(4)
The erase check and TX BSL version commands are not members of the standard command set (V1.50 or higher).
(5)
The change baud rate command is not a member of the standard command set (V1.60 or higher or in loadable
BL_150S_14x.txt).
SLAA089D – December 1999 – Revised August 2006 Features of the MSP430 Bootstrap Loader 5
Submit Documentation Feedback