ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Ts-7500: Running without 752, but I need a serial (not

To:
Subject: Re: [ts-7000] Re: Ts-7500: Running without 752, but I need a serial (not ssh/telnet)console
From: Alex McLain <>
Date: Thu, 3 May 2012 18:25:05 -0700


Hi Dan,

Why not use the TS-7500's console pins?  If you look at the schematic, TXD is on 7 and RXD is on 8.  That way you don't have to chew up another UART.  I recently used this in a project with an FTDI cable and it works great.  The drivers are pre-installed on most operating systems so it works out of the box.

TS-7500 Schematic

FTDI TTL-232R-3V3

-Alex


On Thu, May 3, 2012 at 9:30 AM, dannyd5000 <> wrote:
 



I have been able to figure it out.

1.) Nothing specific to the ts-7500 needs to be done other than modifying /etc/rc.local to point a newly created directory in /dev Below is my /etc/rc.local file. As you can see i commented out the code having to do with the console, probably didn't need to do that but I don't need it. /dev/ttyxuart5 is for the TTL 5 PORT I am using for console.

PATH=/usr/local/bin:/usr/bin:/bin
eval $(xuartctl --server --port 1 --speed 115200 2>&1); ln -s $ttyname /dev/ttyxuart1
eval $(xuartctl --server --port 2 --speed 115200 2>&1); ln -s $ttyname /dev/ttyxuart2
eval $(xuartctl --server --port 4 --speed 38400 2>&1); ln -s $ttyname /dev/ttyxuart4
eval $(xuartctl --server --port 5 --speed 115200 2>&1); ln -s $ttyname /dev/ttyxuart5
#cp -P /initrd/dev/tsconsole /dev
exit 0

The next steps i found out after reading up on getty.

2.)
Next I commented out one line in the /etc/inittab and added another as shown below. Also probably don't need the -n.

#T0:23:respawn:/sbin/getty -L tsconsole 115200 vt100
T0:23:respawn:/sbin/getty -n -L ttyxuart5 115200 vt100

3)
next you need to add the newly created ttyxuart5 terminal to the /etc/securetty file. This is needed so when your console is considered a trusted terminal for loging in as root.

4)
After you boot up again and run the command ps -ef you should see the new process.
/sbin/getty -L ttyxuart5 115200 vt100

Now with at 3.3V ttl rs232 converter hooked up to TTL5 you will see the console output.

Hope this is useful to someone out there. If so give me a shout out. It's good to know posts like this are helpful.

One other thing for those looking for a off the shelf 3.3V TTL Rs232 converter i have been using this with not problems. http://www.superdroidrobots.com/shop/item.aspx?itemid=337

I'm sure there is cheaper solutions out there that require soldering but if you want to get up and running quickly its a good purchase.


--- In ts-7000%40yahoogroups.com, "dannyd5000" <> wrote:
>
> Hello All,
>
> I am using 4 TTL lines (with rs232 converter) on TS-7500 to communicate with 4 devices with great success. However my application requires me to have a serial console for debugging purposes. If I am Unable to connect via a network connection(ssh, telnet, etc), i need a way to login to the board. So I need the console to be output a 5th ttl line which i would convert to rs232.
>
> The problem I have is figuring out how to map the console to that 5th TTL. I know if I am on the TS-752 baseboard I can just use its RS232 connection to see the console, but I will not have the TS-752. Has anyone had to do this? Any ideas?
>
> Thanks in advance,
> Dan
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU