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

cross mob
ygurkaynak
Level 1
Level 1
First reply posted First question asked Welcome!

To write data to flash on Traveo 2 processors, a sector erase must be performed first, but when performing a sector erase, a 32-bit address is cleared. Even if I wanted to print an 8-bit value, I would waste the life of the 32-bit address. For this reason, I want to use Flash EEPROM emulation. Is there a source file for this?

0 Likes
2 Replies
ygurkaynak
Level 1
Level 1
First reply posted First question asked Welcome!

ygurkaynak_0-1707721148078.png

 

0 Likes
Reza_A
Moderator
Moderator
Moderator
25 solutions authored 10 likes given 50 replies posted

Hi @ygurkaynak,

When calling Cy_FlashSectorErase, the whole flash sector which the address is passed will be erased, as mentioned in the function description, also in the sub-section 8.2.3.2 Geometries in your device Architecture TRM.

Infineon provides an MCAL FEE driver which provides the upper layers with a “virtually” unlimited number of erase cycles. Kindly reach out to your local Infineon sales representative for this.

I hope this helps.
Thank you.

Best regards.

0 Likes