This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Serial Application
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] Serial Application
- From: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Date: Thu, 26 Apr 2001 12:17:47 +0800
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
The flow control was disabled.
I receive the printf statements on /dev/haldiag. When I do a lookup on ser0
or ser1 there is no error. Even if /dev/haldiag is tied to ser0 or ser1, I
should have got the message on that port but nothing is coming out.
-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.com]
Sent: Thursday, April 26, 2001 00:15
To: Ho Shui Choy Stanley PS03B NCS
Cc: Ecos-Discuss (E-mail)
Subject: Re: [ECOS] Serial Application
Ho Shui Choy Stanley PS03B NCS wrote:
>
> I modified the serial.c example to receive data from one serial port and
> transmit it on the other.
> I am not getting anything on the other port. I am using windows
> hyperterminal to test the codes.
Make sure you haven't got flow control enabled in hyperterminal.
Do you not get *anything*? Not even the initial cyg_io_write? Are you sure
/dev/haldiag and /dev/ser1 are different ports on your board? i.e. is it
maybe /dev/ser2? or even /dev/ser0?
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