Came across a small poblem when trying to set up the WDT in the 16F74. Firstly i enable it in the config word by writing: & _WDT_ON. Then in the option register i assign the prescaler to the WDT with a value of 1:128 by writing 111 to bits 3/1/0.
This then proceeds to build without any problems, as soon as i try to burn the chip it comes up with this error:
ICD0161: Verify failed (MemType = Config, Address = 0x2007, Expected Val = 0x3FB6, Val Read = 0x3FB2)
When i write &_WDT_OFF this error does not happen any more. Does anyone know what is happening here?