Preserving EEPROM data when programming flash on 9S08DZ60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Preserving EEPROM data when programming flash on 9S08DZ60

跳至解决方案
1,639 次查看
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
 
标签 (1)
标记 (1)
0 项奖励
1 解答
517 次查看
J2MEJediMaster
Specialist I
Check this forum thread and see if it has the information you need.

---Tom

在原帖中查看解决方案

0 项奖励
2 回复数
517 次查看
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.



518 次查看
J2MEJediMaster
Specialist I
Check this forum thread and see if it has the information you need.

---Tom

0 项奖励