Reputation: 11
I am currently working on Nucleo f207zg. I want to write its variables into its permanent memory (EEPROM). How can I achieve it?
I am unable to find read or write functions for the same.
Upvotes: 0
Views: 924
Reputation: 8069
STM32F2 controllers don't have internal EEPROM memory.
They have FLASH instead, with only 10000 guaranteed erase cycles, and comparatively large erase block size at 128 kBytes. AFAIK it does not support read-while-write operations, so the whole system comes to a stillstand while contents are updated.
It'd be still useful for storing stuff that does not change too often, e.g. user preferences or calibration values.
Unlike some other controller series, flash write functionality is described in a separate document, the STM32F207 Flash programming manual. There are no "read functions", since its contents can be read as any other internal memory cell.
Upvotes: 2