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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,305 Views
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 Kudos
Reply
1 Reply

1,282 Views
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 Kudos
Reply