cancel
Showing results for 
Search instead for 
Did you mean: 

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

Onpa
Associate

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 ?

2 REPLIES 2

>>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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Jacob WOODRUFF
ST Employee

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