A method for automatic recovery of system from fault state
A fault state, automatic recovery technology, applied in the direction of instruments, electrical digital data processing, computing, etc., can solve problems such as hanging
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] like figure 1 As shown, this embodiment is a method for automatically recovering the software fault of the hotspot AP when the hotspot AP does not perform any operation for 10 minutes after booting into the bootloader, and the ap hangs and cannot perform any operation on the ap.
[0017] According to the actual situation of the hardware, by defining the relevant processing functions of the watchdog in the initialization place of the bootloader,
[0018] In this embodiment, there is the following code in the place that has entered the bootloader to initialize the watchdog and related functions. The specific code is as follows:
[0019] watchdog_open();
[0020] mem_malloc_init();
[0021] serial_init();
[0022] eth_initialize(gd->bd);
[0023] watchdog_close();
[0024] The first line opens the watchdog processing function, then the initialization function for hardware such as memory, serial port, and Ethernet port, and finally closes the watchdog processing functi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 