Hello I have seen ST's eeprom library for keil but it wasn't a complete library and it has some limitation to write into eeprom. I want to know is there any cmsis library for stm32 to emulate eeprom that I can add via run-time environment windows? Thanks
It isn't so easy to emulate EEPROM since it's a memory technology with very specific characteristics.
While flash memory is a type of EEPROM, the big difference is that flash is designed for quickly erase of large blocks - or the full memory.
With EEPROM you erase small blocks. Sometimes individual bytes. Sometimes maybe small pages of up to 32 bytes.
But since EEPROM has small erase sizes, it also means the full memory can manage a huge number of erase cycles. And that's why it doesn't work too well to simulate EEPROM out of flash memory. Even with extensive wear leveling, the EEPROM still han handle more updates unless you can supply a very significantly larg3r amount of flash.
Dear Per Westermark I will forever be beholden to you To write and read data (such as long variable) into flash memory does we have any functions in cmsis library? or any documents that cover cmsis? Thanks
Hello I'm trying to store my variables in flash ROM .At first I want to know how much flash rom does a program take? In keil settings we set the first address of Flash where we want to store our program(right?) obrazki.elektroda.pl/5835105900_1474486230.png but in my MCU's datasheet it has mentioned that flash rom is started from x800000 not x804000 obrazki.elektroda.pl/7368145400_1474486230.png so Where should I start to store my variable? what is it's address? and why the start point are different?