summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:30:09 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:30:09 -0800
commita42bea654ce1316dd521b1c9beffa8f829bf8be0 (patch)
tree48f3c4d4a858f9a2568fe071fb5ef5a96fc15b7b /doc
parente0b6e5deef2d7b0054058116b6ddf9c684053739 (diff)
downloadopenocd+libswd-a42bea654ce1316dd521b1c9beffa8f829bf8be0.tar.gz
openocd+libswd-a42bea654ce1316dd521b1c9beffa8f829bf8be0.tar.bz2
openocd+libswd-a42bea654ce1316dd521b1c9beffa8f829bf8be0.tar.xz
openocd+libswd-a42bea654ce1316dd521b1c9beffa8f829bf8be0.zip
ARM720: help/usage updates
Deprecate the "pass an instruction opcode" flavor of cp15 access in favor of the "arm mcr ..." and "arm mrc ..." commands, which offer fewer ways to break things. Use the same EBNF syntax in the code as for the user's guide. Update User's Guide to say where to find those magic values (which table in the ARM920 TRM). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index ea23bf72..bf7402d4 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -5978,13 +5978,21 @@ is an ARM920T (2x16kByte cache) or ARM922T (2x8kByte cache).
@deffn Command {arm920t cp15} regnum [value]
Display cp15 register @var{regnum};
else if a @var{value} is provided, that value is written to that register.
+This uses "physical access" and the register number is as
+shown in bits 38..33 of table 9-9 in the ARM920T TRM.
+(Not all registers can be written.)
@end deffn
@deffn Command {arm920t cp15i} opcode [value [address]]
-Interpreted access using cp15 @var{opcode}.
+@emph{DEPRECATED -- avoid using this.
+Use the @command{arm mrc} or @command{arm mcr} commands instead.}
+
+Interpreted access using ARM instruction @var{opcode}, which should
+be the value of either an MRC or MCR instruction
+(as shown tables 9-11, 9-12, and 9-13 in the ARM920T TRM).
If no @var{value} is provided, the result is displayed.
Else if that value is written using the specified @var{address},
-or using zero if no other address is not provided.
+or using zero if no other address is provided.
@end deffn
@deffn Command {arm920t read_cache} filename