DLPU116 November 2024 DLPC3420
Parameter Bytes | Description |
---|---|
Byte 1 | Signature: Value = AAh |
Byte 2 | Signature: Value = BBh |
Byte 3 | Signature: Value = CCh |
Byte 4 | Signature: Value = DDh |
When this command is executed, the system will erase all sectors associated with the data type specified by the flash data type select command. As such, this command does not make use of the flash data length parameter
Since the process of erasing flash sectors can take a significant amount of time, the flash erase complete status bit in the read short status command should be checked periodically (not continuously) to determine when this task has been completed. This bit will be set at the start of the erase process, and will be cleared when the erase process is complete. Flash writes should not be started before the erase process has been completed.
While flash processing requires that flash commands be executed in the proper order (for example, flash must be erased prior to being written), due to the flexibility provided for flash updates, command order checking is not provided.
The signature bytes are used to minimize unintended flash erases. The command offset and four signature bytes must be received correctly before this command will be recognized and executed.