summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/target/lpc2148.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/target/lpc2148.cfg b/src/target/target/lpc2148.cfg
index a5857308..e76aa024 100644
--- a/src/target/target/lpc2148.cfg
+++ b/src/target/target/lpc2148.cfg
@@ -16,8 +16,11 @@ jtag_device 4 0x1 0xf 0xe
target arm7tdmi little 0 arm7tdmi-s_r4
proc target_0_post_reset {} {
+ # Force target into ARM state
+ soft_reset_halt
#do not remap 0x0000-0x0020 to anything but the flash
mwb 0xE01FC040 0x01
+
}
working_area 0 0x40000000 0x4000 nobackup