« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.8 - EraseMem (EraseCal)

The U6 uses flash memory that must be erased before writing. Command number 0x29 erases the entire user memory area. Command number 0x2C erases the entire calibration memory area. The EraseCal command has two extra constant bytes, to make it more difficult to call the function accidentally. Do not call this function while streaming.

Table 5.2.8-1. EraseMem Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 0x00 ( 0x01 )
3 0x29 ( 0x2C )
4 Checksum16 (LSB)
5 Checksum16 (MSB)
(6) (0x4C)
(7) (0x6C)
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 0x01
3 0x29 ( 0x2C )
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 0x00