EEPROM EMULATION MPC5748G : How to write data into EEPROM FOR INFINTE NUMBER OF CYCLES

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

EEPROM EMULATION MPC5748G : How to write data into EEPROM FOR INFINTE NUMBER OF CYCLES

1,306件の閲覧回数
priya_p
Contributor IV

I am using MPC5748G microcontroller. I was running eeprom emulation demo code available in s32ds. In the demo code, for one time data is successfully written and read. But, I need to continuously store the logs up to 10 times without overwriting the existing data. For the first loop, the log is written without error, but for the 2nd time after getting next log data, it is going to devassert infinite loop, when I am trying to write in to EEPROM. Please help me sort it out.

0 件の賞賛
返信
1 返信

1,283件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I have test it is is works fine to me.

I have copied "Write eeprom data records" and "Read data from eeprom" second time after the original code, changing ID. A variable stop_flag needs to cleared in between, but it seems to works correctly.

0 件の賞賛
返信