DLPU110B April 2021 – August 2022 DLPC6540
The bootloader is the first application that runs from the flash memory when the system is turned on or reset. The bootloader application copies itself from flash to internal RAM for execution. This application performs flash update (erase, program). It also identifies a valid main application in the flash and only then begins to run the main application. This application reads the GPIO_64 (HOLD_BOOTZ) signal at the startup and if the signal reads 0, the application remains in the boot application mode. This useful option forces the firmware to update in case the main application on the flash is corrupted. Use the DLP Control Program to update the flash firmware.
Table 4-1 lists all commands supported by the booloader application for flash update. Figure 4-1 depicts the example usage of bootloader commands for updating the flash contents.
Command | Description |
---|---|
Boot Hold Reason | Reason for controller to be in Boot Application mode. |
Get Flash ID | Returns the Flash ID |
Get Flash Sector Info | Retrieve flash number of sectors and sector size information |
Flash Lock/Unlock | User must send this command to unlock the flash for erase/program access. This is to prevent accidental erase/programming of flash data. |
Erase Sector | Command to erase sector – user to provide sector address as input |
Initialize Flash Read/Write | Command to specify start address on the flash along with # of bytes to be written or readback |
Get Checksum | Command to compute checksum and return it. Command takes flash address and number of bytes to compute the checksum. |