This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: can't find name of serial device
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Robert Brusa <bob dot brusa at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 23 Jun 2008 17:52:03 +0200
- Subject: Re: [ECOS] can't find name of serial device
- References: <op.uc7i4ikokeg3uf@debi27.local.lan>
On Mon, Jun 23, 2008 at 05:10:56PM +0200, Robert Brusa wrote:
> Hi
> I have a pretty basic problem: The example serial uses the function
> err = cyg_io_lookup( "/dev/haldiag", &handle ).
> The program works, but now I want to change it for output on UART 0 of my
> AT91SAM7X-EK. I have tried everything - such as console, tty0 tty1 and
> other instead of haldiag. It does not work, it always return -2 as a
> result, telling me it can not find the driver. What is the correct name
> to use?
The names are correct. But did you enabled them in your configuration?
They are disabled by default.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss