summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-13 21:18:00 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-13 21:18:00 +0000
commit88d11f9b887f13295d5fea4e4874760bc7e84c16 (patch)
treed2799b236bef9975fbd7f923e3125e92fd1a6225 /src/target
parent20ff917e29cd2b14b01a3491b302e0310d620ebe (diff)
downloadopenocd_libswd-88d11f9b887f13295d5fea4e4874760bc7e84c16.tar.gz
openocd_libswd-88d11f9b887f13295d5fea4e4874760bc7e84c16.tar.bz2
openocd_libswd-88d11f9b887f13295d5fea4e4874760bc7e84c16.tar.xz
openocd_libswd-88d11f9b887f13295d5fea4e4874760bc7e84c16.zip
force lpc2148 target into ARM state.
git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-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