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
"A contact of mine mentioned that I could be having problems with the USB Reset handling code."
Umm.. but I think (s)he doesn't mean to retry reset.
We have discussed on this issue once. You'll find these LPC2000 links helpful.
"HID USB connection issue" tech.groups.yahoo.com/.../27950
"LPCUSB init jumps to undefined exception once in a while ?" tech.groups.yahoo.com/.../22792
Tsuneo