debug erasing EEprom

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

debug erasing EEprom

646 Views
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?

Labels (1)
0 Kudos
3 Replies

499 Views
mlockner
Contributor I

I am using codewarrior 10.6

0 Kudos

499 Views
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 Kudos

499 Views
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 Kudos