高级会员
- 积分
- 839
- 金钱
- 839
- 注册时间
- 2016-8-23
- 在线时间
- 116 小时
|
楼主 |
发表于 2023-5-8 10:02:54
|
显示全部楼层
----- get only 1st 8 bytes device descriptor -----
send a SETUP packet
----- get only 1st 8 bytes device descriptor -----
receive a data packet from the USB device
----- get only 1st 8 bytes device descriptor -----
USB status OUT transaction
----- get only 1st 8 bytes device descriptor -----
bLength: 0x12
bDescriptorType: 0x01
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40
---------- get full device descriptor ----------
send a SETUP packet
---------- get full device descriptor ----------
receive a data packet from the USB device
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x08
---------- get full device descriptor ----------
USB status OUT transaction
---------- get full device descriptor ----------
bLength: 0x12
bDescriptorType: 0x01
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40
idVendor: 0x2FE9
idProduct: 0xFF00
bcdDevice(version): 0x0902
iManufacturer: 0x01
iProduct: 0x02
iSerialNumber: 0x03
bNumberConfigurations: 0x01
VID: 2FE9
PID: FF00
---------- set address ----------
send a SETUP packet
---------- set address ----------
USB status IN transaction
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x12
---------- set address ----------
----- get standard configuration descriptor ------
send a SETUP packet
----- get standard configuration descriptor ------
receive a data packet from the USB device
----- get standard configuration descriptor ------
USB status OUT transaction
----- get standard configuration descriptor ------
bLength: 0x09
bDescriptorType: 0x02
wTotalLength: 0x0029
bNumInterfaces: 0x01
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xa0
bMaxPower: 0x0096
---------- get full configure descriptor ----------
send a SETUP packet
---------- get full configure descriptor ----------
receive a data packet from the USB device
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x09
---------- get full configure descriptor ----------
USB status OUT transaction
---------- get full configure descriptor ----------
bLength: 0x09
bDescriptorType: 0x02
wTotalLength: 0x0029
bNumInterfaces: 0x01
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xa0
bMaxPower: 0x0096
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x03
bInterfaceSubClass: 0x00
bInterfaceProtocol: 0x00
iInterface: 0x00
---------- get interface descriptor ----------
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x00
bAlternateSetting: 0x00
bNumEndpoints: 0x02
bInterfaceClass: 0x03
bInterfaceSubClass: 0x00
bInterfaceProtocol: 0x00
iInterface: 0x00
---------- get endpoint descriptor ----------
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x81
bmAttributes: 0x03
wMaxPacketSize: 0x40
bInterval: 0x01
---------- get endpoint descriptor ----------
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x01
bmAttributes: 0x03
wMaxPacketSize: 0x40
bInterval: 0x01
HID device connected.
---------- get string descriptor ----------
get manufacturing string
send a SETUP packet
---------- get string descriptor ----------
get manufacturing string
receive a data packet from the USB device
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x29
---------- get string descriptor ----------
get manufacturing string
USB status OUT transaction
---------- get string descriptor ----------
get manufacturing string
Manufacturer: STMicroelectronics
[14:18:45.758]收←◆
---------- get string descriptor ----------
get product string
send a SETUP packet
---------- get string descriptor ----------
get product string
receive a data packet from the USB device
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x26
---------- get string descriptor ----------
get product string
USB status OUT transaction
---------- get string descriptor ----------
get product string
Product: STM32F446 Bootloader
---------- get string descriptor ----------
get serial string
send a SETUP packet
---------- get string descriptor ----------
get serial string
receive a data packet from the USB device
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x2a
---------- get string descriptor ----------
get serial string
USB status OUT transaction
---------- get string descriptor ----------
get serial string
Serial Number: 00000000001A
send a SETUP packet
USB status IN transaction
usb_pipe *pp = &udev->host.pipe[1]
pp->xfer_count = 0x1a
Enumeration completed. |
|