Search found 3 matches

by hjalfi
Fri Feb 17, 2023 9:33 pm
Forum: General discussion
Topic: HID output reports being received twice?
Replies: 1
Views: 3622

Re: HID output reports being received twice?

Got it. It's a core bug. In usb_hid.c:hidUSBDataSetup(), there's this code: usb_generic_control_rx_setup(buffer->buffer, buffer->bufferSize, &(buffer->state)); buffer->state = HID_BUFFER_UNREAD; That assignment to buffer->state shouldn't be there. usb_generic_control_rx_setup() will set the stat...
by hjalfi
Thu Feb 16, 2023 11:14 pm
Forum: General discussion
Topic: HID output reports being received twice?
Replies: 1
Views: 3622

HID output reports being received twice?

I'm trying to send data _to_ a HID device (it's an LCD and I'm trying to make it work with the Auxiliary Display HID protocol). I'm finding that each incoming report is reported twice, which is really strange. I've checked with Wireshark and the USB packet is sent once, so whatever's going on is hap...
by hjalfi
Wed Feb 15, 2023 10:10 pm
Forum: General discussion
Topic: Serial half-duplex support, like in the stock STM32 core?
Replies: 0
Views: 4367

Serial half-duplex support, like in the stock STM32 core?

As title...

I have a project which requires USB HID stuff _and_ half-duplex serial. It seems much easier to port the stock core's serial driver to the libmaple-based core than porting the USB stack to the stock core! But before I do that, is there an easy way to make this work?

Go to advanced search