Files
sw_openocd/tcl/target/hpmicro/hpm_reset.cfg
Ryan QIAN 0e2f990c87 tcl: add config file for hpmicro devices and boards
- add board and device config files
- add interface config file for hpmicro evk boards

Change-Id: I8afb0b734b1064d71c4af3c118c7777d0ead9e6b
Signed-off-by: Ryan QIAN <jianghao.qian@hpmicro.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8697
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2025-12-19 21:17:21 +00:00

14 lines
414 B
INI

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2025 HPMicro
# As debug access needs to be released by bootrom after reset,
# and halt request set along with reset will be ignored, it needs
# a short period of time for bootrom to release the access,
# so we request halt again in reset-deassert-pre event.
$_TARGET0 configure -event reset-deassert-pre {
sleep 1
if {$halt} {
$::_TARGET0 arp_halt
}
}