Writing User data to memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-03 9:01 AM - edited ‎2024-03-03 9:03 AM
I am trying to implement application with password access and change option. Please suggest a way to store password/user data in flash memory. Are there any APIs or applicaiton note for more information?
Solved! Go to Solution.
- Labels:
-
Flash
-
RAM
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-03 10:42 AM
The regular FLASH API for erasing and writing work as normal. Look for those examples.
On the F4 you might want to partition the memory up so you can uses some of the smaller 16KB, 32KB and 64KB sectors rather than the 128KB ones. You might consider splitting your app into pieces, so a loader can live at 0x08000000 where the MCU starts execution. The core app can reside at 0x08020000. Or you can create a hole in the linker script so the vectors can live at the front of memory, and the rest resides deeper.
You can put smaller things int BKPRAM / NVRAM
There's also EEPROM Emulation, but it would be better just to understand how to store, manage and retrieve data from FLASH
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
‎2024-03-03 10:42 AM
The regular FLASH API for erasing and writing work as normal. Look for those examples.
On the F4 you might want to partition the memory up so you can uses some of the smaller 16KB, 32KB and 64KB sectors rather than the 128KB ones. You might consider splitting your app into pieces, so a loader can live at 0x08000000 where the MCU starts execution. The core app can reside at 0x08020000. Or you can create a hole in the linker script so the vectors can live at the front of memory, and the rest resides deeper.
You can put smaller things int BKPRAM / NVRAM
There's also EEPROM Emulation, but it would be better just to understand how to store, manage and retrieve data from FLASH
Up vote any posts that you find helpful, it shows what's working..
