This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB HID - Sending 64 bytes from PC->LPC2148

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