2019-02-11 11:45 PM
2019-02-11 11:55 PM
What is "internal memory" ?
The SPL versions contain example for most use cases, did you check ???
2019-02-11 11:57 PM
flash
2019-02-12 12:34 AM
> flash
IAP
2019-02-12 01:40 AM
yes,
i only want to save and read value of variable(eg. uint16_t a ;) in stm32f030c6.
like in EEPROM
2019-02-12 03:14 AM
You could have told in the first place, not just throw in some single words.
Still, I would think twice about that.
The MCU is a single bank design, code execution will stall while erasing/programming. Or you move the IAP code to RAM. The datasheet states 30ms as typical page erase time.
Pretty sure there are IAP examples in SPL code you can download for the F030, the sector layout is documented in the reference manual. Other thread here cover IAP as well.
The datasheet does not mention a guaranteed number of erase/program cycles, assume the standard 10.000. This will spell trouble for frequently changing data.
2019-02-12 03:17 AM
EEPROM emulation in STM32F0xx microcontrollers
2019-02-12 03:25 AM
I have found the answer.
EEPROM emulation in STM32F0xx microcontrollers (AN4061)
here i found the solution
check the files , I am uploading it here
2019-02-12 03:29 AM
Thanks AvaTar for good response