Hi Kan,
I use a custom hardware very close to FRDM-K22F. I need to modify KBOOT to manage additional hardware present on my hardware.
I created a new workspace with KDS3.0.
In this workspace, I copied "src" and "target" folders from KBOOT 1.2.0.
In KDS3.0 I then imported "targets\MK22F51212\kds\freedom_bootloader" project.
Compile runs with success.
I added support for console on uart1.
I added support for I2C0 since I need it for some peripherals.
I can now manage all my hardware and get debug messages on UART1.
Everything works correctly except what I described in my first message.
1) USB_HID_SET_REPORT_REQUEST requests are received, response are sent, acknowledge of sent response (USB_DEV_EVENT_SEND_COMPLETE) are transmitted to application untill it blocks on a send response (or acknowledge, not sure which one)
2) In "usb_hs_hid_peripheral_interface.c" file, "usb_hid_app_param_callback()" function, how does "USB_DEV_EVENT_DATA_RECEIVED" treatment works since "event" is not used (except for length) ?
Regards,
Nicolas