Computer system with error handling before reset
First Claim
1. A method for logging errors before a hardware reset in a microcomputer system including a microprocessor with a hardware reset input and an interrupt input, the method comprising the steps of:
- determining that a hardware reset will be provided to the hardware reset input;
providing an interrupt to the interrupt input a predetermined period of time before the hardware reset will be provided to the hardware reset input in response to determining that a hardware reset will be provided to the hardware reset input; and
executing an interrupt routine in response to said interrupt to log an error indicating operation of the interrupt routine.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system includes error handling hardware and software that logs the source of application program or system software errors before a reset occurs. Upon a catastrophic error, a retriggerable timer, which is periodically retriggered during normal system operation, instead times out causing a hardware reset. A predetermined time before this retriggerable timer times out, however, the microprocessor in the computer system is interrupted, and executes an interrupt routine in which it determines that the retriggerable timer is about to timeout, and logs the currently executing applications program or currently executing point in system software, as well as the actual location within the applications program or the system software. The reset subsequently occurs, but not before this information valuable for debugging and diagnosis is logged.
44 Citations
21 Claims
-
1. A method for logging errors before a hardware reset in a microcomputer system including a microprocessor with a hardware reset input and an interrupt input, the method comprising the steps of:
-
determining that a hardware reset will be provided to the hardware reset input; providing an interrupt to the interrupt input a predetermined period of time before the hardware reset will be provided to the hardware reset input in response to determining that a hardware reset will be provided to the hardware reset input; and executing an interrupt routine in response to said interrupt to log an error indicating operation of the interrupt routine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system that logs errors before a hardware reset, comprising:
-
a bus with data, address, and control lines; a microprocessor with a reset input and an interrupt input, said microprocessor coupled to said bus; a mass storage subsystem coupled to said bus for providing data to and storing data from said microprocessor over said bus; a software module for periodic execution by said microprocessor, said software module, when periodically executed, periodically performs a predetermined operation; a timer circuit providing a reset signal to the reset input in response to said software module failing to periodically perform the predetermined operation; an interrupt circuit for providing an interrupt signal to the interrupt input a predetermined period of time before said timer circuit provides the reset signal; and an error logging software module for execution by said microprocessor in response to the interrupt signal, said error logging software module, when executed, logging an error message. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21)
-
-
20. The computer system of 19, wherein the predetermined operation reloads the reloadable timer.
Specification