summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-17 14:53:08 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-17 14:53:08 +0000
commit39d5677fc972c0dd1b6ec10c6e81f15d313a6e35 (patch)
treef34b700afe4daab549ed844c4fdaa7fa0c614057 /doc
parent871d2f2d01b4ad518526583db25b4436270798ae (diff)
downloadopenocd_libswd-39d5677fc972c0dd1b6ec10c6e81f15d313a6e35.tar.gz
openocd_libswd-39d5677fc972c0dd1b6ec10c6e81f15d313a6e35.tar.bz2
openocd_libswd-39d5677fc972c0dd1b6ec10c6e81f15d313a6e35.tar.xz
openocd_libswd-39d5677fc972c0dd1b6ec10c6e81f15d313a6e35.zip
Laurentiu Cocanu - document various commands.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1083 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index d0c51428..0cb6b1d4 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -835,6 +835,13 @@ openocd -c "fast enable" -c "interface dummy" -f target/str710.cfg
@subsection Target state handling
@itemize @bullet
+@item @b{reg} [@option{#}|@option{name}] [value]
+@cindex reg
+@*Access a single register by its number[@option{#}] or by its [@option{name}].
+No arguments: list all available registers for the current target.
+Number or name argument: display a register
+Number or name and value arguments: set register value
+
@item @b{poll} [@option{on}|@option{off}]
@cindex poll
@*Poll the target for its current state. If the target is in debug mode, architecture
@@ -880,6 +887,10 @@ With no arguments a "reset run" is executed
@*Immediately halt the target, and execute the reset script (works only with certain
configurations)
@end itemize
+
+@item @b{soft_reset_halt}
+@cindex reset
+@*Requesting target halt and executing a soft reset.
@end itemize
@subsection Memory access commands
@@ -919,6 +930,23 @@ These commands allow accesses of a specific size to the memory system:
This will first attempt comparison using a crc checksum, if this fails it will try a binary compare.
@end itemize
+@subsection Breakpoint commands
+@cindex Breakpoint commands
+@itemize @bullet
+@item @b{bp} <@var{addr}> <@var{len}> [@var{hw}]
+@cindex bp
+@*set breakpoint <address> <length> [hw]
+@item @b{rbp} <@var{addr}>
+@cindex rbp
+@*remove breakpoint <adress>
+@item @b{wp} <@var{addr}> <@var{len}> <@var{r}|@var{w}|@var{a}> [@var{value}] [@var{mask}]
+@cindex wp
+@*set watchpoint <address> <length> <r/w/a> [value] [mask]
+@item @b{rwp} <@var{addr}>
+@cindex rwp
+@*remove watchpoint <adress>
+@end itemize
+
@subsection Flash commands
@cindex Flash commands
@itemize @bullet