| |||||
Technical Support Support Resources
Product Information | MON166: WATCHDOG REFRESH WHEN USING MONITORInformation in this article applies to:
QUESTIONI 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? ANSWERYes, 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. MORE INFORMATION
Last Reviewed: Tuesday, January 16, 2007 | ||||
| |||||