summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-09 11:44:17 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-09 11:44:17 +0000
commit70b2de2a63f3655891c71781fa4027965e1b0293 (patch)
tree209dc0d6db1e4f0e1b419ecc19cff907dcc0733c /doc
parentda2bbc90fc8b1a44fe466e6f168882b65381df3e (diff)
downloadopenocd+libswd-70b2de2a63f3655891c71781fa4027965e1b0293.tar.gz
openocd+libswd-70b2de2a63f3655891c71781fa4027965e1b0293.tar.bz2
openocd+libswd-70b2de2a63f3655891c71781fa4027965e1b0293.tar.xz
openocd+libswd-70b2de2a63f3655891c71781fa4027965e1b0293.zip
- added synchronous wait/resume patch. Thanks Øyvind Harboe
- updated docs for halt and wait_halt and resume commands git-svn-id: svn://svn.berlios.de/openocd/trunk@285 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 19736ace..7c8bc0c6 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -651,14 +651,23 @@ Poll the target for its current state. If the target is in debug mode, architect
specific information about the current state are printed. An optional parameter
allows continuous polling to be enabled and disabled.
-@item @b{halt}
+@item @b{halt} [@option{ms}]
@cindex halt
-Send a halt request to the target. The debugger signals the debug request,
-and waits for the target to enter debug mode.
+Send a halt request to the target and waits for it to halt for [@option{ms}].
+Default [@option{ms}] is 5 seconds if no arg given.
+Optional arg @option{ms} is a timeout in milliseconds. Using 0 as the [@option{ms}]
+will stop openocd from waiting.
+
+@item @b{wait_halt} [@option{ms}]
+@cindex wait_halt
+Wait for the target to enter debug mode. Optional [@option{ms}] is
+a timeout in milliseconds. Default [@option{ms}] is 5 seconds if no
+arg given.
@item @b{resume} [@var{address}]
@cindex resume
Resume the target at its current code position, or at an optional address.
+Openocd will wait 5 seconds for the target to resume.
@item @b{step} [@var{address}]
@cindex step