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
View all questions in Keil forum