This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Write to diag serial without GDB


On Sun, 2005-02-13 at 18:03 +0100, Giuseppe Monteleone wrote:
> I'm using ARM target. I got a version for Sharp LH754xx. 
> 
> my problem are these
> 1) I see some char on diag interface, but are strange char. I suppose that
>  these char are the gdb protocol

What characters?  A GDB protocol string will always look something like:
  $T02thread:00000001;40:000485ac;01:001243f8;#90
If it doesn't have the $ at the front and the #nn at the end, it's not
GDB.

> 
> 2) is possible create a program that run only in ram without monitor
>  support? 

Just disable CYGSEM_USE_ROM_MONITOR

> 
> Thanks for help
> Giuseppe Monteleone
> 
> in that example i found module hal_diag.c and it's work because send back
>  something 
> Gary Thomas <gary@mlbassoc.com>
>  stato scritto.
> > On Sat, 2005-02-12 at 14:27 +0200, Giuseppe Monteleone wrote:
> > > I'am looking for help to write a dummy program that write on serial 
> > > diag without gdb stub. I would like keep that program in ram.
> > 
> > This would be the default behaviour for any RAM based eCos program.
> > 
> > What platform/target are you using?
> > 
> > -- 
> > ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> > ------------------------------------------------------------
> > 
> > 
> > -- 
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> > 
> 
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]