public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] /dev/serx device driver
@ 2003-12-10 10:59 Ricardo Andrino
  2003-12-10 11:14 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Andrino @ 2003-12-10 10:59 UTC (permalink / raw)
  To: ecos-discuss, gary

Hello,
after several temptations i couldn't see the output of printf (hello.c) function without using Redboot. I don't  know if that can be really made. My actual configuration is as follow:

*AT91EB40A
*Serial A, port 0
*COM of Pc to download the programs and connects to Angel Monitor:/dev/ttyS0

*CYGDAT_IO_SERIAL_TTY_CONSOLE = /dev/tty1 (my actual console)
*CYGDAT_IO_SERIAL_TTY_TTY1 = enable
*CYGDAT_IO_SERIAL_TTY_TTY1_DEV = /dev/ttyS0 or /dev/ser0 ?

*CYGPKG_IO_SERIAL_DEVICE = enable
*CYGPKG_IO_SERIAL_ARM_AT91_SERIAL0 = enable
*CYGPKG_IO_SERIAL_ARM_AT91_SERIAL0_NAME = /dev/ser0

*CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE = /dev/ser0 or /dev/tty1?

When i type this command ls -lisa in the /dev directory no /dev/serx appear.I don't know if ecos make it or should i./dev/ser0 is the physical driver for port 0 isn't it?

I think that when the program running on the board finds a printf function must write the strings in the serial device output buffer and then send them to the /dev/ser0 (port 0 for the board?).The Pc must read them in /dev/ttyS0 and finally send them to a terminal, in my case /dev/tty1.is something wrong in all of this? Are all connection describing above correct? Why my program hangs up when runnig but is downloaded correct?

I do aprreciate any kind of help because i have tried to make it for 2 days without success.

Thanks a lot
______________________________________________________________________________
Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2
Kostenlos downloaden: http://screensaver.web.de/?mc=021110


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-10 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-10 10:59 [ECOS] /dev/serx device driver Ricardo Andrino
2003-12-10 11:14 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).