target: add examine-fail event
commit9f4659ae6b246bcab77d915cee288b2307a926b3
authorTomas Vanek <vanekt@fbl.cz>
Sat, 4 Nov 2017 08:47:02 +0000 (4 09:47 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Thu, 12 Mar 2020 09:43:55 +0000 (12 09:43 +0000)
tree90fe7ca0767abdb1998586bbeb575d944641bbc8
parent69f0105324f2fdcd0499ae07ada15d340762d061
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>
doc/openocd.texi
src/target/startup.tcl
src/target/target.c
src/target/target.h
tcl/target/klx.cfg
tcl/target/kx.cfg