From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23292 invoked by alias); 24 Sep 2002 12:56:52 -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 23277 invoked from network); 24 Sep 2002 12:56:51 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 24 Sep 2002 12:56:51 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id A6F96235BA; Tue, 24 Sep 2002 06:56:50 -0600 (MDT) Subject: Re: [ECOS] Re: sid uart1 displays hex output From: Gary Thomas To: "Frank Ch. Eigler" Cc: T Satish Kumar , sid@sources.redhat.com, eCos Discussion In-Reply-To: <20020924085036.A11578@redhat.com> References: <001501c26432$e1639f20$19b6b486@sltisatish> <20020924085036.A11578@redhat.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 24 Sep 2002 05:56:00 -0000 Message-Id: <1032872210.14065.180.camel@hermes.chez-thomas.org> Mime-Version: 1.0 X-SW-Source: 2002-q3/txt/msg00086.txt.bz2 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/ | ------------------------------------------------------------