VSF的visual Studio开发环境(三)USB设备开发环境搭建

[复制链接]
 楼主| vsfopen 发表于 2020-9-11 15:36 | 显示全部楼层 |阅读模式
本帖最后由 vsfopen 于 2020-9-16 16:33 编辑

1. 进入测试模式,安装证书,之后重启
usbip.png
2. 打开vc工程,编译运行,输入命令:usbd_cdc或者usbd_msc
3. power shell下,先运行 ./usbip install,安装vhci驱动
4. ./usbip list -p -r localhost
Exportable USB devices
======================
- localhost
          0: unknown vendor : unknown product (a7a8:2348)
           : /vsf/usbd/0
           : Miscellaneous Device / ? / Interface Association (ef/02/01)
           :  0 - Mass Storage / SCSI / Bulk-Only (08/06/50)
5. 运行./usbip attach -r localhost -b 0


以后运行,只需要运行4和5即可

90

主题

325

帖子

8

粉丝
快速回复 在线客服 返回列表 返回顶部