From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21323 invoked by alias); 25 Sep 2002 05:34:44 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 21310 invoked from network); 25 Sep 2002 05:34:43 -0000 Received: from unknown (HELO sanmx03.sanyo.co.jp) (134.180.230.88) by sources.redhat.com with SMTP; 25 Sep 2002 05:34:43 -0000 Received: from sanmx03.sanyo.co.jp (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 6A1D8A8426; Wed, 25 Sep 2002 14:34:42 +0900 (JST) Received: from postgw.idc.lsi.sanyo.co.jp (unknown [134.180.177.20]) by sanmx03.sanyo.co.jp (Postfix) with ESMTP id B9329A841C; Wed, 25 Sep 2002 14:34:39 +0900 (JST) Received: from seed13.td.idc.lsi.sanyo.co.jp (seed13 [134.180.182.13]) by postgw.idc.lsi.sanyo.co.jp (8.9.3/3.4W3-05/13/97) with SMTP id OAA19111; Wed, 25 Sep 2002 14:26:14 +0900 (JST) Received: from sltisatish by seed13.td.idc.lsi.sanyo.co.jp (SMI-8.6/6.4J.6) id OAA25739; Wed, 25 Sep 2002 14:35:35 +0900 Message-ID: <006e01c264db$6b3f2130$19b6b486@sltisatish> From: "T Satish Kumar" To: "Gary Thomas" , "Frank Ch. Eigler" Cc: , "eCos Discussion" References: <001501c26432$e1639f20$19b6b486@sltisatish> <20020924085036.A11578@redhat.com> <1032872210.14065.180.camel@hermes.chez-thomas.org> Subject: Re: [ECOS] Re: sid uart1 displays hex output Date: Tue, 24 Sep 2002 22:34:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2002-q3/txt/msg00088.txt.bz2 well, previously i was using ecos 1.3.1..but later when i tried the same using ecos 2.0.. this time..i m not able to see even the Hex equivalent of the original string format .. i disabled both the options and built the ecos library: eCos HAL->ROM Monitor support->Work with a ROM Monitor to Disabled (unchecked) eCos HAL->Platform-independent HAL options->Route diagnostic output to debug channel to Disabled (unchecked) but still therez no output string seen in the uart1 of the system monitor window. what could be the problem...? satish ----- Original Message ----- From: "Gary Thomas" To: "Frank Ch. Eigler" Cc: "T Satish Kumar" ; ; "eCos Discussion" Sent: Tuesday, September 24, 2002 5:56 AM Subject: Re: [ECOS] Re: sid uart1 displays hex output > On Tue, 2002-09-24 at 06:50, Frank Ch. Eigler wrote: > > Hi - > > > > On Tue, Sep 24, 2002 at 06:28:40PM -0700, T Satish Kumar wrote: > > > Hi, > > > When i run the program using the sid. i get the output in the form of > > > hex code on the System monitor's uart1 output window pane ! > > > How can i get to see the output in its original format i.e for eg: > > > if the output to be displayed is "Hello" in the printf() function.. > > > the uart1 window pane displays 48656C6C6F > > > [...] > > > > It turns out that this question rightfully belongs to eCos, not to SID. > > The eCos libraries sometimes believe that they have a console connection > > to GDB instead of a raw tty, and therefore encode output in gdb's remote > > protocol $O packets. You need to tell eCos not to do this encoding for > > console output. I don't recall how to do this - it may be an ecosconfig > > option. > > This program (eCos application?) thinks that this output is being handled > by GDB. Turn it off by disabling CYGSEM_HAL_USE_ROM_MONITOR and rebuilding > the application. > > -- > ------------------------------------------------------------ > Gary Thomas | > eCosCentric, Ltd. | > +1 (970) 229-1963 | eCos & RedBoot experts > gthomas@ecoscentric.com | > http://www.ecoscentric.com/ | > ------------------------------------------------------------ > >