Georg,

--- On Thu, 10/16/08, Georg Acher <[EMAIL PROTECTED]> wrote:

> From: Georg Acher <[EMAIL PROTECTED]>
> Subject: Re: [Openocd-development] ARM11 CP15 access support
> To: openocd-development@lists.berlios.de
> Date: Thursday, October 16, 2008, 2:46 PM
> On Thu, Oct 16, 2008 at 10:12:06AM -0700, Fabio Estevam
> wrote:
> > Hi,
> >
> > I am trying to write to MX31 (ARM11) CP15 registers
> using OpenOCD. The commands I want to perform are:
> >
> > setreg @CP15_CONTROL=0x00050078
> > // configuring CP15 for enabling the pripheral bus
> > setreg @CP15_PERIP_MEM_REMAP=0x40000015
> >
> > (This is RealView tool sintax)
> >
> > Is this currently supported on OpenOCD?
> 
> It is, but you need to read the ARM docs to find out the
> correct parameters
> for the "arm11 mcr/mrc" commands.

Thanks. It worked as follows:

monitor arm11 mcr 1 0 0 15 2 4 0x00050078

monitor arm11 mcr 1 0 0 15 2 4 0x40000015

Regards,

Fabio Estevam





      
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to