This command allows reading data from the whole physical address space of the external EEPROM.
Request
NADR |
PNUM |
PCMD |
HWPID |
0 … 1 |
2 |
NADR |
0x04 |
0x02 |
? |
Address |
Length |
Address A physical address to read data from.
Length Length of the data to read in bytes. The allowed range is 0-54 bytes. Reading behind the maximum address range is undefined.
Response
NADR |
PNUM |
PCMD |
HWPID |
ErrN |
DpaValue |
0 |
… |
Len-1 |
NADR |
0x04 |
0x82 |
? |
0 |
? |
PData0 |
… |
PDataLen-1 |
Len Read data length.
Error codes
ERROR_ADDR Starting address is out of range.
ERROR_FAIL Error accessing serial EEPROM chip.