View previous topic :: View next topic |
Author |
Message |
MarcosAmbrose
Joined: 25 Sep 2006 Posts: 38 Location: Adelaide, Australia
|
Programming PIC without erasing EEprom |
Posted: Tue Apr 24, 2007 4:06 pm |
|
|
I posted this question in the CCS-ICD forum, but didn't get any response, so I'll try my luck here....
Everytime re-compile and upload new code to my target board, the ICD-U40 erases the EEPROM.
"PCM programmer" posted a link in previous post which had the same problem, but the link doesn't work anymore. "PCM programmer", can you or anyone else recall what the solution was? -Cheers |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Apr 24, 2007 5:09 pm |
|
|
Here is the text:
Quote: |
If anyone else wants to know how to preserve the Data EEPROM on the
target chip, you have to click on "Advanced" in the ICD Control program
(invoked by clicking the little hammer and wrench icon in the Debug
Configure tab), then select "Erase when needed" under the Erase Modes
section. As long as the program file being downloaded doesn't contain
any Data EEPROM data, the Data EEPROM section of flash memory will
be preserved. |
|
|
|
MarcosAmbrose
Joined: 25 Sep 2006 Posts: 38 Location: Adelaide, Australia
|
|
Posted: Wed Apr 25, 2007 4:28 pm |
|
|
Hi PCM Prog,
That did the trick. Thanks bloke! |
|
|
|