eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
148 stars 88 forks source link

U盘可以识别,可以正常枚举,但是无法读写U盘数据 #64

Open LiuChenghu opened 2 years ago

LiuChenghu commented 2 years ago

下图所示,使用USBX可以正常枚举,但是读U盘读写操作时就无法正常工作了,请问这种问题怎么解决? image

xiaocq2001 commented 2 years ago

Which platform are you on? Are you running some example with the platform vendor, with USBX integration?

LiuChenghu commented 1 year ago

使用的平台是 stm32f429bgt6+Threadx+Usbx+fileX,有的U盘使用是正常的,但是有的U盘就PID和VID可以识别,无法正常读写操作。调试发现,fx_media媒介的内容都是0,如下图所示,请问这种问题怎么解决或者怎么让该U盘正常读写。 LO)%_TP@4_NEYYO{1@AGTX

xiaocq2001 commented 1 year ago

Do you have USB trace for the disks that can not recognize? It seems FX_MEDIA is not open, the possible issue can be MSC command fail, read data not correct or the file system not supported, trace can help to analyze the issue.

jiyupack commented 1 year ago

我也遇到了相同的问题。请问有新的进展吗? @LiuChenghu

xiaocq2001 commented 1 year ago

BTW, if you need EXFAT support, compile FX with FX_ENABLE_EXFAT and update USBX to latest version.