Hey Oyvind,

I understand what you are saying about the webpage now.  If I convince myself 
that there is no way to make OpenOCD add the peripheral registers to the list 
of the CPU core registers in a reasonable amount of development time, then your 
methods sounds like a viable alternative.  But my goals are elsewhere for now 
(OpenOCD only changes).  It just seem strange though that there isn't some 
not-so-difficult method (to an individual familiar with OpenOCD development) to 
add the peripheral registers to the list of the CPU core registers that the GDB 
server reports to the GDB client.  The access of these register by the GDB 
client would just trigger a read or write to a physical address.

Thanks for you info,
Rob



> Date: Thu, 8 Jul 2010 18:20:37 +0200
> Subject: Re: [Openocd-development] Requesting Help: How to add memory mapped  
> I/O registers?
> From: oyvind.har...@zylin.com
> To: zothe...@hotmail.com
> CC: openocd-development@lists.berlios.de
> 
> On Thu, Jul 8, 2010 at 5:59 PM, Robert Lee <zothe...@hotmail.com> wrote:
> > Hello Oyvind,
> >
> > Thanks for your reply.
> >
> > Please excuse ignore my ignorance but does using the tcl scripts you
> > mentioned cause the peripheral registers to show up as registers in the GDB
> > client?  Or are you talking about a method that works outside of the GDB
> > register information?
> 
> It would be relatively straightforward to show such a web page(and update it
> automatically) in e.g. Eclipse.
> 
> >
> > Also, when you say that I can fan examples of these small tcl scripts, does
> > this mean these example scripts exist somewhere on the berlios website or do
> > you mean I can find them through google searches?
> 
> Look in the git repository in the openocd/tcl/chip/st/stm32/ directory
> for instance.
> 
> 
> 
> -- 
> Øyvind Harboe
> US toll free 1-866-980-3434 / International +47 51 63 25 00
> http://www.zylin.com/zy1000.html
> ARM7 ARM9 ARM11 XScale Cortex
> JTAG debugger and flash programmer
                                          
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to