2017-08-06 12:02 AM
hello.
i use stm32f030p4. i use EEPROM emulation(save 20 byte) it's work until i add more code in my project.
when the code Increase Although I dont have any error in my code but program freeze in ee_init(); and i have to delete some of my code.
what's problem?
Thanks
2017-08-06 02:21 AM
Maybe the eepron emulated memory segment should be preserved from reflashing when debugging? The eeprom memory area may need to be declared as unique segmeny in the linker config file. Inspect in debug mode step by step to find out the root cause.
2017-08-06 06:08 AM
Make sure the sectors used for the emulation don't overlap with those used for the code. Check linker script, scatter file, or target settings and defines.