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: Test Serial Port 2 on NEC vrc4373 target.


> 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

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