DLPU114A August 2024 – November 2024 DLPC8445
For large data handling commands such as flash download and flash read, the user can allow some commands to support variable number of data bytes. To support this use case the commands that require variable data size is mandated to include length as part of the command packet header. The command handler uses the given length to decode the received command packet and execute correctly. Similar to the command packet the data in the response packet may also be variable. The command handler includes length in the response packet header for such commands.
The command protocol is designed to support commands up to a length of 65535 bytes (2-byte length field). However, due to memory segmentation, the command handler implementation is limited to a maximum size of 512 bytes in a command packet (this includes all bytes in the command such as header, checksum, and so on).