force lpc2148 target into ARM state.

git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2008-08-13 21:18:00 +00:00
parent 20ff917e29
commit 88d11f9b88
1 changed files with 3 additions and 0 deletions

View 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