Skip to main content
Onpa
Visitor II
January 11, 2023
Question

EEPROM in FLASH emulation for STM32G07x - how to use original EEPROM emulation pre-prepared code without HAL support ?

  • January 11, 2023
  • 2 replies
  • 1099 views

I'm using just LL drivers for my project, unfortunately eeprom_emul.c file function EE_Init needs stm32g0xx_hal_flash file with HAL_GetTick and HAL_FLASHEx_Erase funtion. What I'm doing wrong ? Is there any example without HAL level functions for EEPROM Flash emulation ?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 11, 2023

>>Is there any example without HAL level functions for EEPROM Flash emulation ?

Probably not, and not in significant demand. Same reason I usually have to write my own assembler flashing code..

Perhaps just look at the basic FLASH level functionality, and how you can journal content over a couple of pages, or simplify your saving method to use a structure you can write/update vs pretend to be an addressable EEPROM.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ST Employee
February 7, 2023

Hi All,

This question was routed to our OLS support system for priority support from our specialist team.

Any customers that wish to submit questions like this direct to us can do so at the link below.

http://my.st.com/ols

Regards,

Jake

ST Support