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 |
RSP |
Data |
CRC32 | ||||
---|---|---|---|---|---|---|---|---|
0x08 |
0x05 |
0x00 |
0x32 |
D1...D4 |
C1 |
C2 |
C3 |
C4 |
Description
This command is used to verify the CRC of the data stored at the given memory range. This enables faster verification of the programmed data. It requires the data size to be minimum 1kB.
CRC verification is allowed for Main flash (application memory), Non-main Flash (configuration memory) and SRAM memory.
SRAM memory is not fully accessible by the Host. Refer GUID-20221116-SR0T-CR07-GX5T-K8FLKCTN1ZBQ.html for more details.
Protected
Yes
Address
Start address of the memory region to be verified. A1...A4, where A1 is the least significant byte of the 32 bit address.
Data
Size of the data to be verified in bytes, L1...L4, where L1 is the least significant byte. 1kB <= size <= 64 KB.
Command Returns
BSL Acknowledgment and BSL core response with CRC value calculated for the requested memory region. Refer GUID-3B2B31E6-93D9-4001-ACA9-1E4C5EBFF500.htmlfor more details.
If the verification command, had invalid address / length, the corresponding error will be sent as the Message Response following the BSL acknowledgment. Refer GUID-20221116-SR0T-5XQF-V5HX-0PC5JLS5BBJ2.html.
Example
Host: 80 09 00 26 00 00 00 20 00 04 00 00 A0 97 D5 2E
BSL: 00 08 02 00 3B 05 B7 F6 FE F2