91
Technical support / Re:Watch dog timer.
« on: December 04, 2018, 02:27:34 PM »
Thanks for the feedback on the on-line-monitoring via Ethernet. It makes perfect sense.
I have found some of the string functions reset the WDT. I suspect that strcmp(), mid$() and len() reset the WDT. I had been attempting to use these functions as time wasters. They are great time wasters but they keep resetting the WDT and this makes them unsuitable for my purposes.
I have, also found that SetLCD statement appears to reset the WDT. I am very familiar with the timing and interface to these displays (former life). I know that the screen clear command takes close to 15 ms to complete. But, alas, my code based on SetLCD statements failed to cause the WDT to timeout.
Just to be fair, the LSHIFT and RSHIT statements DO NOT appear to reset the WDT. I can get these You cab get a pretty reasonable time delay out of these statements if you have them span a hundreds of registers.
RSHIFT DM32[1],106 ' this kills 1.0 ms on a Nano-10
Best regards,
Gary D*ckinson
I have found some of the string functions reset the WDT. I suspect that strcmp(), mid$() and len() reset the WDT. I had been attempting to use these functions as time wasters. They are great time wasters but they keep resetting the WDT and this makes them unsuitable for my purposes.
I have, also found that SetLCD statement appears to reset the WDT. I am very familiar with the timing and interface to these displays (former life). I know that the screen clear command takes close to 15 ms to complete. But, alas, my code based on SetLCD statements failed to cause the WDT to timeout.
Just to be fair, the LSHIFT and RSHIT statements DO NOT appear to reset the WDT. I can get these You cab get a pretty reasonable time delay out of these statements if you have them span a hundreds of registers.
RSHIFT DM32[1],106 ' this kills 1.0 ms on a Nano-10
Best regards,
Gary D*ckinson