FATFS: f_mkfs not working.
Hi,
I use STM32Cube, STM32CubeIDE and my board is STM32F746. How do I update FATFS? The system is running version 0.12c. This is from 2017.
Why do I want to update it?
After inserting the SD card, I check the status and if the card is not formatted, I want to format it. I have tried everything I could find on the internet. I am obviously not the only one who has a problem with the SD card in STM32 systems.
The command I use is this:
res = f_mkfs((TCHAR const*) SDPath, FM_FAT32, 0, work, sizeof(work));
Of course, I have tried all possible parameters. I get a response that formatting is OK, but after moving the card to the computer there is no system on the card and I get a RAW response.
When the card is formatted in advance, everything works for me.
