summaryrefslogtreecommitdiff
path: root/tcl/target/lpc1768.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/lpc1768.cfg')
-rw-r--r--tcl/target/lpc1768.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/lpc1768.cfg b/tcl/target/lpc1768.cfg
index 7afcf712..fbf7117c 100644
--- a/tcl/target/lpc1768.cfg
+++ b/tcl/target/lpc1768.cfg
@@ -34,7 +34,8 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x10000000 -work-area-size 0x8000 -work-area-backup 0
$_TARGETNAME configure -event reset-init {
- soft_reset_halt
+ # Force target into ARM state
+ armv4_5 core_state arm
#do not remap 0x0000-0x0020 to anything but the flash
# mwb 0xE01FC040 0x01
mwb 0xE000ED08 0x00