How to prevent system hang before watchdog timer task kicks in

前端 未结 2 1811
-上瘾入骨i
-上瘾入骨i 2020-11-30 11:39

We are using an ARM AM1808 based Embedded System with an rtos and a File System. We are using C language. We have a watchdog timer implemented inside the Application code. S

2条回答
  •  余生分开走
    2020-11-30 12:33

    There is a hardware watchdog that could be run before the application runs. ARM AM1808 does have a timer that could be implemented as a watchdog, as per documentation: www.ti.com/lit/ds/symlink/am1808.pdf. So, you may wish to set it like that at least during the part of the program that runs through the critical and long section. You at wish to have a piece of booting code that first sets this watchdog, and after the correct initialization, goes to application. In fact, this is a very common approach.

提交回复
热议问题