编辑: 梦三石 | 2018-02-20 |
80 06
00 03
00 00 FF
00 收到PC的字符串描述符,后面设备就返回. REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(6)(Offset=0x0) USB_DataInStage,cnt=4,EP0Data.Count=4
04 03
09 04 返回设备描述符的语言定义. USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 9.收到字符串描述符包 ? Setup m=0,n=0,val=45
80 06 2C
03 09
04 FF
00 收到PC需要产品字符串. REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(7)(Offset=0x2C) USB_DataInStage,cnt=30,EP0Data.Count=30 1E
03 42
00 69
00 67
00 53
00 6C
00 6F
00 70
00 65
00 33
00 44
00 20
00 48
00 49
00 44
00 这里USB设备返回产品字符串给PC了. USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 10.???? 收到字符串描述符包 ? Setup m=0,n=0,val=45
80 06
00 03
00 00 FF
00 这里收到字符串描述符. REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(8)(Offset=0x0) USB_DataInStage,cnt=4,EP0Data.Count=4
04 03
09 04 返回语言标识. USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? 11.???? 收到字符串描述符包 ? Setup m=0,n=0,val=45
80 06 2C
03 09
04 FF
00 收到PC需要产品字符串. ? REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(9)(Offset=0x2C) USB_DataInStage,cnt=30,EP0Data.Count=30 1E
03 42
00 69
00 67
00 53
00 6C
00 6F
00 70
00 65
00 33
00 44
00 20
00 48
00 49
00 44
00 这里USB设备返回产品字符串给PC了. ? USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 12.???? 收到字符串描述符包 ? USB_EVT_OUT Setup m=0,n=0,val=37
80 06
00 03
00 00 FF
00 这里收到字符串描述符. REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(10)(Offset=0x0) USB_DataInStage,cnt=4,EP0Data.Count=4
04 03
09 04 返回语言标识. USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 1.收到字符串描述符包 ? Setup m=0,n=0,val=45
80 06 2C
03 09
04 FF
00 收到PC需要产品字符串. ? REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(11)(Offset=0x2C) USB_DataInStage,cnt=30,EP0Data.Count=30 1E
03 42
00 69
00 67
00 53
00 6C
00 6F
00 70
00 65
00 33
00 44
00 20
00 48
00 49
00 44
00 这里USB设备返回产品字符串给PC了USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 2.收到字符串描述符包 ? Setup m=0,n=0,val=45
80 06
00 03
00 00 FF
00 REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(12)(Offset=0x0) USB_DataInStage,cnt=4,EP0Data.Count=4
04 03
09 04 USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? Setup m=0,n=0,val=45
80 06 2C
03 09
04 FF
00 REQUEST_STANDARD=0x6 USB_STRING_DESCRIPTOR_TYPE(13)(Offset=0x2C) USB_DataInStage,cnt=30,EP0Data.Count=30 1E
03 42
00 69
00 67
00 53
00 6C
00 6F
00 70
00 65
00 33
00 44
00 20
00 48
00 49
00 44
00 USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 3.收到字符串描述符包 ? USB_EVT_OUT Setup m=0,n=0,val=45
80 06
00 01
00 00
12 00 这里收到需要返回厂商字符串的请求. REQUEST_STANDARD=0x6 USB_DEVICE_DESCRIPTOR_TYPE(14) USB_DataInStage,cnt=18,EP0Data.Count=18
12 01
10 01
00 00
00 40
00 80
00 80
00 01
04 2C 4A
01 在这里返回设备的厂商字符串给PC. USB_EVT_IN,USB_DataInStage USB_DataInStage,cnt=0,EP0Data.Count=0 ? ? 4.收到第三个配置描述符包 ? Setup m=0,n=0,val=45
80 06
00 02
00 00
09 00 REQUEST_STANDARD=0x6 USB_CONFIGURATION_DESCRIPTOR_TYPE(15)(Offset=0x0) USB_DataInStage,cnt=9,EP0Data.Count=9