cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to write to flash

MNapi
Senior II

I see that there is a function to write SDRAM ( HAL_SDRAM_Write_32b ) but no FLASH.

I want to take data from ADC array[2000] and save so I do not loose when it is powered down.

And of course recall / display it later.

2 REPLIES 2

STM32Cube_FW_F4_V1.19.0\Projects\STM32F4-Discovery\Examples\FLASH\FLASH_EraseProgram\Src\main.c

Flash memory very slow to erase/write. ADC stuff, would probably stream to an SD Card.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
S.Ma
Principal

Ideally use an I2C or SPI EEPROM 8 pin device. they exist up to 32 kbyte. erase and write is fast with great rewrite cycle.