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.