From f4496b25e3040e29b9bc78dd5bf8ac8128c09a1e Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Fri, 24 Apr 2015 07:33:50 +0200 Subject: arm_adi_v5: add dap apreg command for AP register read/write A developer tool: Direct access to AP registers can be useful for handling vendor specific AP like Freescale Kinetis MDM or Atmel SMAP. Change-Id: Ie2c7160fc6b2e398513eb23e1e52cbb52b88d9bd Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/2777 Reviewed-by: Andreas Fritiofson Tested-by: jenkins --- doc/openocd.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/openocd.texi') diff --git a/doc/openocd.texi b/doc/openocd.texi index 1d51721..983ce3c 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -7836,6 +7836,12 @@ Displays ID register from AP @var{num}, defaulting to the currently selected AP. @end deffn +@deffn Command {dap apreg} ap_num reg [value] +Displays content of a register @var{reg} from AP @var{ap_num} +or set a new value @var{value}. +@var{reg} is byte address of a word register, 0, 4, 8 ... 0xfc. +@end deffn + @deffn Command {dap apsel} [num] Select AP @var{num}, defaulting to 0. @end deffn -- cgit v1.1