summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-21 14:45:39 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-21 14:45:39 +0200
commit2783cba8106a86bd81635b509ccb5edb0ebd3d29 (patch)
tree36df983391ee8474a45ac2248a4ca7c0b192c219 /doc
parent818cedaff315d4ca44541012d5e4a8882cda1c85 (diff)
downloadopenocd+libswd-2783cba8106a86bd81635b509ccb5edb0ebd3d29.tar.gz
openocd+libswd-2783cba8106a86bd81635b509ccb5edb0ebd3d29.tar.bz2
openocd+libswd-2783cba8106a86bd81635b509ccb5edb0ebd3d29.tar.xz
openocd+libswd-2783cba8106a86bd81635b509ccb5edb0ebd3d29.zip
Added target_read/write_phys_memory() fn's. mdX/mwX commands updated to support phys flag to specify bypassing of MMU.
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 500faf9a..4f228325 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4938,23 +4938,27 @@ Please use their TARGET object siblings to avoid making assumptions
about what TAP is the current target, or about MMU configuration.
@end enumerate
-@deffn Command mdw addr [count]
-@deffnx Command mdh addr [count]
-@deffnx Command mdb addr [count]
+@deffn Command mdw [phys] addr [count]
+@deffnx Command mdh [phys] addr [count]
+@deffnx Command mdb [phys] addr [count]
Display contents of address @var{addr}, as
32-bit words (@command{mdw}), 16-bit halfwords (@command{mdh}),
or 8-bit bytes (@command{mdb}).
If @var{count} is specified, displays that many units.
+@var{phys} is an optional flag to indicate to use
+physical address and bypass MMU
(If you want to manipulate the data instead of displaying it,
see the @code{mem2array} primitives.)
@end deffn
-@deffn Command mww addr word
-@deffnx Command mwh addr halfword
-@deffnx Command mwb addr byte
+@deffn Command mww [phys] addr word
+@deffnx Command mwh [phys] addr halfword
+@deffnx Command mwb [phys] addr byte
Writes the specified @var{word} (32 bits),
@var{halfword} (16 bits), or @var{byte} (8-bit) pattern,
at the specified address @var{addr}.
+@var{phys} is an optional flag to indicate to use
+physical address and bypass MMU
@end deffn