public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] JEENI with ecos
@ 2001-07-05  8:19 rob.wj.jansen
  2001-07-05 10:12 ` Daniel Néri
  0 siblings, 1 reply; 5+ messages in thread
From: rob.wj.jansen @ 2001-07-05  8:19 UTC (permalink / raw)
  To: arnaud.mouiche; +Cc: ecos-discuss

Arnaud,

The Jeeni works fine, we've connected it to our UTP network with very few problems (using ARM processor).
Only problems arise on the GDB side, where GDB may crash on connecting (in this case the Jeeni needs a reset)
or where GDB may just hang (mainly because the target has gone through a reset after connecting).

Not only will Jeeni let me download, run and debug code in RAM but I can also connect to a running program
in flash - although this does not always behave like expected ....


Regards,

     Rob Jansen

Software Engineer
Competence Center Platforms
BU Mobile Communications
Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
Tel: +31-24-353-6329
Fax: +31-24-353-3613
mailto:Rob.WJ.Jansen@philips.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] JEENI with ecos
  2001-07-05  8:19 [ECOS] JEENI with ecos rob.wj.jansen
@ 2001-07-05 10:12 ` Daniel Néri
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Néri @ 2001-07-05 10:12 UTC (permalink / raw)
  To: rob.wj.jansen; +Cc: arnaud.mouiche, ecos-discuss

rob.wj.jansen@philips.com writes:

> Only problems arise on the GDB side, where GDB may crash on
> connecting (in this case the Jeeni needs a reset) or where GDB may
> just hang (mainly because the target has gone through a reset after
> connecting).

In my experience, this happens a lot with the ARM debugger too[*].

Regards,
   --Daniel

[*] Using ARM SDT v2.50 and JEENI firmware rev2.0.

-- 
Daniel Neri                                      mailto:dn@sigicom.com
Sigicom AB, Sweden                              http://www.sigicom.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] JEENI with ecos
  2001-07-08 23:38 rob.wj.jansen
@ 2001-07-11  8:32 ` David Airlie
  0 siblings, 0 replies; 5+ messages in thread
From: David Airlie @ 2001-07-11  8:32 UTC (permalink / raw)
  To: rob.wj.jansen; +Cc: nicola.bergamin, ecos-discuss

Also FYI if you have ROMRAM support, you can debug the romram version by
loading and executing... the loading just loads RAM copy, the execute runs
at the ROM reset vector copies the ROMRAM copy down from ROM and you can
debug away ... has worked for me in the past ...

the only [problem I have with Jeeni/eCos is no thread support .. I don't
know how big a problem this is to implement and I think I could do it but
I don't need it bad enough anymore ..

Dave.


On Mon, 9 Jul 2001 rob.wj.jansen@philips.com wrote:

> 
> Nicola Bergamin wrote:
> 
> > Hi, I've seen an interesting clue for debugging with Jeeny into flash.
> > We use Cirrus EP7209 processor (Arm 720T), and the latest Jeeny
> > software.
> >
> > I am only able with ram based program,despite Jeeni's manual
> > isntruction.
> > Do you have any hints to debug a real program in flash?
> > Note: we use both ARM std2.51 and GDB/Insight environment.
> > The problem is that Jeeny is not able to catch the program when I
> > wake it up.
> > Any hint ??
> > Thanks a lot
> 
> Indeed it is not always easy to connect to a program running from flash.
> My target boots at 32 kHz and I an often able to connect to the Jeeni while data is being copied from
> rom to ram (where it starts with ldr r3,.__rom_data_start in vectors.S).
> Another good idea would be to put a sequence like
> 
>      static int flag = 1;
>      while (flag);
> 
> in your code. Then just wait until you believe it is waiting for you and connect to the Jeeni.
> This prevent your code from running beyond your point of interest.
> 
> Also do not forget to use the GDB command
> 
>      set rdiromatzero 1
> 
> before you connect to your target, otherwise GDB will trey to take over some interrupt vectors.
> 
> Hope this is of some help to you.
> 
> Regards,
> 
>      Rob Jansen
> 
> Software Engineer
> Competence Center Platforms
> BU Mobile Communications
> Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
> Tel: +31-24-353-6329
> Fax: +31-24-353-3613
> mailto:Rob.WJ.Jansen@philips.com
> 
> 
> 

-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] JEENI with ecos
@ 2001-07-08 23:38 rob.wj.jansen
  2001-07-11  8:32 ` David Airlie
  0 siblings, 1 reply; 5+ messages in thread
From: rob.wj.jansen @ 2001-07-08 23:38 UTC (permalink / raw)
  To: nicola.bergamin; +Cc: ecos-discuss

Nicola Bergamin wrote:

> Hi, I've seen an interesting clue for debugging with Jeeny into flash.
> We use Cirrus EP7209 processor (Arm 720T), and the latest Jeeny
> software.
>
> I am only able with ram based program,despite Jeeni's manual
> isntruction.
> Do you have any hints to debug a real program in flash?
> Note: we use both ARM std2.51 and GDB/Insight environment.
> The problem is that Jeeny is not able to catch the program when I
> wake it up.
> Any hint ??
> Thanks a lot

Indeed it is not always easy to connect to a program running from flash.
My target boots at 32 kHz and I an often able to connect to the Jeeni while data is being copied from
rom to ram (where it starts with ldr r3,.__rom_data_start in vectors.S).
Another good idea would be to put a sequence like

     static int flag = 1;
     while (flag);

in your code. Then just wait until you believe it is waiting for you and connect to the Jeeni.
This prevent your code from running beyond your point of interest.

Also do not forget to use the GDB command

     set rdiromatzero 1

before you connect to your target, otherwise GDB will trey to take over some interrupt vectors.

Hope this is of some help to you.

Regards,

     Rob Jansen

Software Engineer
Competence Center Platforms
BU Mobile Communications
Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
Tel: +31-24-353-6329
Fax: +31-24-353-3613
mailto:Rob.WJ.Jansen@philips.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] JEENI with ecos
@ 2001-07-05  6:15 Arnaud Mouiche
  0 siblings, 0 replies; 5+ messages in thread
From: Arnaud Mouiche @ 2001-07-05  6:15 UTC (permalink / raw)
  To: ecos-discuss

Hi all.

I would to know if it is possible to use a JTAG EmbeddedICE like the one 
from JEENI or any other, to load code and debug
thanks

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-11  8:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05  8:19 [ECOS] JEENI with ecos rob.wj.jansen
2001-07-05 10:12 ` Daniel Néri
  -- strict thread matches above, loose matches on Subject: below --
2001-07-08 23:38 rob.wj.jansen
2001-07-11  8:32 ` David Airlie
2001-07-05  6:15 Arnaud Mouiche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).