i am using stm32f103xE MCU. i am using FATFS with SDIO. it's opening the file, but when i am writing the data to the file it's giving the FR_INVALID_OBJECT Error.
char data[] = "Testing File";if(f_mount(&fs, SD_Path, 0) == FR_OK) { if(f_open(&myFile, "Test_File.txt", FA_WRITE | FA_CREATE_ALWAYS) == FR_OK) { if(f_write(&myFile, data, sizeof(data), &myBytes) == FR_OK) { f_close(&myFile); } f_clo...