From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18502 invoked by alias); 24 Sep 2002 12:53:27 -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 18485 invoked from network); 24 Sep 2002 12:53:25 -0000 Received: from unknown (HELO rubicon.hasler.ascom.ch) (139.79.129.1) by sources.redhat.com with SMTP; 24 Sep 2002 12:53:25 -0000 Received: from eiger.ma.tech.ascom.ch (eiger.ma.tech.ascom.ch [139.79.100.1]) by rubicon.hasler.ascom.ch (8.11.4/8.11.4) with ESMTP id g8OCrMX13299; Tue, 24 Sep 2002 14:53:22 +0200 (MEST) Received: from biferten.ma.tech.ascom.ch ([139.79.100.27]) by eiger.ma.tech.ascom.ch with smtp (Exim 3.16 #1) id 17tpBn-0003CB-00; Tue, 24 Sep 2002 14:53:19 +0200 Received: by biferten.ma.tech.ascom.ch (SMI-8.6/SMI-SVR4) id OAA11870; Tue, 24 Sep 2002 14:53:18 +0200 Date: Tue, 24 Sep 2002 05:53:00 -0000 From: Andrew Lunn To: "Frank Ch. Eigler" Cc: T Satish Kumar , sid@sources.redhat.com, ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Re: sid uart1 displays hex output Message-ID: <20020924125318.GE11487@biferten.ma.tech.ascom.ch> Mail-Followup-To: "Frank Ch. Eigler" , T Satish Kumar , sid@sources.redhat.com, ecos-discuss@sources.redhat.com References: <001501c26432$e1639f20$19b6b486@sltisatish> <20020924085036.A11578@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020924085036.A11578@redhat.com> User-Agent: Mutt/1.4i X-Filter-Version: 1.6 (rubicon) X-SW-Source: 2002-q3/txt/msg00085.txt.bz2 CYGSEM_HAL_DIAG_MANGLER Andrew On Tue, Sep 24, 2002 at 08:50:36AM -0400, 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. > > - FChE