This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: Challenge with getting AT91SAM7S256 (Olimex P256) board to use serial ports


On Sun, 27 Nov 2011 14:49:09 +0000
John Dallaway <john@dallaway.org.uk> wrote:

> Hi Jesper
> 
> Jesper K. Pedersen wrote:
> 
> > My challenge is that when I try to use the serial port example I
> > get no output (neither from the diag port or the serial ports).
> > 
> > Diagnostic test indicate that the cyg_io_lookup exit with error
> > code 1 (EPERM)
> > 
> > My environment were set up from default by performing the following
> > steps :
> > 
> > ecosconfig new at91sam7sek
> > ecosconfig tree
> > ecosconfig check
> > make
> > 
> > and then compiling and running the "serial.c" test
> 
> The eCos serial tests require a relevant serial hardware driver to be
> enabled. You can do this by enabling the "Hardware serial device
> drivers" component (CYGPKG_IO_SERIAL_DEVICES) within the "Serial
> device drivers" package (CYGPKG_IO_SERIAL). The serial tests will use
> the serial device defined by the "Serial device used for testing"
> option (CYGPRI_SER_TEST_SER_DEV).
> 
> I hope this helps.
> 

That was exactely it - after having set the hardware driver I got the
message over the serial line. 

Thank you very much for your help.

Best regards
JesperKP

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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