From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17054 invoked by alias); 24 Sep 2002 12:50:39 -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 17038 invoked from network); 24 Sep 2002 12:50:37 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 24 Sep 2002 12:50:37 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 27C0180037E; Tue, 24 Sep 2002 08:50:37 -0400 (EDT) Received: (from fche@localhost) by toenail.toronto.redhat.com (8.11.6/8.11.6) id g8OCoaC11606; Tue, 24 Sep 2002 08:50:36 -0400 Date: Tue, 24 Sep 2002 05:50:00 -0000 From: "Frank Ch. Eigler" To: T Satish Kumar Cc: sid@sources.redhat.com, ecos-discuss@sources.redhat.com Subject: Re: sid uart1 displays hex output Message-ID: <20020924085036.A11578@redhat.com> References: <001501c26432$e1639f20$19b6b486@sltisatish> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <001501c26432$e1639f20$19b6b486@sltisatish>; from satish@td.idc.lsi.sanyo.co.jp on Tue, Sep 24, 2002 at 06:28:40PM -0700 X-SW-Source: 2002-q3/txt/msg00084.txt.bz2 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 787 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:=20 > 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 --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9kF+cVZbdDOm/ZT0RAr3KAJ95dqt2+fbvV6YZTGe8BXyh9v42sQCfecMe 00wdzaPbbY6AaEKAbJht6+U= =eeAM -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--