‎2021-07-19 01:02 AM
Hi
I work on stm32f746 discovery and I want to configure FATFS on external sdram. I use STM32CubeIDE 1.6.1. when I create my project and mount disk, return error (value 13 = FR_NO_FILESYSTEM). does everyone know about this problem or is there any sample code to solve this problem ?
thanks.
‎2021-07-19 01:11 AM
You may need to format disk first with file system. Refer to f_mkfs function from FATFS package.
‎2021-07-19 01:52 AM
Hello @Community member​ ,
Just to be sure, are you using the external SDRAM as a FATFS disk? It this is the case, @Tilen MAJERLE​ 's answer is what you need. You'd also need to "reformat" the external SDRAM at each power cycle.
Best regards,
@SBEN .2​
‎2021-07-19 02:15 AM
Thank you. You solve my problem.:rose: