2023-06-06 07:22 AM
fresult1 = f_mount(&myFATAFS, SDPath, 1)
while(FR_OK != fresult1){
If I remove and reinsert the SD card the f_mount return FR_DISK_ERR instead FR_OK.
If I restart the project all is OK.
I have the SD_CARD present pin, what can i do when the card is disconnect and i insert it.
2023-06-12 03:03 AM
Hello @IlConte ,
A similar question is already asked here. And the best answer is already provided by @Tim Russell .
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-06-20 08:08 AM
I have try the TIm Russel solution, but i have the same FR_DISK_ERR error