MPLAB has a setting to preserve the existing values of the data EEPROM
when you program the PIC with the ICD2.
Look in this menu in MPLAB to find the checkbox for the setting:
Quote:
Programmer menu
- Settings
--Program tab
--- Preserve EEPROM on Program box
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Mon Dec 24, 2007 6:45 am
As a note:
When an (E)EPROM is cleared you have to check the datasheet for the default value. Most types do read all 'FF' and only a few types do read '0' after clearing.
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