We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I have made a simple program for LPC4337 Device, this is my code for initiating the HID mouse that I have connected to my board. The problem is that I got this error usbDeviceError
and my USB function initialize Ok
int main(void) { osKernelInitialize (); // initialize RTOS kernel osKernelStart (); // start kernel with job2 execution usbStatus usbst; usbst=USBH_Initialize(0); // USB Host 0 Initialize while(1) { usbst=USBH_HID_GetDeviceStatus (0U); // Get HID device status } }
I have tested the Event recorder, There are some errors out there Please see the attached file for detailed info, I do not understand errors and how to solve them. what's Error=65 ?
Do you have any Idea why the custom class can not find my other non-HID mouse and keybaords? it seems all of my 10 different mouses generate the same data!
get the Event recorder data file at here
www.4shared.com/.../Genius_mouse_on_LPC4370_USB_Ho.html
See some pictures in here https://ibb.co/f3ehaa
Hi Ali,
errors are enumerated in rl_usb.h file in c:\Keil\ARM\PACK\Keil\MDK-Middleware\7.3.0\USB\Include\ folder. Error 65 is transfer error.
I suggest you contact Keil support, and send them .csv file.
I can not download your file as I do not have the account there.
Thanks for your suggestions,In here you can get the file without an account
https://ufile.io/2fa111
Contacting support is a time consuming task. and the info wouldn't be public for everybody.
Thanks for your time.