它是一個timer, 如果enable, 它就會從一定的值倒數, 數到0時就會做reset的動作, 所以系統會固定一段時間touch它一下, 表示系統還活著
Watch Dog要是設計來當程式跑進無窮回圈或誤動作時,用來重置系統即重新啟動的功能.不見得有效!
Watch Dog一般是避免程式有bug造成電硬體有傷害,到一定的時間變會重新Reset,讓設計者能夠發現去解決
Watch Dog is a system block function for reliability. Mostly, watch dog block should be designed with a CPU block and System hardware reset block. It should be programming and enable when system boot up. System CPU will reset watch do timer in a predefined duration, if CPU too busy, the system will be reset by Watch Dog .
Reference:
[1] http://forum.eettaiwan.com/FORUM_POST_1000039157_1200047570_0.HTM
沒有留言:
張貼留言