2017-05-11 12:45 AM
Hi guys,
These days, I am doing some test on the internal flash with fatfs on stm32f401rc. And now, I know there is many sample with the SD card, and also in the cubemx, I find the example with SD card and USB device, but now, I think I should use user define function to use internal flash with fatfs.
And about f401rc, the internal flash like below:
so now, I want to use the last sector(128K) to store data, the test code is below:
Anyone have some suggestion or does there any example?
Thanks!
#stm32f401rc-fatfs-internal-flash2017-06-15 11:38 PM
Hi ALL, on this project, I have do some research, and find that the STM32F401 could not use fatfs with internal flash, because the internal flash should erase and write by sector like below:
so it is not suit for
fatfs
.