View previous topic :: View next topic |
Author |
Message |
mcman
Joined: 23 Jan 2007 Posts: 8 Location: Corvallis, OR
|
18F87J10 write_program_memory AND read_program_memory |
Posted: Tue Apr 17, 2007 3:39 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Wed Apr 18, 2007 1:30 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
Jerry I
Joined: 14 Sep 2003 Posts: 96 Location: Toronto, Ontario, Canada
|
Re: 18F87J10 write_program_memory AND read_program_memory |
Posted: Wed Apr 18, 2007 5:27 pm |
|
|
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. |
|
|
![](templates/subSilver/images/spacer.gif) |
|