The GET_DATA (0x07) command reads the requested data from the device. This command is normally used to allow the host/PC GUI software to perform programming verification operations, by reading back a program region that has just recently been reprogrammed (and check it against the original input .hex file contents for that location). The Size field is the number of bytes to be read from the device.
Table: GET_DATA command format (sent from host to device)
Packet Byte |
Content |
0 |
GET_DATA(0x07) |
1-4 |
Address |
5 |
Size (1-58 bytes) |
6-63 |
(padding) |
The response to the GET_DATA command is almost identical to the PROGRAM_DEVICE command format. The address and size fields of the response packet must match the command packet requesting the data.
Table: GET_DATA response format (sent from device to the host)
Packet byte |
Content |
0 |
GET_DATA(0x05) |
1-4 |
Address |
5 |
Size (1-58 bytes) |
6-(n) |
Padding (0-57 bytes) |
(n+1) |
Data Payload |
MLA - USB Library Help Version : 2.16
![]() |