Cdc_acm: failed to install dtr / rts - unable to communicate with usb cdc device

I tried to list a usb cdc device using pic24fj128gb206. The device seems to be correctly listed.

But when I connect my device to a Linux computer, I get the following warning from the kernel.

cdc_acm 1-8.1.6.7:1.0: failed to set dtr/rts

And this message will be repeated when I try to connect using the screen.

screen /dev/ttyACM9 115200

And I can not communicate with my device from the PC [Ubuntu, 14.04]

When analyzing data using wirehark, it looks like the USB connection is fine until the URB_CONTROL_out problem occurs and the device responds with URB Status as Broken Pipe (-EPIPE ) (-32) enter image description here

Can someone help me on how to debug this problem or any methods for further debugging?

+4

Source: https://habr.com/ru/post/1653376/


All Articles