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

USB Reset issue with USBHID

Hi everyone,
We've implemented a custom LPC2141 based control board that communicates with a computer using HID. We based this code off Keil's USBHID sample. Occasionally, the computer can't connect to the device until I do a hard reset on the board. A contact of mine mentioned that I could be having problems with the USB Reset handling code. I took a look but I don't understand much about what it's supposed to do. The following block of code worries me though:

#if 1 /* Partial Manual Reset since Automatic Bus Reset is not working */
  USB_Reset();
  USB_SetAddress(0);
#endif

Could this be part of the problem?

Any help would be greatly appreciated,
Jason Lewis

Parents Reply Children
No data