Originally posted by Bryan Mayland:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by RJ Riememsnider:
Also If I cat /dev/ttyS0 with HM connected to S0, nothing
If I cat /dev/ttyS1 with HM connected to S1, I get output.
Your /etc/inittab does look like this right? (With the # in front of the last two lines)
<pre class="ip-ubbcode-code-pre">
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
#ttyS0::askfirst:/bin/ash --login
#tty1::askfirst:/bin/ash --login
</pre>
It is odd that when you try to write to /dev/ttyS0 it hangs. It is like the output buffer is full and it is waiting for space to write.
What if you set the ports to raw mode? `stty -F /dev/ttyS1 raw ispeed 115200 ospeed 115200` </div></BLOCKQUOTE>
YES!
Thit is what my inittab looks like
Now some things work. Now I get:
S1tx-S1rx nothing
S0tx-S1rx works perfect
S0tx-S0rx output over and over again, see below
S1tx-S0rx nothing
Looks like S1TX is shot
Output:
hello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^Jhello^J^