Skip to main content
Visitor II
February 8, 2006
Question

USB endpoint problem

  • February 8, 2006
  • 2 replies
  • 802 views
Posted on February 08, 2006 at 03:25

USB endpoint problem

    This topic has been closed for replies.

    2 replies

    Visitor II
    February 2, 2006
    Posted on February 02, 2006 at 15:50

    Hello All,

    I am using STR711F and done with enumeration as HID device. I am using IAR Kickstart board.

    I am simultaneously developing (sort of reusing) a small host side application to talk with the device. Whenever I write on endpoint, it always writes on control endpoint and I get USB monitor trafic as:

    000001: Class-Specific Request (DOWN), 02.02.2006 13:56:59.3556808 +67.5633648

    Destination: Inrterface, Index 0

    Reserved Bits: 34

    Request: 0x9

    Value: 0x201

    Send 0x11 bytes to the device

    01 04 43 72 05 30 30 30 30 30 30 30 30 30 00 00

    00..Cr.000000000...

    000002: Control Transfer (UP), 02.02.2006 13:56:59.3556808 +0.0

    Pipe Handle: 0x84685020

    Setup Packet

    21 09 01 02 00 00 11 00 !.......

    Recipient: Inrterface

    Request Type: Class

    Direction: Host->Device

    Request: 0x9 (Unknown)

    Value: 0x201

    Index: 0x0

    Length: 0x11

    The problem is, it always writes on control endpoint. I am using the same host side application which I am using for one of my previous USB projects with ATMEL AT89C5132. And it works with that and writes on Endpoint 2 (0x02).

    Can anybody tell me what may be wrong in host side application? My question might not be related to this forum but any help will be appreciated.

    Thanks in advance,

    Ranga

    [ This message was edited by: ranga on 02-02-2006 20:22 ]

    UPDATE:

    Problem is solved. My HID report was correct but I didn't enable the OUT endpoint and that's why the host was writting on Endpoint 0. Anyways thanks for reading.

    [ This message was edited by: ranga on 02-02-2006 22:32 ]

    Visitor II
    February 8, 2006
    Posted on February 08, 2006 at 03:25

    Can you describe your USB definitions?

    report descriptor

    device descriptor

    etc.