Command:
Byte
0
Checksum8
1
0xF8
2
0x41
3
0x28
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
0x00
7
BlockNum
8-135
Data
Response:
Byte
0
Checksum8
1
0xF8
2
0x01
3
0x28
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
Errorcode
7
0x00
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.
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
5.3.13.1 - WatchdogConfig
Controls a firmware based watchdog timer. Unattended systems requiring maximum up-time might use this capability to reset the
UE9 or the entire system. When any of the options are enabled, an internal timer is enabled which resets on any incoming Control
communication. If this timer reaches the defined TimeoutPeriod before being reset, the specified actions will occur. Note that while
streaming, data is only going out of the Control processor, so some other Control command will have to be called periodically to
reset the watchdog timer.
If the watchdog is accidentally configured to reset the processors with a very low timeout period (such as 1 second), it could be
difficult to establish any communication with the device. In such a case, the reset-to-default jumper can be used to turn off the
watchdog (sets bytes 7-10 to 0). Power up the UE9 with a short from FIO2<=>SCL, then remove the jumper and power cycle the
device again. This also returns Comm (Section 5.2.1) and Control (Section 5.3.2) settings to factory defaults.
66
Содержание UE9
Страница 84: ...84 ...