I just updated my Mega2561 test program with the latest Fatfs from Chan Ver. 0.08 and noticed an odd behavior. IF I do a:
di 0 = rc=0 ok
fi 0 = rc=0 ok
fl = rc=1 disk_err
I get an error on the first file operation no matter what type. After the first failure it always works fine afterward. It seems like something isn't getting initialized properly; anyone else experience this?