Use STM32F4 flash for non-volatile data storage (eeprom)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 1:06 AM - last edited on ‎2024-11-25 12:58 AM by Andrew Neil
hello i am using stm32f429i-disc1 microcontroller board in this how to generate flash code (eeprom)
Your other thread showed a major confusion between what is a "microcontroller", and what is a "board" - so edited for clarity.
- Labels:
-
Flash
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 1:07 AM - last edited on ‎2024-11-25 12:59 AM by Andrew Neil
(duplicate thread - merged)
hello i am using stm32f429i-disc1 microcontroller board i want flash code (eeprom) for storing biomatric data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 1:24 AM - edited ‎2024-11-15 1:25 AM
You mean you want to use the Flash for non-volatile data storage - "emulating" EEPROM?
For that, ST provide the STSW-STM32066 software pack, EEPROM emulation in STM32F40x/STM32F41x microcontrollers:
https://www.st.com/en/embedded-software/stsw-stm32066.html
See Application Note AN3969, EEPROM emulation in STM32F40x/STM32F41x microcontrollers for details:
https://www.st.com/en/embedded-software/stsw-stm32066.html#documentation
It may not exactly suit your requirements, but it does show how to use the STM32F4 Flash for data storage.
With that knowledge, you could adapt to your own needs; eg, see:
https://community.st.com/t5/stm32-mcus-embedded-software/eeprom-emulation-virtual-addresses/m-p/675964/highlight/true#M47888
and follow the link.
PS:
@syedhashmiraza wrote:for storing biometric data
The nature of the data really makes no difference - it's all just data !
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 2:14 AM
yes i want to store data in Flash for non-volatile data storage - "emulating" EEPROM i want one refrernce or example code for stm32f429i-disc1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 2:30 AM - edited ‎2024-11-15 2:33 AM
@syedhashmiraza wrote:yes i want to store data in Flash for non-volatile data storage
I've updated the title to make that clear.
@syedhashmiraza wrote:i want one reference or example code for stm32f429i-disc1
You can use the STSW-STM32066 as mentioned previously.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 3:43 AM
"I am downloading, but it is not downloading."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 3:56 AM
is this software work for stm32f429i-disc1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 3:57 AM
Give more details.
ST do have trouble with their web servers from time-to-time ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 4:07 AM - last edited on ‎2024-11-15 4:11 AM by Andrew Neil
is STSW-STM32066 code work for stm32f4219i-disc1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-15 4:09 AM
@syedhashmiraza wrote:is this software work for stm32f429i-disc1?
It just uses the internal flash; no reliance on any external resources - so should work on any target.
But this looks like it:
A complex system designed from scratch never works and cannot be patched up to make it work.
