Replies: 8 comments 6 replies
-
Did you test default EEPROM examples |
Beta Was this translation helpful? Give feedback.
-
You can check this discussion: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
After more research the problem is with the "stm32_eeprom.c" file. It incorrectly calculates the Flash End at 128K for a 64K chip. Which leads to an incorrect Flash Base. See discussion: The solution was to replace |
Beta Was this translation helpful? Give feedback.
-
By any chance, did you solve it? If so, how should I solve it? |
Beta Was this translation helpful? Give feedback.
-
is it fixed already? my eeprom gone if i program near 100% of flash. currently in 97ish% |
Beta Was this translation helpful? Give feedback.
-
is the eeprom variable reserves on setup, so the IDE knows exactly my eeprom needs and tell that on build/compile? if not i wonder what happened if i overflowing the eeprom variable |
Beta Was this translation helpful? Give feedback.
-
ok thanks for the answers |
Beta Was this translation helpful? Give feedback.
-
I'm new to the STM32 but have some experience with emulated EEPROM on the ESP32. After half a day of Googling and testing, I have not been able to get any of the included EEPROM examples to work on a Blue Pill (STM32F103C8T6 ). That includes, the WRITE, READ, PUT, GET, and buffered page examples. (I understand Read and Get won't work until writing works first.)
I'm using Arduino IDE 1.8.13 and an ST-LINK V2 for programming. I can get other examples, like BLINK, and RC-SWITCH Advanced Demo to function properly so I know it programs. I've also erased the chip with STM32CubeProgrammer. Please point me in the direction of what I may have missed. Thank you.
I've tried many different settings but these are the latest:

Beta Was this translation helpful? Give feedback.
All reactions