From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14435 invoked by alias); 13 Jul 2005 11:11:28 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 14396 invoked by uid 22791); 13 Jul 2005 11:11:24 -0000 Received: from nsx.kgc.co.jp (HELO nsx.kgc.co.jp) (210.163.35.34) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Wed, 13 Jul 2005 11:11:24 +0000 Received: (qmail 35618 invoked from network); 13 Jul 2005 20:11:19 +0900 Received: from ssm.kgc.co.jp (210.163.35.37) by nsx.kgc.co.jp with SMTP; 13 Jul 2005 20:11:19 +0900 Received: (qmail 83341 invoked from network); 13 Jul 2005 20:11:19 +0900 Received: from unknown (HELO HARA) (172.30.243.10) by mail.kgc.co.jp with SMTP; 13 Jul 2005 20:11:19 +0900 From: "HARA@KGC" To: Date: Wed, 13 Jul 2005 11:11:00 -0000 Message-ID: <000a01c5879b$95b142f0$0af31eac@HARA> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Subject: [ECOS] can't find in __ DEVTAB__ X-SW-Source: 2005-07/txt/msg00146.txt.bz2 Hello. I am embarrassed about the following problem. I made REDBOOT operated on ROM. Next, the following sample codes were made as an application of RAM. And, cyg_io_lookup is not found and it doesn't operate though the program was downloaded and executed from GDB connected by the serial port. There are no correspondences in name and dep_name of __ DEVTAB__ and the error seems to occur when having checked it with GDB. In CONFIG TOOL: eCos HAL Platform-independent HAL options Route diagnostic output to debug channel :OFF Mangler used on diag output :-disable ROM monitor support Enable use of virtual vector calling interface :ON-disable Inherrit console setting from ROM monitor :OFF Debug channle is configurable :OFF-disable Console channel is configurable :ON-disable Initialize whole of virtual vector :OFF Claim virtual vector table entries by default :OFF Claim comms virtual vectors :OFF Work with a ROM monitor :on - GDb_stub Serial Device drivers TTY-mode serial device drivers :ON HAL/diag serial device drivers :ON TTY mode HAL/diag channel :ON TTY mode channel #0 :ON TTY mode channel #0 devidce :/dev/ser0 Hardware serial device driver :ON //======= sample source ===== #include #include #include void cyg_user_start( void ) { cyg_io_handle_t tty_hdl; int err; char output_string[]="HElo There!!\n"; cyg_uint32 output_len=sizeof( output_string); err =cyg_io_lookup( "/dev/ser0", &tty_hdl); if( err ) { return; } err =cyg_io_write( tty_hdl, output_string, &output_len ); if( err ) { return; } } It sets it to. Is there a problem in the setting somewhere?Moreover, in which ROM monitor or RAM application program Gawa is there a problem? My best regards. -- C---------------------------- C Yukihisa Hara(hara@kgc.co.jp) C---------------------------- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss