Host Protocols Direct Protocol DFU class CLEAR STORAGE
April 13, 2023 at 2:39 AMDFU CLEAR_STORAGE
Role
Clear the whole NVM (SPI flash).
Important disclaimer
This instruction erases everything from the NVM, including the Authenticity stamp that proves that the hardware has been genuinely manufactured or approved by SpringCard. In other words, after calling this instruction, all the device’s authenticity checks will fail and normal operation will stop. Restoring the earlier state is not possible outside of SpringCard factories
INVOKING THIS INSTRUCTION MAKES THE DEVICE USELESS AND VOIDS THE WARRANTY.
In other wordsand to make it perfectly clear, never invoke this instruction.
Command
Field | Value |
---|---|
CLA | 5D (DFU) |
INS | 09 |
Data | Constant value, disclosed by SpringCard under NDA only. |
Response
Byte | Name | Description |
---|---|---|
0 | STAtus | 00 (SUCCESS) if execution is OK; see List of STAtus for error codes |