Coldfire Plus EEprom / Data Partition - FlexNVM

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

Coldfire Plus EEprom / Data Partition - FlexNVM

951 次查看
Sebastian_v1
Contributor I

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

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