ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS 7800 Serial port doesn't appear

To:
Subject: Re: [ts-7000] Re: TS 7800 Serial port doesn't appear
From: al l <>
Date: Thu, 3 Sep 2009 11:28:30 +0000 (GMT)


Ok,
 
I have checked boot messeages (dmesg command) and this is the result:
 
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 8 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
As I see I have two serial ports devices ttyS0 (which I am using for console) and ttyS1 (this one is the ttl serial port , I think, and it's the one I wanna use to connect....). So at hardware level both ports exist....
 
My question is why I can use the ttyS1 with the minicom for example.... (also no with other programs). I have checked the ininttab and it's ok (ttyS1 is free from the console).
 
thanks...


De: dawydiuk <>
Para:
Enviado: miércoles, 2 de septiembre, 2009 21:12:27
Asunto: [ts-7000] Re: TS 7800 Serial port doesn't appear

 

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.embedded arm.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




__._,_.___


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