This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Serial Application


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]