This command writes data (from 1 to 60 bytes) to the requested EEPROM address. Afterwards, it writes USB FX2 firmware, reads back data from EEPROM and returns it in a reply packet.
Byte | Value | Description |
---|---|---|
1 | 0xA9 | EEPROM_WRITE command ID |
2 | AddrHigh | High part of address (address [15:8]) |
3 | AddrLow | Low part of address (address [7:0]) |
4 | size | Number of bytes to write (max 60) |
From 5 to size+4 | data | Data to write (size bytes) |
From size+5 to 64 | - | Not used |
Reply packet contains readback data.
Byte | Description |
---|---|
From 1 to size | Readback result |
From size to 64 | Not used |