This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: EB40 Serial port #1 question.
- To: Felix Wong <fwong at gopuppy dot com>
- Subject: Re: [ECOS] EB40 Serial port #1 question.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 09 Oct 2001 20:47:33 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.LNX.4.30.0110091842440.27188-100000@gopuppy.com>
Felix Wong wrote:
>
> I am going to use EB40's second serial port for my tty display purpose.
> I have tried to use fopen("/dev/ser1","rw") to get a file pointer for my
> tty. Then I used fprintf to generate output to the serial device.
> However, no display was shown in the terminal monitor. The baud rate of
> both sides I have set to 38400 N81.
Try using /dev/tty1.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine