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: how to access serial driver for UART1 and 2.


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


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