debug erasing EEprom

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

debug erasing EEprom

638 次查看
mlockner
Contributor I

When starting a new debug session (mc9s08dz128) the second 1K of the EEprom memory is getting cleared. I have the address range 0x3c00 to 0x3ff blocked from writing and this works for the first 1K of EEprom but does not stop Page 1 from being erased. Is there a way to prevent Page 1 from being erased?

标签 (1)
0 项奖励
3 回复数

491 次查看
mlockner
Contributor I

I am using codewarrior 10.6

0 项奖励

491 次查看
trytohelp
NXP Employee
NXP Employee

Martin,

In the prm file, the EEPROM is defined by:

EEPROM             =  READ_ONLY0x3C00 TO 0x3FFF;

the EEPROM size is 0x400.

Do you mean each time you will launch the application the EEPROM is cleared ?

Do you use Processor Expert ?

What is the Page 1 ?

The PPAGE_1 is already contained in segment at 0x4000-0x7FFF.

I don't understand what is the problem.

Have a great day,
Pascal Irrle

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

491 次查看
trytohelp
NXP Employee
NXP Employee

Hi Martin,

What is the tool version used ?

      CW for MCU V6.3 (Classic) or CW for MCU v10.x (eclipse)


Have a great day,
Pascal Irrle

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励