[Empeg-technical] Re: download.c and serial programming
jaharkes@empegbbs-noreply.merlins.org
jaharkes at empegbbs-noreply.merlins.org
Thu Apr 3 13:22:00 2003
So the last write that 'succeeded' was the cr to get a prompt back and we actually got the prompt? My guess is that your 'cfmakeraw' isn't setting everything up entirely right and the serial port is actuall translating the <cr< into <cr<<lf<.
What is reported by stty -a < /dev/ttyS0 (or whatever your serial port is). Here is what my serial port is set to right after reinstalling hijack.
$ stty -a < /dev/ttyS0
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef<;
eol2 = <undef<; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 5;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel
-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
More information about the Empeg-technical
mailing list