Page 1 of 1

read write flash

Posted: Mon Dec 23, 2024 9:40 pm
by nicoefi29
how to write and save variables, occasional data in a stm32 and in particular a F303K8. with stm32duino. It seems to me that we can record in flash memory? or should we use an external eeprom. Is there a library and examples?

Re: read write flash

Posted: Tue Dec 24, 2024 2:14 am
by ag123
first of all, review the ref manual for your soc
https://www.st.com/resource/en/referenc ... ronics.pdf

and there is an EEPROM library if you are using the 'official' STM core.
https://github.com/stm32duino/Arduino_C ... ies/EEPROM

many other stuff are documented in the Wiki
https://github.com/stm32duino/Arduino_Core_STM32/wiki