This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Serial Application
- To: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Subject: Re: [ECOS] Serial Application
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 25 Apr 2001 17:15:18 +0100
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <19C34CD863B1D4118E2800508BAF663A0112F61A@STONE>
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