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 |
L1 |
L2 |
0x30 |
D1...D16 |
C1 |
C2 |
C3 |
C4 |
Description
The factory reset command erases the complete Main Flash (application) memory and Non-main flash (configuration) memory.
Processing this command, is impacted by the factory reset configuration in the BCR configuration memory.
Factory reset is
Allowed without password, if 'Enabled'
Allowed with password, if 'Enabled with Password'
Not allowed, if 'Disabled'
When a flash region is static write protected in BCR configuration memory, the region can't be erased .
Protected
Yes
Data
16 byte factory reset password stored in the BCR configuration memory. The default password is all 0xFF. Password is required only when Factory reset is "Enabled with Password" in BCR configuration.
Command Returns
BSL Acknowledgment and BSL core response with Message about the Status of the operation. See GUID-20221116-SR0T-5XQF-V5HX-0PC5JLS5BBJ2.html for more details.
After doing the factory reset, until the Non-main configuration has been restored, the system is highly vulnerable to a potential lockout situation in which it is impossible to get access to the device again.
Example
Host: 80 01 00 30 DE 20 24 0B
BSL: 00 08 02 00 3B 00 38 02 94 82