I could not write/read any data Internal EEPROM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I could not write/read any data Internal EEPROM

ソリューションへジャンプ
1,396件の閲覧回数
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,379件の閲覧回数
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,380件の閲覧回数
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 件の賞賛
返信