2026-02-10 4:50 AM
Greetings, I am looking for pointers to material describing recommended ways to interact with built-in flash memory for general data reading and writing.
DS9716 indicates there are several memory-mapped regions that could suffice, but maybe block 6 (starting at 0xC000 0000) seems like a safe bet, since it is "Not used"?
Since this is for data storage and retrieval only, not instruction storage and retrieval, is there any need to mark the region of memory in some way in the loader script?
Also, I noticed the HAL functions have some flash-based functions (UM1725) - there is some good info in there but again I'm not sure what memory target would be best for these functions.
Apologies if this has been written up somewhere already. I see several "lab" type resources on the web for demonstrating how to do this, but I haven't seen a recommended practice in the official documentation or the knowledge bases here.
Solved! Go to Solution.
2026-02-10 5:02 AM
For STM32F4, have you seen AN3969 ?
See this thread.
Also this thread - which links to some alternatives ...
2026-02-10 5:02 AM
For STM32F4, have you seen AN3969 ?
See this thread.
Also this thread - which links to some alternatives ...