The WDT reset triggers when the CPU locks up. Kung ganun po, paano pa po kaya makaexecute ng "save the system state" instructions ang CPU, when it already hangs up .
^ malinaw na sakin yung "watchdog timer" kala ko kasi aso nag babantay... nyak pogi point para sa'yo.
Kung napapansin ninyo sa mga nicknames ng member. Mayroon nakakalagay naPogi/Ganda Points:Recharge: <--- Click this to increase the pogi points of a memberDischarge: <--- Click this to decrease the pogi points of a memberWhen to click the Recharge link:Kapag natulungan ka ng isang member you have to increase the pogi/ganda points of the member na tumulong sa iyo. Tapos kung nag-post ang member ng idea, resource, or links na masyado kang natulungan dapat bigyan mo din siya ng points.When to click the Discharge link:Kapag pasaway ang isang member pwede ninyong bawasan ang pogi points niya.NotesCurrently, ang pwede lang makapag-modify ng pogi points ay yung mga members with 50 posts or more. Since, may contest dito sa forum that involves the number of posts, hindi counted yung mga forum post dun sa "outside the laboratory" board kasi most of the time non-technical disussion yun.. Pwede lang makapag-modify ng pogi points every 1 hour. Of course, hindi mo pwedeng i-modify ang pogi points ng sarili mong account.
WDT timer should first issue a NMI " before it finally resets the device at a specified time period or timeout.. " so ang sagot sa tanong is time-out or after a specified time period had been reached.Bago mag-reset, mag-iissue siya ng NMI para ung debugger may idea kung saan nanggaling ung error, this can be done in the software via FIFO. May technique para dito.This can be done in the software program (..also possibly with hardware). Some cpu's doesn't have this internal WDT feature so one must design an external WDT..recommended na i-seperate ang clock para sa WDT independent of that of CPU para magawa nya ung job...WDT are event-triggered anyway.I suggest to perform round-robin scheduling in multi-tasking for monitoring the health of every modules..pero sa mga small-scale embedded devices like MP3's, cell-phone..i think ndi naman gaano importante and WDT..but for high-end products like automotives, industrial. medical equipments, airplanes, etc..This is indispensible. But I found disturbing that they are not using the PIC as their choice of CPU for reliable embedded products. Give me your opinion..
Gusto ko sana gamitin ito kya lang di ba pag nareset ung pic simula ulit sya sa pinakauna so kung may rtc ako burado na ulit ung actual time nya at ang rerehistro eh ung default/initial time.
hehehe. minsan nakaka-frustrate pag may gusto kang pag-aralan pero hindi mo matutukan dahil sa dami nang ginagawa. minsan tinatamad ka na tuloy.
nakakatakot gumamit ng WDT (O ako lang, parang "use sparingly", eh, pero eventually nairereset ko yung devboard ko without using WDT).