but the hex file invariably has WDT disabled. I had to manually override it in MPLAB IDE to enable WDT. That's not the way to go. Is there any other way to specify config bit in the source file?
If you still have problems then,
1. Post a very short (but complete) test program that shows the problem.
The posted code must be able to be pasted into MPLAB and then compile
with no errors.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum