AnsweredAssumed Answered

fatfs f_mkfs usb

Question asked by david.deepak on Oct 31, 2013
formatting usb f_mkfs return only FR_MKFS_ABORTED,
changed in file usbh_msc_fatfs.c -->disk_ioctl function
 ////////////////////////////////////////////////////
case GET_BLOCK_SIZE :     /* Get erase block size in unit of sector (DWORD) */
    
    *(DWORD*)buff = 512;
    res = RES_OK; 
    break;
//////////////////////////////////////////////////////////
res = RES_OK;  was not there i have edited it so the f_mkfs works fine
f_mkfs(0,0,0);




Outcomes