Hi,
I am trying to use my Linux machine to send commands to my experimenters board through the serial connection. As a first trial I am trying to get the data from the demo printed on screen, however I am seeing some inconsistent results.
I did manage to see output at one point, with the following settings
stty -a -F /dev/ttyACM0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^A; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig -icanon iexten -echo -echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
but it was garbled and I couldn't read the characters. A lot of the time I also see
cat /dev/ttyACM0
cat: /dev/ttyACM0: Input/output error
has anyone else tried this and can you point me in the right direction. I have found some info, but nothing that seems to work.
I also added the following udev rule
KERNEL=="ttyACM0", GROUP="dialout", MODE="0666"