AnsweredAssumed Answered

Coldfire Plus EEprom / Data Partition - FlexNVM

Question asked by Sebastian Grams on Mar 2, 2014

Hello,

i use Codewarrior 10.5 with a MCF51JU32VFM as controller and a PE-Micro USB multilink flasher (BDM).

 

I would use the FelxNVM Partition as EEprom and Data storage.

My Config is:  512byte EEPROM usage and 8Kb Data.

 

   FTFL_FCCOB0 = 0x80;    FTFL_FCCOB1 = 0x00;    FTFL_FCCOB2 = 0x00;    FTFL_FCCOB3 = 0x00;    FTFL_FCCOB4 = 0x35;  //512 bytes eeprom    FTFL_FCCOB5 = 0x09;  //8kb data partition    FTFL_FSTAT |= FTFL_FSTAT_CCIF_MASK; //clear CCIF flag to process eeprom command   

 

This is running, but i need this for debugging, because i place data in the data partiotn during flashing.

When i execute this command (in my program), the data partition is erased. (eeprom is running)

 

When i try to set the partion during firmware flash or debugging the eeprom function failed. in the attachment is my actual debug settings.

 

Best Regards,

Sebastian

Outcomes