diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2015-04-24 07:33:50 +0200 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-07-17 23:30:09 +0100 |
commit | f4496b25e3040e29b9bc78dd5bf8ac8128c09a1e (patch) | |
tree | 68a139b78b74cef0d18ed5a3ba5f06e4441c8693 /doc | |
parent | 7a0473bbb6cd4d83ce43fc4b722083b315b80a98 (diff) | |
download | riscv-openocd-f4496b25e3040e29b9bc78dd5bf8ac8128c09a1e.zip riscv-openocd-f4496b25e3040e29b9bc78dd5bf8ac8128c09a1e.tar.gz riscv-openocd-f4496b25e3040e29b9bc78dd5bf8ac8128c09a1e.tar.bz2 |
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 <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2777
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 6 |
1 files changed, 6 insertions, 0 deletions
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 |