Hi all,
I have KEIL MCB2388 board with LPC2388 and Rowley crossworks.
I took KEIL MCB2388 USBHID example, make some changes in code
like
http://www.keil.com/forum/docs/thread10565.asp
When i run program, windows recognized USB HID device,
but no data was transferred.
Here is log from Bushound for project, i run from Crossworks
Device Length Phase Data
Description
------ -------- ----- -------------- ----------------
32.0 CTL 80 06 00 03 00 00 ff 00 GET
DESCRIPTOR
32.0 4 IN 04 03 09 04
....
32.0 CTL 80 06 02 03 09 04 ff 00 GET
DESCRIPTOR
32.0 34 IN 22 03 4b 00 65 00 69 00
".K.e.i.
32.0 CTL 80 06 00 01 00 00 12 00 GET
DESCRIPTOR
32.0 18 IN 12 01 00 02 00 00 00 08
........
32.0 CTL 80 06 00 02 00 00 09 00 GET
DESCRIPTOR
32.0 9 IN 09 02 22 00 01 01 00 80
..".....
32.0 CTL 80 06 00 02 00 00 22 00 GET
DESCRIPTOR
32.0 34 IN 09 02 22 00 01 01 00 80
..".....
32.0 CTL 00 09 01 00 00 00 00 00 SET
CONFIG
32.0 CTL 21 0a 00 00 00 00 00 00 SET
IDLE
32.0 CTL 81 06 00 22 00 00 61 00 GET
DESCRIPTOR
32.0 33 IN 06 00 ff 09 01 a1 01 15
........
32.1 USTS c0000005 no
response
32 RESET
32 ok
32.1 RESET
32.1 USTS c0000004
stall pid
32.1 USTS c0000005 no
response
32 RESET
32.1 NTSTS c000009d dev
not present
32 ok
32.1 RESET
32.1 USTS c0000004
stall pid
32.1 USTS c0000005 no
response
32.1 USTS c0007000 no
device
32 RESET
32 ok
32.1 RESET
32.1 USTS c0000004
stall pid
32.1 USTS c0000005 no
response
Here is log from Bushound for axf file from KEIL project, how it should be
working.
Device Length Phase Data
Description
------ -------- ----- -------------- ----------------
32.0 CTL 80 06 00 03 00 00 ff 00 GET
DESCRIPTOR
32.0 4 IN 04 03 09 04
....
32.0 CTL 80 06 02 03 09 04 ff 00 GET
DESCRIPTOR
32.0 34 IN 22 03 4b 00 65 00 69 00
".K.e.i.
32.0 CTL 80 06 00 01 00 00 12 00 GET
DESCRIPTOR
32.0 18 IN 12 01 00 02 00 00 00 08
........
32.0 CTL 80 06 00 02 00 00 09 00 GET
DESCRIPTOR
32.0 9 IN 09 02 22 00 01 01 00 80
..".....
32.0 CTL 80 06 00 02 00 00 22 00 GET
DESCRIPTOR
32.0 34 IN 09 02 22 00 01 01 00 80
..".....
32.0 CTL 00 09 01 00 00 00 00 00 SET
CONFIG
32.0 CTL 21 0a 00 00 00 00 00 00 SET
IDLE
32.0 CTL 81 06 00 22 00 00 61 00 GET
DESCRIPTOR
32.0 33 IN 06 00 ff 09 01 a1 01 15
........
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
32.1 1 IN 00 .
32.1 1 IN 01 .
Have anybody idea, where is problem? I have no experience with USB
and i dont know where to start.
Thank you for your suggestion.
Oto Meran
LPC23788 USBHID Rowley Crossworks
Started by ●March 18, 2010