摘要 |
A watchdog method and apparatus for a processing system running one or more tasks for controlling one or more subsystems is described. In one embodiment, the watchdog method configures a reset controller to cause a hardware reset to the one or more subsystems in a predetermined time, and registers one or more tasks in a task table. The method calls a first task in the table and changes a status of the first task to called. For each task in the table, the method determines the status of the task, and, if the status is called, sets a flag to a true state if a second predetermined time has passed since the task was called and a response message has not been received from the called task. The method configures the device to push back the occurrence of the hardware reset to the predetermined time if the flag is not set to the true state. A next task in the table is then called, and its status changed to called. The method again determines the status of each task in the table, and so on.
|