Force_Restart; Swdt_Start - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒40: List of
wdtstat command error messages below shows error messages that are output when an error is detected.
Table 5‒40: List of wdtstat command error messages
No.
1
wdtstat: device is not found.
2
wdtstat: wdtstat library
error.(errno=XX)
5.18.15 force_restart
<Name>
force_restart - Forced restart function
<Format>

force_restart

<Description>
Running this command with root privileges forcibly resets and restarts the CPU within approximately 15 to 30
seconds.
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒41: List of
force_restart command error messages below shows error messages that are output when an error is detected.
Table 5‒41: List of force_restart command error messages
No.
1
force_restart: device is not
found.
2
force_restart: not a super-
user.
5.18.16 swdt_start
<Name>
swdt_start - Restart the software WDT.
<Format>

swdt_start

<Description>
Running this command with root privileges restarts software WDT (fixed priority process in-loop monitoring) that
is temporarily stopped. However, because the definition of fixed priority process in-loop monitoring has a higher
priority, if the command is issued when monitoring has stopped by /hitachi/etc/swdt.conf (OFF is
defined for the INLOOP symbol), the command terminates abnormally without restarting monitoring. If the
command is issued when monitoring has already started, the command terminates normally without doing
anything.
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒42: List of
swdt_start command error messages below shows error messages that are output when an error is detected.
Error message
Error message
5. Configuring Software Environment
Description
The driver for hardware WDT has not started or the device file
for accessing the driver cannot be opened.
An error other than above occurred in the wdtstat library.
XX: Relevant error number
Description
The driver for the hardware WDT has not started or the device
file for accessing the driver cannot be opened.
The command is not run with root privileges.
123

Advertisement

Table of Contents
loading

Table of Contents