DLPU114A August 2024 – November 2024 DLPC8445
This command is used to program data to flash. This command shall be called only after setting the start address and size using the Initialize Flash Read Write Settings command. This command is a flash update command and requires flash operations to be unlocked using Unlock Flash for Update command. Flash Write commands can be chained until the initialized number of bytes are programmed. The BootROM will auto-increment the address and size for each command. Only the initialized number of bytes will be programmed even if more data is provided. It is important to send only multiple of 4 number of bytes per flash write command to ensure all bytes are written. This is done so that all flash writes are optimized as per the multi-word write supported by the flash device. For SPI communication, SSP buffer size is 64 bytes. The Host needs to send 65 bytes (64 bytes data + 1 dummy byte - needed for mode 0 operation). This command supports variable sized payload. Number of bytes to write is always expected to be a multiple of 4 bytes. The command fails if the number of bytes requested to write is not a multiple of 4 bytes.