This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Test Serial Port 2 on NEC vrc4373 target.
- To: Ling Su <lingsu at palmmicro dot com>
- Subject: Re: [ECOS] Test Serial Port 2 on NEC vrc4373 target.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 25 Oct 2000 03:01:13 +0100
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <001c01c03e0f$5aae0740$1201a8c0@crusoe>
> Ling Su wrote:
>
> I am trying to test the serial port 2 on my board working properly. I
> wrote some programs and connect my PC and the board using a direct serial
> cable (not null modem, since I found GDB doesn't use null modem, I guess
> the two serial ports are in same configuration). Unfortunately, I don't
> read out anything although on the PC side I wrote a program to keep
> writing to the this serial port.
>
> I have ever tried the serial port test cases in eCos with "ser_filter"
> for serial port 1. I think I might be able to run the test cases on
> serial port 2, so I did following things and try to run one of the test
> cases,
You don't need ser_filter to see if the second port works. If cyg_io_write
to /dev/ser1 doesn't work, then the serial tests won't have any more joy.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault