This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: how to access serial driver for UART1 and 2.
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Chirag shah <chirag at masibus dot com>
- Cc: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 24 Feb 2007 15:00:06 +0100
- Subject: [ECOS] Re: how to access serial driver for UART1 and 2.
- References: <1172313752468.190.postmaster@masibus.com>
On Sat, Feb 24, 2007 at 04:12:18PM +0530, Chirag shah wrote:
> Dear All,
Please use the eCos discuss list, not personal email addresses.....
> I am working on serial driver for AT91SAM7X-EK on ecos.
>
> I have downloaded latest CVS from net and successfully loaded example
> program in to kit with ecos.
>
>
>
> Now I want to access UART1 of SAM7X256 processor. I can not get, how can I
> be able to access serial driver for UART1.
Use /dev/ser1.
Remember to enable the serial device drivers, CYGPKG_IO_SERIAL_DEVICES.
For example code look at packages/io/serial/current/tests
Also, i think that on the AT91SAM7X-EK the serials port with a
connection on the board are DBG and USART0. So you will need to use
patch wires and an external line driver for USART1. But you probably
already know this....
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