artik053/openocd: reset the target on prepare_target()
authorHeesub Shin <heesub.shin@samsung.com>
Wed, 12 Jul 2017 08:32:30 +0000 (17:32 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 20 Sep 2017 05:28:25 +0000 (14:28 +0900)
commit1b0d9bbe78ac3cd3370aff7bc891c88291aa53ff
tree804b10a3a65ade5fb64a0458847d9f4e4ab6f0c7
parentc947e7a422b1f64326ce23fb5a862395fbdfe1d4
artik053/openocd: reset the target on prepare_target()

prepare_target() fails sometimes when the target is in abnormal state
like data abort, and we need to push the reset button. In such cases,
it is not enough to give 'halt' command. 'reset halt' seems to be
appropriate.

Change-Id: I15e197a8e7232924cfeac8d064fb4f46a84d09cf
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
build/configs/artik053/tools/openocd/artik053.cfg