kcozens37 wrote:
>Use the stty command to turn on hardware handshaking (crtscts option) on the
serial port.
Turned handshaking on, but when we monitor the output with an oscilloscope, the
TS7260
ignores the "not clear" signal - it continues writing to the port and we drop
bits.
This is a screenshot of our port settings:
sh-2.05b# stty -a -F ttyAM0
speed 115200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^X; eof = ^D; eol = <undef>; eol2 =
<undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = <undef>;
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
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
Does the ttyAM0 (or ttyTS0?) port have any known issues with handshaking?
--- In "lairlab" <> wrote:
>
> We are using a radio link on our TS-7260 console port for remote debug - (the
> other
ports
> are in use for various instrumentation interfaces on our vehicle). The radio
> link requires
> hardware handshaking (RTS/CTS). We've hunted through busybox documentation
> and
> through the init scripts to find where we can start up the console port with
> handshaking
on -
> but haven't found where we might do that.
>
> Anyone able to point out how to make that happen in a startup script?
>
> Thanks!
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|