SLAU887 February 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
Structure
Header | Length | CMD | Data | CRC32 | ||||
---|---|---|---|---|---|---|---|---|
0x80 | 0x21 | 0x00 | 0x21 | D1...D32 | C1 | C2 | C3 | C4 |
Description
The command is used to unlock the bootloader. Only after bootloader unlock, all the protected commands listed in GUID-20221116-SR0T-R75W-X1D9-JSHP05TFFXKG.html are processed by the BSL.
If the host sends an incorrect password, the BSL sends the error response, then device enters sleep mode for 2 seconds. During this 2-second window, no command is received or processed. After 2 seconds, the host can send the next password. If an incorrect password is sent 3 times, a security alert action is taken. The security alert action is configurable in the BSL configuration. See GUID-20221116-SR0T-FR2G-2KCV-TXHBC00TNWN2.html for more details.
Protected
No
Data
32 byte BSL password stored in the BSL configuration memory. Fresh device would have the default value all 0xFF.
Command Returns
BSL Acknowledgment and BSL core response with Message about the Status of operation. See section BSL Core Message for more details.
Example
Host: 80 21 00 21 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 02 AA F0 3D
BSL: 00 08 02 00 3B 00 38 02 94 82