MON166: WATCHDOG REFRESH WHEN USING MONITOR
Information in this article applies to:
I would like store the Monitor-166 in an external Flash ROM. Both the Monitor and the user application is stored in this Flash ROM. I added a small software routine that allows (after processor reset) the selection application or Monitor. Unfortunately, the boot software enables the watchdog, but I know that the Monitor only works with the watchdog disabled.
Is it possible to add watchdog refresh instructions to the Monitor?
Yes, you may add watchdog refresh instructions to the file INST167.A66 in the functions INSTAT and OUTSTAT as shown below:
INSTAT: BMOV R4.0,S0RIR ; INPUT STATUS OF SERIAL INTERFACE SRVWDT RET OUTSTAT: BMOV R4.0,S0TIR ; OUTPUT STATUS OF SERIAL INTERFACE SRVWDT RET
This ensures that the watchdog gets refreshed during Monitor communication.
Last Reviewed: Tuesday, January 16, 2007
of your data.