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 support@ccsinfo.com

18F87J10 write_program_memory AND read_program_memory

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mcman



Joined: 23 Jan 2007
Posts: 8
Location: Corvallis, OR

View user's profile Send private message

18F87J10 write_program_memory AND read_program_memory
PostPosted: Tue Apr 17, 2007 3:39 pm     Reply with quote

Compiler: PCH 3.245

Developed my code on an 18F8722 development system. Everything worked great. No problems writing to or reading from program memory. Now, when I run my code on an 18F87J10, nothing is updated in program memory after doing a 'write_program_memory'.

Is anybody aware of a compiler bug associated w/ my particular version and PIC combination? I see that the forum is full of complaints and gnashing of teeth w/ regard to program flash and read/write functionality.

Any help would be greatly appreciated.

Thanks.
Guest








PostPosted: Wed Apr 18, 2007 1:30 pm     Reply with quote

Update:

CCS Tech support acknowledged that there is a bug associated w/ my compiler version and the PIC 18F87J10 (and other J series parts as well). There is also an issue associated with #fuses setting the config words. I had noticed this as a problem as well. Was getting around that by using the MPLAB IDE dialogue to set the bits. Bits in IDE dialogue wouldn't update per #fuses on compile like they should.

The latest version 4 compiler supposedly fixes these issues.
Jerry I



Joined: 14 Sep 2003
Posts: 96
Location: Toronto, Ontario, Canada

View user's profile Send private message

Re: 18F87J10 write_program_memory AND read_program_memory
PostPosted: Wed Apr 18, 2007 5:27 pm     Reply with quote

Possibly this problem.

The 18F87J10
From Data sheet Page 3

FLASH PRGRAM MEMORY
- 1000 erase/write cycles endurance typical
- self-write capability during normal operation


Have you exceeded 1000 erase/writes


The 18F8722
FLASH PRGRAM MEMORY
- 100000 erase/write cycles endurance typical
- self-write capability during normal operation



mcman wrote:
Compiler: PCH 3.245

Developed my code on an 18F8722 development system. Everything worked great. No problems writing to or reading from program memory. Now, when I run my code on an 18F87J10, nothing is updated in program memory after doing a 'write_program_memory'.

Is anybody aware of a compiler bug associated w/ my particular version and PIC combination? I see that the forum is full of complaints and gnashing of teeth w/ regard to program flash and read/write functionality.

Any help would be greatly appreciated.

Thanks.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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