This section describes the commands required to update internal pattern data stored in flash. The following steps must be followed to successfully update pattern data:
- Generate your pattern data using the DLP® Display and Light Control EVM GUI. The .bin file generated by the “Save Pattern Data” button in GUI contains the pattern data to be sent through I2C.
- Ensure internal patterns are not currently running. If the controller is in internal pattern mode, use the Write Internal Pattern Control command (Section 3.4.13) to stop running internal patterns.
- Set flash data type to pattern data block using Write Flash Data Type Select (DEh) command.
- Check whether the generated .bin file can fit within the currently existing pattern data flash block using the Read Flash Update PreCheck (DDh) command.
- Erase existing pattern data using Write Erase Flash Data (E0h) command.
- Set flash data length to 1024 bytes using the Write Flash Data Length (DFh) command.
- Write the first 1024 bytes of pattern data using Write Flash Start (E1h) command.
- Write the remaining data in blocks of 1024 bytes using the Write Flash Continue (E2h) command.
Note: If the size of the pattern data is not a multiple of 1024 bytes, the last Write Flash Continue command will have less than 1024 bytes. In that case, use the Write Flash Data Length (DFh) command to update the Flash Data Length prior to the last Write Flash Continue command.
Note that the flash commands described in this section cannot be used within batch files.