signet 发表于 2018-9-1 17:41:26

HID设备,L053进STOP模式后,USB插入电脑后,USB无法识别

请教下各位,我有个项目使用电池供电,有液晶段码屏,工作逻辑是这样:上电后一直处于STOP模式,有外部触发时进入终端程序,中断处理完后继续进入stop模式,这期间如果USB插入的话,usb电源脚连接到了一个IO口,io口会触发中断,单片机唤醒,单片机不进入stop模式,进入等待通讯的循环while中。
目前的问题是:USB插入电脑后,usb设备不识别,用bushound抓的数据入下,请各位高手帮忙分析下

Bus Hound 6.00 capture on Windows Vista Service Pack 1 (x64). Complements of www.perisoft.net

Device - Device ID (followed by the endpoint for USB devices)
            (63) Unknown Device
Length - Total transfer length
Phase- Phase Type
            CTL   USB control transfer      
            URB   USB request block         
            USTSUSB status               
Data   - Hex dump of the data transferred
Descr- Description of the phase
Delta- Elapsed time from the previous phase to the current phase
Cmd... - Position in the captured data


DeviceLength    PhaseData                                                Description       DeltaCmd.Phase.Ofs(rep)
------------------------------------------------------------------------------------------------------------
63.0            CTL    00 09 00 0000 00 00 00                            SET CONFIG      4.1sc         1.1.0(13)   
63.0            USTS   80000600                                          bad pipe handle   2us         1.2.0      
63.0            URB    58 00 00 0000 06 00 8000 00 00 0000 00 00 00SELECT CONFIG       0us         1.3.0      
                         00 00 00 0000 00 00 0000 00 00 0000 00 00 00                                  1.3.16      
                         00 00 00 0000 00 00 0000 00 00 0000 00 00 00                                  1.3.32      
                         00 00 00 0000 00 00 0000 00 00 0000 00 00 00                                  1.3.48      


页: [1]
查看完整版本: HID设备,L053进STOP模式后,USB插入电脑后,USB无法识别