diff options
-rw-r--r-- | tcl/target/psoc4.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/psoc4.cfg b/tcl/target/psoc4.cfg index eb51847c..544e1098 100644 --- a/tcl/target/psoc4.cfg +++ b/tcl/target/psoc4.cfg @@ -179,7 +179,7 @@ proc ocd_process_reset_inner { MODE } { } # Check if PSoC CPU is stopped in system ROM - set pc [ocd_reg pc] + set pc [reg pc] regsub {pc[^:]*: } $pc "" pc if { $pc < 0x10000000 || $pc > 0x1000ffff } { set hint "" |