Skip to main content
m12lrpv
Associate III
February 13, 2021
Solved

Is there an updated eeprom emulation example for STM32F10x and CubeMX generated projects using HAL?

  • February 13, 2021
  • 1 reply
  • 1140 views

I've gone through AN2594 and the associated examples. They're all for the standard peripheral library which is now deprecated.

Someone has an example of a port on github that looks reasonably complete https://github.com/lamik/EEPROM-emulation-STM32F1-HAL/blob/master/Src/eeprom.c

and at this stage it looks like I will be using that

however...

I'm wondering it ST have (or are planning to have) an official update?

This topic has been closed for replies.
Best answer by Tesla DeLorean

I thought they did, or had Cube auto-generate the boiler plate code.​

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
February 13, 2021

I thought they did, or had Cube auto-generate the boiler plate code.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
m12lrpv
m12lrpvAuthor
Associate III
February 13, 2021

Thanks. Your suggestion regarding Cube generating the code sent me looking there.

I found that they ship examples in the CubeMX firmwares i.e. STM32Cube_FW_F1_V1.8.3

For the F4 firmware (STM32Cube_FW_F4_V1.25.2 ) the examples are selectable in the CubeMX example selector but not for the F1 examples.

:thumbs_up: