![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi guys, 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? Thanks | |
| |
| | (permalink) |
| Are you erasing the chip first. It looks like the config value is not getting erased. Try doing a blank check after doing an erase. Mike. | |
| |
| | (permalink) |
| Hi Mike, I just erased the chip then a blank check, and you were right it is not clearing the config word, this is what i get when doing the check: ICD0161: Verify failed (MemType = Config, Address = 0x2007, Expected Val = 0x3FFF, Val Read = 0x3FB2) ...Device not blank Cheers | |
| |
| | (permalink) |
| I'm not familiar with the 16F74 and so this may be completely wrong. I would guess either Vpp is too low or you have a duff chip. Mike. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Config problem with 16F74 | imhereithink | Micro Controllers | 0 | 3rd August 2007 08:48 AM |
| Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) | smilen | Micro Controllers | 15 | 21st November 2005 10:23 AM |
| RF tranceiver problem | darvaish | General Electronics Chat | 2 | 3rd April 2005 08:44 AM |
| Creative live 5.1 problem... | nassus | General Electronics Chat | 9 | 10th June 2004 06:51 AM |
| Big thermocouple ADC problem | Oznog | General Electronics Chat | 9 | 4th May 2004 09:42 PM |