jmgomez-IAA / embedded

Material Curso de Sistemas Empotrados
GNU General Public License v3.0
0 stars 0 forks source link

Linux Serial port Workaround #4

Open jmgomez-IAA opened 6 years ago

jmgomez-IAA commented 6 years ago

http://rdiez.shoutwiki.com/wiki/Serial_Port_Tips_for_Linux

stty socat

jmgomez-IAA commented 6 years ago

Socat configuration to red from Arduino Mini Pro.

socat -t0 -xd STDIO,raw,echo=0,escape=0x03,nonblock=1 file:/dev/ttyUSB0,b19200,cs8,parenb=0,cstopb=0,clocal=0,raw,echo=0,setlk,flock-ex-nb,nonblock=1

It migth be configured to 16MHz instead 8MHz.