I would appreciate help with this demo application. It supposedly echoes the input back to the output but does not in my case.
I opened a terminal to the USB device (sudo minicom --device /dev/ttyACM0) and started the program, which printed "USB device HID generic demo", but when I type, nothing happens: no other text is printed. I added some calls to usb_echo() and they print, but input from the terminal seems to disappear.
1. The USB cable is plugged into the "Debug Link" port. Is that correct?
2. Where is the echoing actually performed, i.e. where do the received data end up and where are transmitted data supplied?
Many thanks for any help
Solved! Go to Solution.
Problem solved: I connected a second cable to P10 (without disconnecting the debug port). Now it works fine.
Problem solved: I connected a second cable to P10 (without disconnecting the debug port). Now it works fine.
It appears USB_DeviceCallback() is never getting called.