]> git.sur5r.net Git - openocd/commitdiff
force lpc2148 target into ARM state.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 13 Aug 2008 21:18:00 +0000 (21:18 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 13 Aug 2008 21:18:00 +0000 (21:18 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/target/lpc2148.cfg

index a58573080e9bac01a17d3be7dcb1a76b221f8fcd..e76aa02437973bbecbc696bd6099d60ff94c270c 100644 (file)
@@ -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