Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 4 months ago.
SAVING DATA 50 KB OF DATA ON FLASH MEMORY FOR NUCLEO- F767ZI BOARD USING MBED OS
Hi guys,
I am using mbed OS on Nucleo-F767ZI. It has a 2MB flash. I need to store data on non-volatile store ( Data size is around 50 KB). Can anyone please tell me on how to store data which is not removed when the power is removed? How can I achieve this using mbed OS?
3 Answers
6 years, 4 months ago.
The 2MB flash of Nucleo-F767ZI is only for program. You need extra hardware like EEPROM, FRAM or something else.
Visit https://os.mbed.com/components/cat/storage/
6 years, 4 months ago.
You are free to use the remaining sectors of the internal flash memory as you wish. You need to follow the ST application notes for how to enable writes to the flash. Also think about write-leveling if you plan to do a significant number of writes to the flash.
Is there any way I can used mbed OS to write to the remaining sectors of the flash?
posted by 19 Jul 2018mbed allows you to call the low-level APIs as well the documentation is supplied by the vendor which is ST in this case. The ST forum probably will be able to show you how to do it faster than asking here. You can import that code to mbed and call it with some minor cleanup.
That forum is here: https://community.st.com/community/stm32-forum/content
posted by 19 Jul 20186 years, 4 months ago.
Please check FlashIAP: https://os.mbed.com/docs/latest/reference/flash-iap.html
Please check FlashIAP: https://os.mbed.com/docs/latest/reference/flash-iap.html
posted by Osamu Koizumi 19 Jul 2018