This command allows writing data to the address space of the external EEPROM.
Request
NADR |
PNUM |
PCMD |
HWPID |
0 … 1 |
2 |
… |
n+2 |
NADR |
0x04 |
0x03 |
? |
Address |
Data0 |
… |
Datan-1 |
Address The allowed address range is 0x0000-0x3FFF.
Data Actual data to be written to memory.
n Length of the data to write in bytes. The allowed range is 1-54 bytes.
Response
The general response to writing request with STATUS_NO_ERROR Error code.
Error codes
ERROR_ADDR Starting address is out of range.
ERROR_FAIL Error accessing serial EEPROM chip.