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 } }
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.