Bootloader Protocol
Data
0x56
4.2.2 Peripheral Configuration
4.2.2.1 UART
UART is enabled with following configuration:
•
UART0 is used
•
Baud rate 9600 bps by default. It can be updated by Change Baud Rate command
•
Data width: 8 bit
•
Stop bits: 1
•
No parity
•
Pins used for RXD and TXD are taken from the BSL configuration
4.2.2.2 I2C
The I2C interface in the BSL can act as the I2C target. The host acts as a controller and drives the
communication.
•
I2C0 is used
•
The I2C target address is 0x48, by default. It can be configured in BSL Configuration
•
External pullup is needed for SCL and SDA lines
•
Pins used for SDA and SCL are taken from the BSL configuration
•
The BSL does not validate the details of the pins configured in the non-main for the UART and I2C
interfaces. The BSL expects the pin configuration to be correct.
•
Do not use the same pins for both UART and I2C.
4.2.2.3 CRC
CRC for the data must be calculated with:
•
CRC32-ISO3309 polynomial
•
Bit reversed configuration
•
Initial seed - 0xFFFFFFFF
4.3 Bootloader Core Commands
BSL Command
Protected
CMD Connection
CMD Unlock
Bootloader
CMD Flash Range
Erase
CMD Mass Erase
CMD Program Data
CMD Program Data
Fast
CMD Memory Read
back
CMD Factory Reset
CMD Get Device
Info
CMD Standalone
Verification
CMD Start application
10
MSPM0 Bootloader
BSL_ERROR_UNKNOWN_BAUD_RATE
CMD
No
0x12
No
0x21
Yes
0x23
Yes
0x15
Yes
0x20
Yes
0x24
Yes
0x29
Yes
0x30
No
0x19
Yes
0x26
No
0x40
Copyright © 2023 Texas Instruments Incorporated
Meaning
Note
Start Address
Data (Bytes)
-
-
D1...D32 (Password)
A1...A4
A1...A4 (End address)
-
A1...A4
A1...A4
A1...A4
-
D1...D16 (Password)
-
A1...A4
-
www.ti.com
BSL Core response
-
No
Yes
Yes
-
Yes
D1...Dn,
Yes
D1...Dn,
No
L1...L4
Yes
Yes
-
Yes
L1...L4
Yes
-
No
SLAU887 – FEBRUARY 2023
Submit Document Feedback
Need help?
Do you have a question about the MSPM0 and is the answer not in the manual?