This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2148 usb controller

I use usb controller in Lpc2148. I get example code from keil website in HID class. I need adapt InReport up to 64 byte( InReport[0],InReport[1]....,InReport[64]) for send more data but I donn't good enough in C programming. How can I do? pleas give code. How can I develop application software in the host side. I need Visual Basic 6
thanks you

Parents
  • Your Configuration descriptor set is fine.
    I had jumped to wrong conclusion...
    OK, I reconsider on your previous post.

    "the last thing on the bus was a "GET DESCRIPTOR FROM INTERFACE"

    Humm.. then isn't it Get_Descriptor( HID_REPORT )?

    bmRequestType: 0x81   (IN from interface)
    bRequest     : 0x06   (GetDescriptor)
    wValue       : 0x2200 (HID REport, report ID = 0)
    wIndex       : 0x0000 (interface 0)
    

    "after that it turns to "BULK OR INTERRUPT TRANSFER" but it always appear one "Sucess" and the next report is "Not Supported".

    Is it the first Input report? What is the direction of the transfer?
    If so, the enumeration finishes successfully.

    What do you mean "Not Supported"?

    Tsuneo

Reply
  • Your Configuration descriptor set is fine.
    I had jumped to wrong conclusion...
    OK, I reconsider on your previous post.

    "the last thing on the bus was a "GET DESCRIPTOR FROM INTERFACE"

    Humm.. then isn't it Get_Descriptor( HID_REPORT )?

    bmRequestType: 0x81   (IN from interface)
    bRequest     : 0x06   (GetDescriptor)
    wValue       : 0x2200 (HID REport, report ID = 0)
    wIndex       : 0x0000 (interface 0)
    

    "after that it turns to "BULK OR INTERRUPT TRANSFER" but it always appear one "Sucess" and the next report is "Not Supported".

    Is it the first Input report? What is the direction of the transfer?
    If so, the enumeration finishes successfully.

    What do you mean "Not Supported"?

    Tsuneo

Children