Hardware/Software Interface
Page 100
5.3.1.8
Error Counters
The error counter commands allow querying and clearing error counters.
The BMC provides error counters for each type of error that can occur. Using this
information, the application software can determine how often certain errors have
occurred, but it is not possible to determine the chronological order of the errors.
You can determine the actual number of error counters using
NUM_ERR_CNTRS
, up to a
theoretical maximum of 255 error counters.
All counters are set to zero during factory programming or using command
ERR_CNT_CLR
.
Table 87.
BMC API – Error counters
Table 88.
BMC API – Error counter commands
Command ERRCNT_xx (1 to 15)
Counter
Error Condition / Error Clearing
1
External BMC watchdog timeout (application software timeout)
2
Internal BMC watchdog timeout
3
Internal brown-out (BMC undervoltage)
4
External power failure
5
BIOS life sign timeout
6
Processor too hot
7
Shutdown while too hot
8
Internal power failure
9
Handshake timeout
10
Platform reset timeout
11
Error cleared using system reset
12
Error cleared using power cycling
13
Error cleared using power cycling with resume reset
14
Error cleared using power cycling with RTC reset
15
Error could not be corrected
Command
Packet Type
Opcode
Functional Description
ERRCNT_01
PT_RBD
0x70
Get error counter 1
ERRCNT_xx
0x70
+ x
Get error counter xx
ERRCNT_15
0x7E
Get error counter 15
ERR_CNT_CLR
PT_WBD
0x7F
Clear error counters
NUM_ERR_CNTRS PT_RBD
0x8D
Get number of error counters
Opcode:
0x70
+ x
Packet Type:
PT_RBD
Bit
7
6
5
4
3
2
1
0
Data
Value of error counter number xx