STM32F4 : Usb flash drive and fatfs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-03 1:49 AM
Posted on March 03, 2016 at 10:49
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
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
