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
Hope it can be helpful for you~
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.
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?
Solved whit SFLASH
Thank for your support