cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401RC fatfs internal flash

cable gu
Associate II
Posted on May 11, 2017 at 09:45

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:

0690X00000606t7QAA.png

so now, I want to use the last sector(128K) to store data, the test code is below:

0690X00000606w1QAA.png

Anyone have some suggestion or does there any example?

Thanks!

#stm32f401rc-fatfs-internal-flash
1 REPLY 1
cable gu
Associate II
Posted on June 16, 2017 at 08:38

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:

0690X00000607N6QAI.png

so it is not suit for

fatfs

.