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.

FR_RW_ERROR when f_write on uSD with delfino dual

Hello, I'm using delfino dual and fatfs library to read/write files on uSD.

when I read file all is OK.

when I try to create file all is OK

hres=f_open(&c, "0001.txt", FA_CREATE_NEW | FA_WRITE);

when I try to write file I obtain FR_RW_ERROR

If I step code I find the point where fail:

I don't understand