From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12651 invoked by alias); 10 Dec 2003 10:59:17 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 12644 invoked from network); 10 Dec 2003 10:59:16 -0000 Received: from unknown (HELO mailgate5.cinetic.de) (217.72.192.165) by sources.redhat.com with SMTP; 10 Dec 2003 10:59:16 -0000 Received: from web.de (fmomail02.dlan.cinetic.de [172.20.1.46]) by mailgate5.cinetic.de (8.11.6p2/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id hBAAxFQ19854; Wed, 10 Dec 2003 11:59:15 +0100 Date: Wed, 10 Dec 2003 10:59:00 -0000 Message-Id: <200312101059.hBAAxFQ19854@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Ricardo Andrino" To: ecos-discuss@sources.redhat.com, gary@mlbassoc.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [ECOS] /dev/serx device driver X-SW-Source: 2003-12/txt/msg00116.txt.bz2 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