STM32的usb hid针对set report命令该怎么回数据给主机?

xqhrs232 2018-03-14 06:10:11
STM32的usb hid针对set report命令该怎么回数据给主机?
...全文
1126 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
xqhrs232 2018-03-16
  • 打赏
  • 举报
回复
引用 6 楼 xuweiwei1860 的回复:
推荐一个调试usb 的利器,beagle usb xxx 相比较终端上运行的软件抓包工具,这种硬件调试工具更好
你说的这个是usb分析仪?
fly 100% 2018-03-16
  • 打赏
  • 举报
回复
推荐一个调试usb 的利器,beagle usb xxx 相比较终端上运行的软件抓包工具,这种硬件调试工具更好
xqhrs232 2018-03-15
  • 打赏
  • 举报
回复
引用 4 楼 ssxhhb 的回复:
HID1.11的7.2节有描述,百度文库里就有
你这个是set report这个命令的发送格式!
Ansersion 2018-03-15
  • 打赏
  • 举报
回复

HID1.11的7.2节有描述,百度文库里就有
xqhrs232 2018-03-14
  • 打赏
  • 举报
回复
插到linux老是显示在复位

Mar 14 18:22:34 hp kernel: [ 1327.888391] usb 2-1.2: reset full speed USB device using ehci_hcd and address 8
Mar 14 18:22:36 hp kernel: [ 1329.553845] usb 2-1.2: reset full speed USB device using ehci_hcd and address 8
Mar 14 18:22:38 hp kernel: [ 1331.219308] usb 2-1.2: reset full speed USB device using ehci_hcd and address 8
Mar 14 18:22:39 hp kernel: [ 1332.884890] usb 2-1.2: reset full speed USB device using ehci_hcd and address 8
Mar 14 18:22:41 hp kernel: [ 1334.550352] usb 2-1.2: reset full speed USB device using ehci_hcd and address 8

xqhrs232 2018-03-14
  • 打赏
  • 举报
回复
有没什么好方法或者工具能更详细地分析set report的过程?觉得bus bound还是太简单了!!!
xqhrs232 2018-03-14
  • 打赏
  • 举报
回复

  21.0  CTL    21 09 00 02  00 00 01 00                                                                                SET REPORT                              15.1.0        
  21.0  OUT    00                                                                                                      .                                       15.2.0        
  20    RESET                                                                                                                                                  16.1.0(2)     
  20    ok          
我的动不动就会导致usb bus复位!!!

27,375

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧