Swdt_Stop; Swdt_Stat - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

5. Configuring Software Environment
Table 5‒42: List of swdt_start command error messages
No.
1
swdt_start: device is not
found.
2
swdt_start: not a super-user.
3
swdt_start: can not execute.
4
swdt_start: swdt_start library
error.(errno=XX)
5.18.17 swdt_stop
<Name>
swdt_stop - Temporarily stop the software WDT.
<Format>

swdt_stop

<Description>
Running this command with root privileges temporarily stops software WDT (fixed priority process in-loop
monitoring).
Note that this command temporarily stops the running software WDT. After the unit is restarted, the operation of
the software WDT follows the definition of the INLOOP symbol in the /hitachi/etc/swdt.conf file.
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒43: List of
swdt_stop command error messages below shows error messages that are output when an error is detected.
Table 5‒43: List of swdt_stop command error messages
No.
1
swdt_stop: device is not
found.
2
swdt_stop: not a super-user.
3
swdt_stop: swdt_stop library
error.(errno=XX)
5.18.18 swdt_stat
<Name>
swdt_stat - Check the current monitoring status of the software WDT.
<Format>

swdt_stat

<Description>
This command displays the current operating status of software WDT (fixed-priority process in-loop monitoring).
<Display example>
• If monitoring is running
Soft-WDT is running.
124
Error message
Error message
Description
The driver for the software WDT has not started or the device
file for accessing the driver cannot be opened.
The command is not run with root privileges.
The command cannot run because the monitoring definition
(INLOOP) in the swdt.conf definition file is set to OFF.
An attempt to issue the library for restarting the software WDT
failed.
XX: Relevant error number
Description
The driver for the software WDT has not started or the device
file for accessing the driver cannot be opened.
The command is not run with root privileges.
An attempt to issue the library for pausing the software WDT
failed.
XX: Relevant error number

Advertisement

Table of Contents
loading

Table of Contents