I want to convert the USB HID MOUSE demonstration example (from the STM32F4 Discovery board firmware package) into HIGH SPEED and be able to transfer 128Bytes in a single Xfer.
I changed the following places;
HID REPORT;
REPORT_SIZE (8)
REPORT_COUNT(128)
(report descriptor works properly under FS)
USBD_HID_CfgDesc;
wMaxPacketSize = 128
USBD_DeviceDesc;
bMaxPacketSize = 128
USBD_Init(&USB_OTG_dev,
USB_OTG_HS_CORE_ID,
&USR_desc,
&USBD_HID_cb,
&USR_cb);
HID_IN_PACKET 128
HID_OUT_PACKET 128
When i run, nothing happened on PC side. Its not even detected.
Please help me on that matter. Which settings i need to change?