From 306e04e8259ac091db1208335f418c058e22a02f Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Sat, 6 Aug 2016 08:28:04 +0200 Subject: [PATCH] psoc4.cfg: fixed typo in message, add a hint MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PSoC4 design prevents reset halt/init with standard/low level SWD adapter if hw reset line configured. Give user hint to use 'reset_config none' in such case. Change-Id: I0ca2c46b8575829b0013fd151f2eb63963d66653 Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/3617 Tested-by: jenkins Reviewed-by: Andreas Färber Reviewed-by: Andreas Fritiofson --- tcl/target/psoc4.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg index 2416dbe9..d443b014 100644 --- a/tcl/target/psoc4.cfg +++ b/tcl/target/psoc4.cfg @@ -127,7 +127,7 @@ proc ocd_process_reset_inner { MODE } { set pc [ocd_reg pc] regsub {pc[^:]*: } $pc "" pc if { $pc < 0x10000000 || $pc > 0x1000ffff } { - return -code error [format "TARGET: %s - Not halted is system ROM" $t] + return -code error [format "TARGET: %s - Not halted in system ROM, use 'reset_config none'" $t] } # Set registers to reset vector values -- 2.39.5