Add missing events tap-enable and tap-disable to documentation.
Add missing tap-enable and tap-disable events to documentation.

Signed-off-by: Dirk Behme <[email protected]>

---
 doc/openocd.texi |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

Index: trunk/doc/openocd.texi
===================================================================
--- trunk.orig/doc/openocd.texi
+++ trunk/doc/openocd.texi
@@ -1744,8 +1744,8 @@ creates and invokes small procedure. The
    mychip.cpu configure -event gdb-attach @{ puts "Reset..." ; reset halt @}
 @end example
 
-Current Events
-
+...@section Current Events
+The following events are available:
 @itemize @bullet
 @item @b{debug-halted}
 @* The target has halted for debug reasons (ie: breakpoint)
@@ -1809,6 +1809,22 @@ Current Events
 @* Success
 @item @b{resumed}
 @* Target has resumed
+...@item @b{tap-enable}
+...@* Executed by @b{jtag tapenable DOTTED.NAME} command. Example:
+...@example
+jtag configure DOTTED.NAME -event tap-enable @{
+  puts "Enabling CPU"
+  ...
+...@}
+...@end example
+...@item @b{tap-disable}
+...@*executed by @b{jtag tapdisable DOTTED.NAME} command. Example:
+...@example
+jtag configure DOTTED.NAME -event tap-disable @{
+  puts "Disabling CPU"
+  ...
+...@}
+...@end example
 @end itemize
 
 
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to