2013-08-11 11:10 PM
Hello everyone, I am newbie in this forum so please forgive me for any noob questions. My application requires to save 4 double variables offline for next time usage, I think my data is too small to make us use a SD card or an USB flash drive. Are there any ways to write my data on STM32f4 MCU flash or rom. Please give me some examples if any. Thank you very much.
#rom #flash2013-08-12 05:04 AM
The ROM isn't writable, perhaps if you want something that is permanent you could use OTP (One Time Programmable)?
For FLASH, have you reviewed STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Examples\FLASH\FLASH_ProgramGiven the size of the various flash sectors you might want to review how you place your project so you can use the 16 KB sectors, rather than the 128 KB ones, which take a very long time to erase. You must have erased space you hope to write too.