stm32f103 usb出现故障,为“0”;没有开放的管道&引用;
我正在尝试将我的stm32f103c8板与internet上的几个示例连接到PC,但它们都面临相同的问题,无法成功安装 通过使用windows中的“usbview.exe”,我得到了这个错误stm32f103 usb出现故障,为“0”;没有开放的管道&引用;,usb,stm32,Usb,Stm32,我正在尝试将我的stm32f103c8板与internet上的几个示例连接到PC,但它们都面临相同的问题,无法成功安装 通过使用windows中的“usbview.exe”,我得到了这个错误 ---===>Device Information<===--- English product name: "YunfeiVirtual COM Port " ConnectionStatus: Current Config
---===>Device Information<===---
English product name: "YunfeiVirtual COM Port "
ConnectionStatus:
Current Config Value: 0x00 -> Device Bus Speed: Full
Device Address: 0x03
Open Pipes: 0
*!*ERROR: No open pipes!
--==>设备信息设备总线速度:满
设备地址:0x03
开放管道:0
*!*错误:没有打开的管道!
而普通usb设备可能具有以下功能:
---===>Device Information<===---
English product name: "USB-Serial Controller"
ConnectionStatus:
Current Config Value: 0x01 -> Device Bus Speed: Full
Device Address: 0x04
Open Pipes: 3
--==>设备信息设备总线速度:满
设备地址:0x04
明管:3
但如果我手动安装usb驱动程序,我的设备仍然可以使用。以下是我的完整日志,供您参考:
[Port1]
---===>Device Information<===---
English product name: "YunfeiVirtual COM Port "
ConnectionStatus:
Current Config Value: 0x00 -> Device Bus Speed: Full
Device Address: 0x03
Open Pipes: 0
*!*ERROR: No open pipes!
===>Device Descriptor<===
bLength: 0x12
bDescriptorType: 0x01
bcdUSB: 0x0200
bDeviceClass: 0x02 -> This is a Communication Device
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40 = (64) Bytes
idVendor: 0x0483 = STMicroelectronics
idProduct: 0x5711
bcdDevice: 0x0200
iManufacturer: 0x01
English (United States) "Yunfeielectronics"
iProduct: 0x02
English (United States) "YunfeiVirtual COM Port "
iSerialNumber: 0x03
English (United States) "8D7232A25049"
bNumConfigurations: 0x01
===>Configuration Descriptor<===
bLength: 0x09
bDescriptorType: 0x02
wTotalLength: 0x0043 -> Validated
bNumInterfaces: 0x02
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xE0 -> Self Powered
-> Remote Wakeup
MaxPower: 0x32 = 100 mA
===>Interface Descriptor<===
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x01
bInterfaceClass: 0x02 -> This is Communications (CDC Control) USB Device Interface Class
bInterfaceSubClass: 0x02
bInterfaceProtocol: 0x01
iInterface: 0x00
-> This is a Communications (CDC Control) USB Device Interface Class
===>Descriptor Hex Dump<===
bLength: 0x05
bDescriptorType: 0x24
05 24 00 10 01
-> This is a Communications (CDC Control) USB Device Interface Class
===>Descriptor Hex Dump<===
bLength: 0x05
bDescriptorType: 0x24
05 24 01 00 01
-> This is a Communications (CDC Control) USB Device Interface Class
===>Descriptor Hex Dump<===
bLength: 0x04
bDescriptorType: 0x24
04 24 02 02
-> This is a Communications (CDC Control) USB Device Interface Class
===>Descriptor Hex Dump<===
bLength: 0x05
bDescriptorType: 0x24
05 24 06 00 01
===>Endpoint Descriptor<===
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2
bmAttributes: 0x03 -> Interrupt Transfer Type
wMaxPacketSize: 0x0008 = 0x08 bytes
bInterval: 0xFF
===>Interface Descriptor<===
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x01
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x0A -> This is a CDC Data USB Device Interface Class
bInterfaceSubClass: 0x00
bInterfaceProtocol: 0x00
iInterface: 0x00
===>Endpoint Descriptor<===
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x03 -> Direction: OUT - EndpointID: 3
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0040 = 0x40 bytes
bInterval: 0x00
===>Endpoint Descriptor<===
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1
bmAttributes: 0x02 -> Bulk Transfer Type
wMaxPacketSize: 0x0040 = 0x40 bytes
bInterval: 0x00
[Port1]
---==>设备信息设备总线速度:满
设备地址:0x03
开放管道:0
*!*错误:没有打开的管道!
==>设备描述符这是一个通信设备
bDeviceSubClass:0x00
bDeviceProtocol:0x00
bMaxPacketSize0:0x40=(64)字节
idVendor:0x0483=意法半导体
idProduct:0x5711
BCD设备:0x0200
i制造商:0x01
英语(美国)“云飞电子”
IPProduct:0x02
英语(美国)“云飞虚拟港口”
iSeries号码:0x03
英文(美国)“8D7232A25049”
bNumConfigurations:0x01
=>已验证配置描述符
bNumberFaces:0x02
B配置值:0x01
i配置:0x00
bmAttributes:0xE0->自供电
->远程唤醒
最大功率:0x32=100 mA
=>接口描述符这是通信(CDC控制)USB设备接口类
Binterface子类:0x02
bInterfaceProtocol:0x01
界面:0x00
->这是一个通信(CDC控制)USB设备接口类
==>描述符十六进制转储这是一个通信(CDC控制)USB设备接口类
==>描述符十六进制转储这是一个通信(CDC控制)USB设备接口类
==>描述符十六进制转储这是一个通信(CDC控制)USB设备接口类
==>描述符十六进制转储端点描述符方向:IN-EndpointID:2
bmAttributes:0x03->中断传输类型
wMaxPacketSize:0x0008=0x08字节
bInterval:0xFF
==>接口描述符这是一个CDC数据USB设备接口类
Binterface子类:0x00
bInterfaceProtocol:0x00
界面:0x00
=>端点描述符方向:OUT-端点ID:3
bmAttributes:0x02->批量传输类型
wMaxPacketSize:0x0040=0x40字节
b间期:0x00
=>端点描述符方向:IN-EndpointID:1
bmAttributes:0x02->批量传输类型
wMaxPacketSize:0x0040=0x40字节
b间期:0x00
是否有人知道并帮助我?