Reads 1 block (32 bytes) from the non-volatile user or calibration memory. Command number 0x2A accesses the user memory area which consists of 512 bytes (block numbers 0-7). Command number 0x2D accesses the calibration memory area consisting of 512 bytes (block numbers 0-15), of which the last 6 blocks are not used. Do not call this function while streaming.
Note that the U6 has 512 Bytes of user memory, but only 256 Bytes are accessible when using the LJ_chUSER_MEM function in the UD driver.
Table 5.2.6-1. ReadMem command response
Command: | |
Byte | |
0 | Checksum8 |
1 | 0xF8 |
2 | 0×01 |
3 | 0×2A (0×2D) |
4 | Checksum16 (LSB) |
5 | Checksum16 (MSB) |
6 | 0×00 |
7 | BlockNum |
Response: | |
Byte | |
0 | Checksum8 |
1 | 0xF8 |
2 | 0×11 |
3 | 0×2A (0×2D) |
4 | Checksum16 (LSB) |
5 | Checksum16 (MSB) |
6 | Errorcode |
7 | 0×00 |
8-39 | 32 Bytes of Data |