PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Oct 28, 2005 1:28 pm |
|
|
| Quote: | I cannot program the PIC
Device Type: 18F252
Program Memory Errors
Address Good Bad
010A: 5037 5035
010C: 0F17 0F15
011E: C037 C035 |
Read Jenninc's post in this thread on the Microchip forum:
http://forum.microchip.com/tm.asp?m=102635&mpage=1&key=erase%2Cflash%2Cdevice&anchor#102709
From that thread:
| Quote: |
If the device is not blank, any bit values of '0' in which an attempt is
made to program the value to a '1' is going to fail. For example, if a
program memory range of 0x0010:0x1FFF is set and some address in
this range has a value of 0x1000, programming is going to fail on that
address if the value attempted was 0x1111. It will only succeed if the
device is erased prior to programming by manually using the Erase
option or, by changing the range to include all of program memory
along with selection of all of the memory areas for the device. |
|
|