Example wdt programming procedure – ADLINK cPCI-3510 Series User Manual
Page 99
Watchdog Timer
85
cPCI-3510
Example WDT Programming Procedure
Configuration of the watchdog timer is via serial interface. A
detailed description of the WDT IPMI commands can be found
above. The following example shows the procedure for configuring
the WDT works over a serial console. See “Communications with
IPMC” on page 129. for more information.
Figure 7-1: Example procedure for configuring the WDT over serial console
1. Configure the WDT by using the raw IPMI command
"Set Watchdog Timer" described above.
"Set Watchdog Timer" Command:
[18 00 24 43 01 01 08 50 00]
Description:
0x18: Net function. Defined in IPMI specification
0x00: Bus ID. Usually "0x00".
0x24: Command. Defined in IPMI specification.
0x43: Set "Don’t stop timer" and "OS Load".
0x01: Hard Reset.
0x01: Pre-timeout interval in seconds.
0x08: Timer Use Expiration flags cleared by OS Load.
0x50: Initial countdown value. Sets the interval
before watchdog timer expires.
80 count: 100ms * 80 = 8000 ms = 8 seconds
Successful response to command:
[1C 00 24 00]
[18 00 24 43 01 01 08 50 00]
=> Step 1: Set parameters to WDT
[1C 00 24 00]
=> Step 1: Response of setting OK.
[18 00 22]
=> Step 2: Trigger WDT
[1C 00 22 00]
=> Step 2: Response of trigger OK.
[18 00 25]
=> Get current configuration
[1C 00 25 00 43 01 01 00 50 00 28 00]
=> Response during WDT countdown
: BMC Watchdog expired
: Reset alert
[18 00 25]
=> Get current configuration
[1C 00 25 00 03 01 01 08 50 00 00 00
]
=> Response after Reset