DLPU081B January 2019 – January 2024 DLPC3479
Parameter Bytes | Description |
---|---|
Byte 1 | Data byte 1 |
Byte 2 | Data byte 2 |
Byte 3 | Data byte 3 |
Byte 4 | Data byte 4 |
Byte 5 … n | Data byte 5 … n |
The flash data length command must be used to specify how much data will be sent by the write flash start command.
The write flash start command is used to write up to 1024 bytes of data starting at the first address of the data type selected. If more than 1024 bytes are to be written, the write flash continue command must be used. Up to 1024 bytes of data can be written with each write flash continue command, which starts at the end of the last data written.
The flash error bit of the write short status command will indicate if the flash update was successful. This bit will be set for an error at the end of each write transaction, however, once an error has been detected, this bit will remain in the error state until a new data type is selected (selecting a new data type will clear this bit). This will allow the user the option of checking the status between each write transaction, or at the end of the update of a specific data type. Once a write transaction has started, the flash status (and this error bit) will not be accessible until the write transaction has 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.