This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
can't find name of serial device
- From: Robert Brusa <bob dot brusa at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 23 Jun 2008 17:10:56 +0200
- Subject: [ECOS] can't find name of serial device
- Reply-to: Bob dot Brusa at gmail dot com
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?
Thanks and regards Robert
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss