Watchdog, Memory access, Read access – ADLINK Hurricane-QM57 User Manual
Page 18: Write access, 3 watchdog

SME-LEMT-R0V8
Revision 0.8
Page 14 of 22
Any combination of parameters is allowed. If only one value is requested (e.g. pwrcycles)
the output contains only the requested value without any descriptive text. This reduces the
effort to integrate the provided information in script or batch files.
Main supply current sampling: The SMC constantly samples the main supply current every
250ms and stores the last four values in an internal circular buffer. When the main power is
queried, the largest of the four values is discarded and the average of the lower three
samples is calculated and returned. The reason why the largest value is discarded is that the
invocation of the query command itself may wake up the CPU from any power saving or
sleep state and therefore may result in a higher current reading.
Please keep in mind that this algorithm only yields a rough estimation of the average main
supply current consumption over the last seconds and is not to be misunderstood as a
precisely measured value.
5.3 Watchdog
lemt wdt
The LEMT command line interface can be used to set, retrigger and disable the watchdog timer.
The watchdog timeout value is given in seconds and can be set to 1-65535 seconds. A setting of 0
seconds will disable the watchdog. When enabled, be sure to trigger the watchdog repeatedly within
the timeout period otherwise a system reset will be initiated.
Notes:
When using the watchdog feature, be sure to have all partitions mounted read-only.
Otherwise file system corruption and data loss may occur.
It is NOT advisable to use the watchdog feature under Windows since it is recommended to
restart a Windows environment using a safe shutdown procedure.
5.4 Memory Access
The LEMT command line interface can be used to access flash memory (read and write access).
Read Access
lemt read
Reads data from flash memory.
Start address
Valid start addresses: 0x0000..0x01FC/0x03FC (prefix “0x” can be omitted)
Number of bytes (must be a multiple of four)
Write Access
lemt write
Writes data to flash memory.
Data mode (a=ASCII, h=HEX)
Start address
Valid start addresses: 0x0000..0x01FC/0x03FC (prefix “0x” can be omitted)
Number of bytes (up to 32 bytes, must be a multiple of four)
Data to write to memory (prefix “0x” can be omitted in hex mode)
If contains less bytes than