Hi I have been trying to use the USBHID example with the libusb library but without success. I get the following error: libusb:debug [libusb_set_configuration] configuration 1 Set configuration failed, error -6 The libusb library works perfectly when I use the following firmware: sourceforge.net/.../
I found this thread: http://www.keil.com/forum/docs/thread16287.asp that seems to solve the same problem for the LPC2364 chip but unfortunately I couldn't use the solution for my lpc2148 chip.
Can anyone please show me the code changes needed for USBHID to work with lpc2148?
Regards Gudjon
Thanks Tsuneo Your solution worked perfectly. My host application can read successfully from the target. I still don't know how to write bytes (with libusb) to the USBHID target as is done in the HID_Client program but that is only a minor problem.