wdtkick

QNX Board Support Packages8.0BSP User's GuideNXP S32G399 RDB3NXPNXPARM

Watchdog Timer Module

Syntax:

wdtkick [options] [-B|Woptions] [-B|W[options] -B|W[options] ...]
        

Runs on:

QNX OS

Options:

Watchdog options can be defined in the command line or stored in hwinfo section of the syspage via startup.

-a address
The watchdog timer register's physical base address.
-l length
The watchdog timer register's size (in bits). For example, 64 indicates a 64-bit size register. The default is 0x1000.
-p priority
The priority of the watchdog timer. The default is 10.
-t time_milliseconds
The kick-time interval in milliseconds. The default is 10 milliseconds when this option isn't specified.
Note:
The default watchdog timeout is set in the hardware/startup/boards/s32g/s32g_init_wdg.c file.
-w write width
The width of the WDOG write register in bits. The default is 32 bits.
-r enable width
The width of the WDOG enable register in bits. The default is 32 bits.
-E OFFSET:MASK[:ENABLE]
Write to register at OFFSET to enable the watchdog timer:
  • OFFSET - The offset from the base register.
  • MASK - The mask of the bits in the enable condition.
  • ENABLE - The enable condition, defaults to MASK value.
-B OFFSET[:VALUE]
Kick timer by the swapping register's bits. The offset and value to use with the watchdog kicker. If a value is not specified then 0xFFFFFFFF will be used. Use one of these entries per register that must be written.
-W OFFSET:VALUE
Kick timer by writing a value to it. The offset and value to write to the watchdog kicker. Use one of these entries per register that must be written.
-v
Enable verbosity.

Example:

wdtkick -t 5000
Refer to wdtkick in the QNX OS Utilities Reference guide of the QNX SDP 8.0 documentation for more information.
Page updated: