I am trying to modify demo code of LPC 2148 HID. I want to send 64 bytes from PC to LPC 2148.
I have changed following parameters in the usbdesc.c file
1. Changes in report descriptor HID_ReportCount(64) ReportSize(64) 2. Changes in Endpoint Descriptor WBVAL(0x0040) -wMAXPacketsize as 64 bytes 0x20 as bLength
Changes in HIDUser.c
1. In BOOL HID_GetReport (void) case HID_REPORT_INPUT: GetInReport(); EP0Buf[64] = InReport; break;
I want to receive 64 bytes from PC & write these bytes directly on the on chip flash.
The changes which i have mentioned above are correct & enough for executing this application? Is anybody doing the same application? Please contribute to solve this issue. I am using GUI in VB. Thanks