I could not write/read any data Internal EEPROM

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

I could not write/read any data Internal EEPROM

跳至解决方案
1,689 次查看
maximillion
Contributor II

Hi, 

I am programming NXP (S12ZVC) and I have EEPROM(Internal) problem.I could not write any data to EEPROM (I checked on CW memory monitoring). I used IEE component and I used these methods SetByte() GetByte() method. Do I need to change the MCU settings?I tried a very simple code snippet but could not save it to EEPROM. This code represent below. I could not read on CW memory monitoring. Whats the problem? Could you help me.. 

CODE: 

byte Data;

void main (void)

{

    Data = 28;

    IEE1_SetByte(EEPROMAddress,Data);

    IEE1_GetByte(EEPROMAddress,&Data);

}

 

 

 

 

0 项奖励
回复
1 解答
1,671 次查看
StanoA
NXP TechSupport
NXP TechSupport

Hi,

I would like to suggest you the deep learn of the EEPROM read/write mechanism. There is implemented the MMC module (Chapter 4 and Chapter 22 of RM) which controls all memory actions. It’s good to know their function for right usage of internal memory.

Attached is the SW example detail description inside which could help you in your task.

Best Regards,

Stano.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,672 次查看
StanoA
NXP TechSupport
NXP TechSupport

Hi,

I would like to suggest you the deep learn of the EEPROM read/write mechanism. There is implemented the MMC module (Chapter 4 and Chapter 22 of RM) which controls all memory actions. It’s good to know their function for right usage of internal memory.

Attached is the SW example detail description inside which could help you in your task.

Best Regards,

Stano.

0 项奖励
回复