DLPU048E August 2016 – July 2024
This command is used to read data from the flash device. A flash data block is selected for reading and the read will occur relative to that block's location in flash.
For most flash data types, the start address has two possible values: 0x0000 indicates start at the beginning of the selected block type. 0xFFFF indicates start where the last read operation ended for continuous reading.
For scratchpad data types, the start address can be any 32-bit aligned address (0x0, 0x4, 0x8, ...). This unique case allows for partial reading of specific regions of scratchpad data.
Command Parameters
BYTE | BITS | DESCRIPTION |
---|---|---|
1 | 7:0 | Flash Data Type Refer to Table 8-83 for options. |
3:2 | 15:0 | Start Address First byte of flash memory to read Most flash data types:
Scratchpad data types: Relative 32-bit aligned address (0x0, 0x4, 0x8, ...) |
4 | 15:0 | Read Data Length 0-based number of bytes to read (0x0 = 1 byte) Must be a multiple of 4 and the maximum is 256 bytes (0xFF) |
The flash data types are described in Table 8-83.
FLASH DATA TYPE VALUE | DESCRIPTION |
---|---|
0x00 | Entire flash |
0x01 | Entire flash except scratchpad data |
0x30 | Main Application |
0x40 | Configuration Data 0 |
0x48 | Configuration Data 0 Flash Information Field |
0x50 | Configuration Data 1 |
0x58 | Configuration Data 1 Flash Information Field |
0x60 | Batch Command Sets |
0x68 | Batch Command Sets Flash Information Field |
0x78 | System Data Flash Information Field |
0x90 | Splash Data 0 |
0x91 | Splash Data 1 |
0x92 | Splash Data 2 |
0x93 | Splash Data 3 |
0x94 | Splash Data 4 |
0x95 | Splash Data 5 |
0x96 | Splash Data 6 |
0x97 | Splash Data 7 |
0x98 | Splash Data 0 Flash Information Field |
0x99 | Splash Data 1 Flash Information Field |
0x9A | Splash Data 2 Flash Information Field |
0x9B | Splash Data 3 Flash Information Field |
0x9C | Splash Data 4 Flash Information Field |
0x9D | Splash Data 5 Flash Information Field |
0x9E | Splash Data 6 Flash Information Field |
0x9F | Splash Data 7 Flash Information Field |
0xA0 | Scratchpad Data 0 |
0xA1 | Scratchpad Data 1 |
0xA2 | Scratchpad Data 2 |
0xA3 | Scratchpad Data 3 |
0xB8 | Calibration Data Flash Information Field |
Return Parameters
BYTE | BITS | DESCRIPTION |
---|---|---|
1 ... n | Read Data Bytes Data bytes read from flash beginning at the commanded start address. The number of bytes, n, is determined by the commanded read data length. |