2023-12-14 12:24 PM - edited 2023-12-14 12:32 PM
Hello,
I'm using a microSD connected with SPI to a STM32F4 microcontroller. I have used MLC micro SD card with fatfs for years without any issues. Recently, I have switched to SLC NAND micro SD, Industrial grade, with Wear Leveling (for application specific reasons). However, when I try to mount the new SD card I get FR_NO_FILESYSTEM.
Do someone have an idea why it is not working as expected?
2023-12-14 01:05 PM
If you are using the HAL/Cube code, the answer is clear - because it is a broken bloatware. The solution is obvious - replace it with up to date FatFS and a normal driver and other code, which is not developed by inc0mpetent fools.
2023-12-14 01:14 PM
Check what content of sector zero / MBR and partition table.
Check if a supported file system, and suitably ffconf.h configuration for support.
2023-12-14 02:13 PM
Hello @Piranha ,
yes I’m using CubeIDE with the fatfs version provided by ST. The card is formatted in Fat32, allocation unit 4K.
There is an updated version of fatfs that I can import?
2023-12-14 03:14 PM - edited 2023-12-14 03:37 PM
I have checked the ffconf.h file but I don't see any special configuration that can help. I see that the microSD is recognized as SD standard which is different from the older ones that were recognized as SDHC.
2023-12-14 04:35 PM
FatFS is an open source library. Open it's home page and download it!