请教下各位,我有个项目使用电池供电,有液晶段码屏,工作逻辑是这样:上电后一直处于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
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
USTS USB status
Data - Hex dump of the data transferred
Descr - Descrip
tion of the phase
Delta - Elapsed time from the previous phase to the current phase
Cmd... - Position in the captured data
Device Length Phase Data Description Delta Cmd.Phase.Ofs(rep)
------ -------- ----- -------------------------------------------------- ---------------- ----- ------------------
63.0 CTL 00 09 00 00 00 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 00 00 06 00 80 00 00 00 00 00 00 00 00 SELECT CONFIG 0us 1.3.0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1.3.16
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1.3.32
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1.3.48