From 88d11f9b887f13295d5fea4e4874760bc7e84c16 Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Wed, 13 Aug 2008 21:18:00 +0000
Subject: [PATCH] force lpc2148 target into ARM state.

git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/target/target/lpc2148.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/target/target/lpc2148.cfg b/src/target/target/lpc2148.cfg
index a58573080..e76aa0243 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
-- 
GitLab