On Tue, Oct 21, 2014 at 2:45 PM, Borton, Nick <[email protected]> wrote:

> In terms of attempting to figure out what is going on with this part, is
> there an automated command in OpenOCD to read out the various registers in
> the ARM debug APs?
>
>
>
> If not I’m going to start writing a handful of tcl scripts with irscan and
> drscan to try and track down what may be going on in the K60’s MDM-AP
> control and status registers.
>
>
>
>
Nothing automated, no. You have the ability to select the AP to work with
(dap apsel), then the regular memory access commands will try to work with
that AP (which is probably not what you want). The AP registers themselves
are not accessible from Tcl as far as I know. From C there's of course full
access, i.e. dap_queue_ap_read(), so it might be easier to write a new
command handler to do the work instead of recoding everything from scratch
using Tcl scan commands.

/Andreas
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to