Preserving EEPROM data when programming flash on 9S08DZ60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Preserving EEPROM data when programming flash on 9S08DZ60

Jump to solution
1,613 Views
djsimpson
Contributor III
I am using CodeWarrior V6.1 with a P&E BDM to program a 9S08DZ60, but I don't want the EEPROM erased when I update the main flash. I have ticked the "Always preserve All EEPROM data" in the Advanced Programing / Debug Options menu in the debugger, but it makes no difference.
 
Strangley, the data is not actually erased to 0xff, but any data which was not 0xff is programmed to 0x00.
 
Can someone point me to the correct way to preserve the contents of the EEPROM?
 
Thanks
 
David
 
Labels (1)
Tags (1)
0 Kudos
1 Solution
491 Views
J2MEJediMaster
Specialist I
Check this forum thread and see if it has the information you need.

---Tom

View solution in original post

0 Kudos
2 Replies
491 Views
mayfly
Contributor III
Hi,

I haven't tried it personally *but* apparently you're supposed to be able to protect different areas of flash by noting it somehow in the prm file.  Sorry, I don't remember much more than that.

Please post again if you get it working.



492 Views
J2MEJediMaster
Specialist I
Check this forum thread and see if it has the information you need.

---Tom

0 Kudos