Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

Re: V-USB CDC-ACM stuck with usbInterruptIsReady() = 0

$
0
0
I used that version successfully on an atmega8 at 12MHz (reprogrammed a USBasp). I notice that I switched to the most current usbdrv, not sure if that was necessary.

I'm on Ubuntu 12.04 and I used something like this to test, with the device's TX and RX connected together for a loopback test:
# Configure serial
stty -F /dev/ttyACM0 sane
stty -F /dev/ttyACM0 raw 57600 cs8 -crtscts -cstopb -parenb -echo

# Capture output in background then send test message
cat </dev/ttyACM0 >capture &
echo "test" >/dev/ttyACM0

# Stop capture and examine result
kill $!
cat capture

Viewing all articles
Browse latest Browse all 4524

Trending Articles