This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

fatfs 操作两个文件

我打开一个sd卡中的文件A,然后在创建一个新文件B,读取文件A中的数据,然后写到文件B中,这样程序执行一会就会卡到一个while循环中,有时候直接返回错误1,FR_DISK_ERR。有那个大神遇到过相似的问题,求指教。