« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.3.12 - EraseMem

The UE9 uses flash memory, so you must erase it before writing. The non-volatile Mem area is arranged in 16 blocks of 128 bytes each. Blocks 0-7 are used by LabJack Corporation to store calibration data, and blocks 8-15 are available to the user. The EraseMem function erases 1 Kbyte at a time (blocks 0-7 or blocks 8-15). There is no way to erase only a smaller area.

Table 5.3.12-1. EraseMem Command Response

Command:    
Byte    
0 Checksum8  
1 0xF8  
2 0x01  
3 0x29  
4 Checksum16 (LSB)  
5 Checksum16 (MSB)  
6 EraseArea (LSB)  
    0x00: Blocks 8-15
    0x4C: Blocks 0-7
7 EraseArea (MSB)  
    0x00: Blocks 8-15
    0x4A: Block 0-7
     
     
Response:    
Byte    
0 Checksum8  
1 0xF8  
2 0x01  
3 0x29  
4 Checksum16 (LSB)  
5 Checksum16 (MSB)  
6 Errorcode  
7 0x00