HID data troubleshooting

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
technousb
Posts: 2
Joined: Thu Feb 06, 2014 6:18 am

HID data troubleshooting

Post by technousb » Sun Feb 09, 2014 8:07 am

I’m using the v-usb example of hid-data, how to troubleshoot the data transfer? There are three functions:

Code: Select all

usbFunctionSetup
usbFunctionWrite
usbFunctionRead

I inserted uart statement to print on a terminal which function is processed.
On the PC side I use the hidtool to send data, so if I set hidtool read command on pc command prompt I do get 128 bytes and on terminal I see only usbFunctionSetup is processed for either reading or writing commands and none for the other functions, is this normal? I’m not able to display on the MCU the sent data from PC, any hint is appreciated.

Post Reply