打印
[研电赛技术支持]

GD32W515PIQ USB HOST MSC接U盘f_mount和f_open失败

[复制链接]
253|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
dxtech001|  楼主 | 2023-3-3 11:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请高手指点下,谢谢
OTG_ID管脚没接,做串口用了,串口打印的log:
> Reset the USB device.
> Full speed device detected.
> Device Attached.
VID: 14CDh
PID: 1212h
> Mass storage device connected.
Manufacturer: Generic
Product: Mass Storage Device
Serial Number: 121220160204
> Enumeration completed.
>>> To see the disk information:
>>> Press CET Key...
> File System initialized.
> Disk capacity: 127139328d Bytes.
> Exploring disk flash ...
>>> To see the root content of disk
>>> Press CET Key...
> explore_disk end
>>> Press C Key to write file
> Writing File to disk flash ...
> f_mount = 1
> find_volume = 1
> f_open = 1
> GD32.TXT created in the disk.
> The MSC host demo is end.

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝