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 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
Structure
Header | Length | CMD | Address | Data | CRC32 | ||||
---|---|---|---|---|---|---|---|---|---|
0x80 | 0x09 | 0x00 | 0x29 | A1...A4 | L1...L4 | C1 | C2 | C3 | C4 |
Description
This command is used to readout the data starting from address A1...A4.
Readout should be enabled in the BSL configuration, to readout the data using this command. It is disabled by default in the BSL configuration.
Data readout is allowed for Main flash (application memory), Non-main Flash (configuration memory) and SRAM memory.
Protected
Yes
Address
Start address of the memory region to be read back. A1...A4, where A1 is the least significant byte of the 32 bit address.
Data
Size of the data to be read in bytes, L1...L4, where L1 is the least significant byte. Maximum size of the data that can be read is limited by the Buffer size of the device. Buffer size is known from Get Device Info command.
Command Returns
BSL Acknowledgment and BSL core response with requested data, if the readback command is valid. See GUID-20221116-SR0T-CQWN-JSQD-RC1B4TQW1BVH.html for more details.
If the readback command, had invalid address / length or if the readout was disabled, the corresponding error will be sent as the Message Response following the BSL acknowledgment.
Example
Host: 80 09 00 29 00 0C 00 00 08 00 00 00 32 9D B0 35
BSL: 00 08 09 00 30 FF FF FF FF FF FF FF FF F6 2B A1 73