When trying to Program a 16F84A I get an error message
Programming Failed
Data memory check failed.
(Note if the PIC is memory protected this message will be displayed even if the program has been sent successfully.
Have I run out of memory ?
Is my PIC damaged ?
Thanks Keith
Programming Failed.
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
Programmin Error
The 16F84A programs fine with other programs.
I don't have another chip to try.
The program was written for a 16F84 and uses internal EEPROM could this be the problem.
I tried removing Config statement and just controlling by PPP but still the same problem with CONFIG is set to 0x3FF9 which also what PPP advises.
I don't have another chip to try.
The program was written for a 16F84 and uses internal EEPROM could this be the problem.
I tried removing Config statement and just controlling by PPP but still the same problem with CONFIG is set to 0x3FF9 which also what PPP advises.
-
- Posts: 114
- Joined: Fri Jul 27, 2007 10:50 am
- Been thanked: 1 time
Works okay with a 16F88
Okay I tried it with a 16F88 that I have and it works fine. So I assume I must have a duff chip.
I've had the same error message when compiling a program to a PIC16F88 which had definitely not been code-protected. In spite of the warning, I found that the program had been correctly compiled into the chip. In the same program I was having problems with an LCD displaying random gibberish and so changed the clocking from internal 32KHz to crystal 20MHz. This cured the LCD problem and also, inexplicably, cleared the compiler error message.