Example wdt programming procedure – ADLINK cPCI-3971 User Manual

Page 109

Advertising
background image

Utilities

95

cPCI-3970

Example WDT Programming Procedure

Configuration of the watchdog timer is via serial interface. 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 137. fo
r 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


<A>: BMC Watchdog expired
<A>: Reset alert


[18 00 25]

=> Get current configuration

[1C 00 25 00 03 01 01 08 50 00 00 00

]

=> Response after Reset

Advertising