Hello,
> I'm trying to connect a PC shell serial emulator (putty) to the COM2
> connector of the TS 7880 board and I don't success. I have checked all the
> configuration parameters and the mailing list mesages, tried all I have
> thought and it is like COM2 doesn't exist!!!
If you look in the TS-7800
manual(http://www.embeddedarm.com/about/resource.php?item=393) in section "5.1
Serial Ports" you will find "The TS-7800 has twelve UARTs. Two of these UARTs,
which appear on the COM1 (DB9) header and the COM2 (10-pin) header are driven
by the CPU. Under Linux these show up under /dev as ttyS0 and ttyS1" You can
refer to the table indicating the pinout and connector where each com port is
available.
It looks like you have added some new entries to the dev directory below(e.g.
ttAM1, ttAm1...). You have several files that are not character devices, I'd
recommend deleting these files. The TS-7800 uses a 2.6 kernel so you'll need to
ensure you have udev running to populate the /dev directory, or in the case of
busybox you can use the mdev -s command to populate the dev directory.
> ls -l /dev
> -rw-r--r-- 1 root root 5 Sep 1 02:26 ttAM1
> -rw-r--r-- 1 root root 5 Sep 1 02:26 ttAm1
> crw-rw-rw- 1 root tty 5, 0 Feb 18 2009 tty
> crw------- 1 root tty 4, 0 Aug 31 03:43 tty0
> crw------- 1 root root 4, 1 Sep 1 01:07 tty1
> crw------- 1 root root 4, 2 Sep 1 01:07 tty2
> crw------- 1 root root 4, 3 Sep 1 01:07 tty3
> crw------- 1 root root 4, 4 Sep 1 01:07 tty4
> crw------- 1 root root 4, 5 Sep 1 01:07 tty5
> crw------- 1 root root 4, 6 Sep 1 01:07 tty6
> crw------- 1 root tty 4, 7 Feb 18 2009 tty7
> crw------- 1 root tty 4, 8 Sep 1 02:58 tty8
> crw------- 1 root tty 4, 9 Feb 18 2009 tty9
> crwxr-xr-x 1 root root 204, 16 Mar 16 2006 ttyAM0
> -rw-r--r-- 1 root root 5 Sep 1 02:35 ttyAM1
> -rw-r--r-- 1 root root 5 Sep 1 02:35 ttyAS1
> crw------- 1 root tty 4, 64 Sep 1 03:17 ttyS0
> -rwxrwxrwx 1 root root 34 Sep 1 02:58 ttyS1
<snip>
> ts7800:~# echo hola > /dev/ttyS1
This is the proper dev entry, although it appears you have created a file named
/dev/ttyS1. I don't know what udev will do if a file already exists with the
same name it is trying to create...
In summary I'd recommend deleting the files you've created in the dev
directory, and ensuring udev is running if you are booted to Debian or calling
mdev -s if you are in the initial ramdisk.
Regards,
Eddie
------------------------------------
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/
|