aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2017-11-04 09:47:02 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-03-12 09:43:55 +0000
commit9f4659ae6b246bcab77d915cee288b2307a926b3 (patch)
tree90fe7ca0767abdb1998586bbeb575d944641bbc8 /doc
parent69f0105324f2fdcd0499ae07ada15d340762d061 (diff)
downloadriscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.zip
riscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.tar.gz
riscv-openocd-9f4659ae6b246bcab77d915cee288b2307a926b3.tar.bz2
target: add examine-fail event
A configuration script may want to check the reason why examine fails e.g. device has security lock engaged. tcl/target/kx.cfg and klx.cfg is modified to use the new event for testing of the security lock of Kinetis MCU Change-Id: Id1d3a79d24e84b513f4ea35586cd2ab0437ff9b3 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/4289 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 454ae06..711171a 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4820,6 +4820,8 @@ The following target events are defined:
@* Before target examine is called.
@item @b{examine-end}
@* After target examine is called with no errors.
+@item @b{examine-fail}
+@* After target examine fails.
@item @b{gdb-attach}
@* When GDB connects. Issued before any GDB communication with the target
starts. GDB expects the target is halted during attachment.
@@ -5991,7 +5993,8 @@ Used in kinetis 'fcf_source protection' mode only.
@end deffn
@deffn Command {kinetis mdm check_security}
-Checks status of device security lock. Used internally in examine-end event.
+Checks status of device security lock. Used internally in examine-end
+and examine-fail event.
@end deffn
@deffn Command {kinetis mdm halt}