2021-06-18 07:36 AM
*How to save varibales or array of data in Internal memory on STM32F042G6
*Can i get some example to understand this thing more clear.
Thanks in advance.
2021-06-18 08:12 AM
You need to reserve a FLASH sector, erase it and then write to it. The procedure to do so is described in the FLASH section of RM. Please note that erasing and writing to FLASH takes significant time (see Datasheet), and during that time you cannot access the FLASH (including code execution).
JW
2021-06-18 09:02 PM
Thank you very much for your reply,
*can i get some sample code in stm32F0 family,
*The procedure is clear,
*if i get one example program will help me to proceed writing code.
2021-06-18 09:49 PM
The CubeF0 package should have multiple HAL examples for several chips/boards.
The SPL also has examples if use that rather than HAL