Question
Flash as eeprom
Posted on April 12, 2015 at 21:22
Hi,
I have a page to use as data in the flash programme memory. I can read, write values and all this task works find.But I need to write an initial value at programming time. I mean, to write for exemple 0x00 when the MCU is flashed. This value can't rewrite at MCU reset.It can be done in the options -- Linker, (IAR project oconfiguration) because if I put that in code every time that the MCU restart will be rewritten.I'm sure that must be easy but I can't find how to do it.Thanks in advance.Regards. #stm32-flash-data