CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC18F252 EEPROM read/write
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Oct 28, 2005 1:28 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group