Your cart is empty now.
If the card contains important photos or documents, stop using it immediately and contact a specialist like Hardmaster or Zero Alpha. If the data isn't important, it is time to replace the card , as it is no longer reliable.
// Open file in read mode res = f_open(&fil, "uupd.bin", FA_READ); if (res != FR_OK) return false; sd card uupd.bin