Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
syrine
Level 1
Level 1
5 questions asked 10 sign-ins First reply posted

Dear infineon team,

I am trying to write and read data from emulated EEPROM but I can't understand the mecanism.

In this application note  https://www.infineon.com/dgdl/Infineon-TLE987x_Data_Flash_Handling-AN-v01_01-EN.pdf?fileId=5546d4626...  , figure 12 provides 3 examples of how the Spare Page Pointer selection is working.

The example code, dowloaded from pack installer "NVM_DATA_FLASH_HANDLING_EXEMPLE_TLE987X" , is trying to write and rewrite only page 0, if we refer to the document we can not write in an occupied page.

Is there an example code for emulated EEPROM?

 

 

0 Likes
1 Solution
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi @syrine 


The system is working on logical address here, in-fact this particular program reference also takes care of the errors arising due to issues in the MapRAM assignment etc.

In figure12 it explains how the sparepage pointer is used to fill the MapRAM logical table.

Please refer to section 4.4.5 OpenAB of the document to understand about the used page programming.

Best Regards

View solution in original post

0 Likes
1 Reply
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi @syrine 


The system is working on logical address here, in-fact this particular program reference also takes care of the errors arising due to issues in the MapRAM assignment etc.

In figure12 it explains how the sparepage pointer is used to fill the MapRAM logical table.

Please refer to section 4.4.5 OpenAB of the document to understand about the used page programming.

Best Regards

0 Likes