Duplicate - merged.tried read and write operations worked successfully but when i try this again fres = f_mkfs("0:", FM_FAT, 0, worK, sizeof(worK));
fres = f_mount(&fs,"0:",1);
if(fres == FR_OK) {
v=9;
fres = f_open(&fp, "info.txt", FA_OPEN_ALWA...
tried read and write operations worked successfuly but when i try this again fres = f_mkfs("0:", FM_FAT, 0, worK, sizeof(worK));fres = f_mount(&fs,"0:",1);if(fres == FR_OK) {v=9;fres = f_open(&fp, "info.txt", FA_OPEN_ALWAYS|FA_WRITE);}else {v=fres;}i...