DLPU116 November 2024 DLPC3420
Table 3-114 describes the return parameters.
MSB | Byte 1 - Flash PreCheck Results | LSB | |||||
---|---|---|---|---|---|---|---|
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
Bit | Type | Description |
---|---|---|
7-3 | R | Reserved |
2 | R | Package configuration (identifier) 0h = No error 1h = Error |
1 | R | Package configuration (collapsed) 0h = No error 1h = Error |
0 | R | Package size 0h = No error 1h = Error |
This command is used in conjunction with the flash data type select command. This command would be sent after the flash data type has been selected, but before any other flash operation. The purpose is to verify that the desired flash update is compatible, and will fit within the existing flash space, for the current flash configuration.
The flash build data size specifies the size of the flash update package in bytes.
When the controller software receives the flash build data size, it will verify that the package is appropriate for the specified location. This includes size, identifier, sequence build type, and so forth.
A package size error indicates that the flash package is too large to fit into the specified location. A few examples are listed:
A package configuration error indicates that the flash package is not appropriate for the flash update requested. An example is listed below.
If an error is returned by this command, the user is responsible for correcting the error before updating the flash. If the user chooses to ignore the error and update the flash anyway, the system will allow this. In this case, the user is responsible for any problems or system behaviors that arise from this. It should also be noted that this pre-check does not cover all possible mismatches that might arise when replacing blocks or partial blocks in the flash.