FR_DISK_ERR, /(1) A hard error occurred in the low level disk I/O layer/ FR_INT_ERR, /(2) Assertion failed/ FR_NOT_READY, /(3) The physical drive cannot work/ FR_NO_FILE, /(4) Could not find the file/ FR_NO_PATH, /(5) Could not find the path/ FR_INVALID_NAME, /(6...
if (fmt == 3) return FR_DISK_ERR; /* An error occured in the disk I/O layer */ if...
对的,根据你这个方法能解决FR_DISK_ERR错误,必须要等到SD卡处于TRANSFER的状态才行 11FF.C文件,移植时,TF卡程序一些列要配套,我这次解决问题的方法...最近在操作TF卡,芯片stm32f103c8t6,编译环境KEIL,金士顿32G卡,用Fatfs文件系统向卡中写入数据。 出现的问题:f_open函数返回值为FR_DISK_ERR...
https://community.st.com/s/question/0D50X00009XkWceSAF/stm32f411re-stm32cube-fatfs-sdio-sdcard-always-returns-frdiskerr?t=1573717870396 Tested only reading from SD card, did not test writing. But why does it work? And will writing work in such configuration? Is it proper solutio...
fres = FR_OK; }break;default:caseFR_DISK_ERR: {f_mount(0,NULL);//unmount drive todo: retry could never workMountFail++;if(MountFail ==10) { BootStatusError(-5, fres); mdelay(2000); Shutdown(); } mdelay(5); }break; }if(STATUS_ERROR ==-7) {// FS check timed out on PPC...