2016-03-03 01:49 AM
Hello,
My 4GB usb flash drive works perfectly fine with FATFS and STM32Cube. However, my program is not able to make a read/write operation on the other usb keys. Actually, f_mount function returns ''FR_OK'' and I can create a directory on my drive. The problem occurs when my program tries a write operation. The error code is ''FR_NOT_READY'' and it comes from disk_initialize which returns ''STA_NOINIT''. I have tested my program with 6 different pen drives of 2, 4, 8 and 16 GB but the only ones which work are the 4GB ones. I can't say there is a link but I have currently no idea to solve this issue. Any help would be appreciated. Mikael #stm32 #fr_not_ready #fatfs #usb