This is the mail archive of the
mailing list for the SID project.
Re: [ECOS] Re: sid uart1 displays hex output
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: T Satish Kumar <satish at td dot idc dot lsi dot sanyo dot co dot jp>, sid at sources dot redhat dot com, ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 Sep 2002 14:53:18 +0200
- Subject: Re: [ECOS] Re: sid uart1 displays hex output
- References: <001501c26432$e1639f20$19b6b486@sltisatish> <20020924085036.A11578@redhat.com>
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
> - FChE