Em_EPROM data protection when reprogramming

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

cross mob
FaBa_506136
Level 2
Level 2
5 replies posted 5 questions asked 5 sign-ins

Hi everyone,

I have a problem with the emulated eprom. Each time I reprogram the micro CY8C4126AZI-S433, I lose all the data. How do I protect data when reprogramming the micro.
Thanks in advance for the help.

Fausto

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi Fausto,

If you use the emulate eeprom to save data, when you program the chip, it will be erase all.

Could you share your device number with us? We need the number to confirm whether it have the SFLASH which can be used to save data.

PSoC 4 implements a User Supervisory Flash (SFlash), which can be used to store application-specific information. These rows are not part of the hex file; their programming is optional.

More you can refer to the below linker:

1: Re: sflash

2: https://community.cypress.com/message/59938#59938

3:https://community.cypress.com/message/205001#205001

Hope it can be helpful for you~

Thanks,

Lingling

View solution in original post

0 Likes
4 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Hi Fausto,

If you use the emulate eeprom to save data, when you program the chip, it will be erase all.

Could you share your device number with us? We need the number to confirm whether it have the SFLASH which can be used to save data.

PSoC 4 implements a User Supervisory Flash (SFlash), which can be used to store application-specific information. These rows are not part of the hex file; their programming is optional.

More you can refer to the below linker:

1: Re: sflash

2: https://community.cypress.com/message/59938#59938

3:https://community.cypress.com/message/205001#205001

Hope it can be helpful for you~

Thanks,

Lingling

0 Likes

Hi Lingling,

My device is the CY8C4126AXI-S433.

If it doesn't have sflah, here is the equivalent device that has sflash.

What size does the sflash have?

I need to save 128 bytes.

Thank you for your support.

Fausto

0 Likes

Hi Lingling

If I allocate the memory of the emulated eeprom to a fixed address, is it possible to instruct the programmer to skip the memory destined for the emulated eeprom?

0 Likes

Solved whit SFLASH

Thank for your support

Fausto

0 Likes