On 04.04.2018 23:18, Tim Newsome wrote:
Let's say I get my target in a state where examine() fails, but a reset would revive it. It appears that OpenOCD can't do that, because until `init` has completed, there is no `reset` command. Am I missing something? How should this kind of situation be dealt with?



If the target can be examined under reset (srst_nogate):

reset_config connect_assert_srst


There is also an alternative in preventing init to fail OpenOCD (should work with srst_gates_jtag):

openocd -f openocd.cfg -c 'catch init'

Tom

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to