Internal Flash (STM32F042G6)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-18 7: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.
- Labels:
-
Flash
-
STM32F0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-18 8: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-18 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-18 9:49 PM
The CubeF0​ package should have multiple HAL examples for several chips/boards.
​
T​he SPL also has examples if use that rather than HAL
Up vote any posts that you find helpful, it shows what's working..
