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]

Re: JEENI with ecos



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


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