Emulated EEPROM with FreeRTOS on S32DS is not working

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

Emulated EEPROM with FreeRTOS on S32DS is not working

436 Views
tejo2one
Contributor III

Hello,

I am using MPC5748G Gateway development board. I am trying to integrate Emulated EEPROM with FREERTOS somehow Emulated EEPROM is working without FreeRTOS but when I enable FreeRTOS, EEPROM write operation causes IVOR1 failure.

Is there any work-around for this issue?

 

Thanks in advance.

Tejo

0 Kudos
1 Reply

422 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @tejo2one 

I can see two possible reasons.

First, it can be caused by read-while-write (RWW) error. RWW is supported only between partition. It is not possible to access a partition which is currently being programmed or erased. So, make sure that you do not read the EEPROM in another task at that moment.

Second, it can be caused by data cache memory. You can try to disable the data cache for test purposes - to see if it makes a difference. If it works with disabled cache, better way is to enable it again but configure the flash used for EEE as cache inhibited. This can be done by SMPU module.

https://community.nxp.com/docs/DOC-328346

https://community.nxp.com/docs/DOC-332545

Regards,

Lukas

0 Kudos