Hello everybody,
According to what I've read and misunderstood, in an STM32F103C8, there would be no EEPROM but there would be a way to save a few bytes in it. My need is reduced to one byte.
Can you tell me how to save it (write every 15 days, or even less) and read every day.
Thanks for your help.
Pierre.
STM32F103C8 and EEPROM
Re: STM32F103C8 and EEPROM
Built-in eeprom library uses emulated eeprom in flash memory. Usage is the same as with Arduino AVR (Uno, micro, nano, etc) boards.
https://github.com/stm32duino/Arduino_C ... -Emulation
Downside - it uses 2 pages of flash memory so with F103C8 it takes 2kB out of flash just to store 256B of data.
https://github.com/stm32duino/Arduino_C ... -Emulation
Downside - it uses 2 pages of flash memory so with F103C8 it takes 2kB out of flash just to store 256B of data.
Re: STM32F103C8 and EEPROM
Tank you very much "GonzoG" for this explanation and example.
Sincerely.
Pierre.
Sincerely.
Pierre.