EEPROM is erased while reprogramming 9S08DZ60

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

EEPROM is erased while reprogramming 9S08DZ60

1,014 Views
CurtThompson
Contributor I
I'd like to preserve the EEPROM area (0x1400 - 0x17FF) during reprogramming.
 
I've read the thread in the 16-bit forum but the "FLASH" command does not seem to be available in my setup.
 
When I connect to my target using the on board USB/BSD controller (SofTec HCS08) the EEPROM DOES NOT get erased upon reprogramming (what I want).
 
When I disable the on-board connection and connect the P&E Multilink USB (P&E Multilink/Cyclone Pro), the EEPROM DOES get erased (what I don't want).
 
Is there a commend like "FLASH AEFSKIPERASING 3,4,5" that I can put in the "BDM_P&E_Multilink_CyclonePro_Startup.cmd" file that will disable the erase of EEPROM?
 
I'm using CodeWarrior V6.2.  The traget is a 9S08DZ60.
 
Curt
 
 
Labels (1)
0 Kudos
1 Reply

255 Views
CurtThompson
Contributor I
I figured this out.
 
In the True-Time debugger, go to the menu MultilinkCyclonePro > Avanced Programming/Debug Options...
 
In the "Non-Volatiile Memory Preservation" dialog, select the Memory Range 1 and enter an address range from 0x1400 to 0x17FF.  Then click Done.
 
This worked for me.
 
Curt
 
 
0 Kudos