2024-11-28 05:11 AM
When using this microcontroller for emulate eeprom process, i got some problems like freezing at start-up, when writing OLED, sprintf function can not write characters- writes silly words. I am not sure if the problem is about my emualte_eeprom process or something like that? In addition to this, can anybody lead me to how correctly use emulate_eeprom with above STM32 microcontroller? A sample code will be the best. Thank all for your helps.
2024-11-28 05:55 AM
Hello @tensaisakuragi06 ,
Please refer to the following EEPROM Emulation example on GitHub for the STM32CubeF0:
Additionally, you can consult the application note AN4061 for further details regarding this application, which can assist you with your project:
AN4061 - EEPROM Emulation in STM32F0xx Microcontrollers - STMicroelectronics
BR
2024-11-28 06:10 AM
You're going to need to a lot more information - see the Posting Tips:
@tensaisakuragi06 wrote:I am not sure if the problem is about my emualte_eeprom process or something like that?.
So separate the two:
What testing/investigation/debuggging have you done to find what's going wrong.
@tensaisakuragi06 wrote:can anybody lead me to how correctly use emulate_eeprom with above STM32 microcontroller? .
What "emulate_eeprom" are you using?
See the links @MOBEJ provided. That code is also available as STSW-STM32117:
https://www.st.com/en/embedded-software/stsw-stm32117.html