Writing data in flash STM32F103
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-06 2:29 AM
Hi amazing community.
I would like to write some data in the flash memory of the following mcu STM32F103
I know there are some dedicated pages for such purpose.
How can I guarantee or understand that the future code that i will develop and it will be saved for sure always
in the flash memory it won't overwrite the pages that i have used for saving the data?
Thanks a lot
Solved! Go to Solution.
- Labels:
-
STM32F1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-06 3:47 AM
The MEMORY section describes base address and size of FLASH the Linker can use, shrink that by several KB to carve out space it can't allocate.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-06 2:39 AM
Hello @SGasp.1,
You can manage it through the linker file, by reserving specific pages for your data ;)
Best Regards,
Gwénolé
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-06 3:06 AM
thankjs @GwenoleB can you provide an example or guide about how to do it? thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-11-06 3:47 AM
The MEMORY section describes base address and size of FLASH the Linker can use, shrink that by several KB to carve out space it can't allocate.
Up vote any posts that you find helpful, it shows what's working..
