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

Bulk End Point IN not working

Hello,

I am trying to get Bulk transfer working in USB. i can send data from host to device (out report), but my IN Report is not working.
To test the bulk transfer I am using the C# program from Jan Axelson wesbite.http://www.lvr.com/winusb.htm
I am using a sniffer program to check the end points and the program does show that i have both Input, Bulk and Output Bulk end points with max packet size of 64 bytes.
When i try to read data, i dont even seem to get an interrupt when i put a break point at USB_ISR.
I am using LPC 2478 with Keil and i modified the HID example to work with bulk.
Any ideas?

/* Endpoint, BULK In */
  USB_ENDPOINT_DESC_SIZE,            /* bLength */
  USB_ENDPOINT_DESCRIPTOR_TYPE,      /* bDescriptorType */
  USB_ENDPOINT_IN(2),                /* bEndpointAddress */
  //USB_ENDPOINT_TYPE_INTERRUPT,       /* bmAttributes */
  USB_ENDPOINT_TYPE_BULK,       /* bmAttributes */
  WBVAL(0x0040),                     /* wMaxPacketSize */
  0x00,          /* 32ms */          /* bInterval , not used in bulk*/


/* Endpoint, BULK Out */
  USB_ENDPOINT_DESC_SIZE,            /* bLength */
  USB_ENDPOINT_DESCRIPTOR_TYPE,      /* bDescriptorType */
  USB_ENDPOINT_OUT(2),               /* bEndpointAddress */
  //USB_ENDPOINT_TYPE_INTERRUPT,       /* bmAttributes */
  USB_ENDPOINT_TYPE_BULK,       /* bmAttributes */
  WBVAL(0x0040),                     /* wMaxPacketSize */      // = 64
  0x00,                                                 /* 32ms  not used in bulk*/

Parents Reply Children
No data