??? 02/19/07 23:35 Read: times |
#133271 - Question on "No-Touch" and watchdog |
I have a question concerning the use of the No-Touch code in an application.
The No-Touch code terminates in an infinite loop, waiting for the watchdog timer to reset the part. mov r1,#6h ;program status byte (No Watchdog!) mov dptr,#0 ;specify status byte mov a,#0ffh ;nonzero required call 0fff0h ; IAP Call to set status byte jmp $ ;wait for watchdog to reset This implies that the watchdog is active. However, the IAP call is made assuming the watchdog is off (r1 = 06h instead of r1 = 86h). So what keeps the watchdog from triggering in the middle of the IAP call, and causing all sorts of terrible things to happen? Or am I just missing something obvious here? I am definitely a noob on IAP / ISP. |