aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2016-08-06 08:28:04 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-08-13 09:02:47 +0100
commit306e04e8259ac091db1208335f418c058e22a02f (patch)
treeb26493b0fa8f125b48651747f34112a4a4e2f9d0
parentcd9b9a636411671808e8669ad8d6ee8f8815ad1b (diff)
downloadriscv-openocd-306e04e8259ac091db1208335f418c058e22a02f.zip
riscv-openocd-306e04e8259ac091db1208335f418c058e22a02f.tar.gz
riscv-openocd-306e04e8259ac091db1208335f418c058e22a02f.tar.bz2
psoc4.cfg: fixed typo in message, add a hint
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 <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3617 Tested-by: jenkins Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r--tcl/target/psoc4.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg
index 2416dbe..d443b01 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