force lpc2148 target into ARM state.
git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
20ff917e29
commit
88d11f9b88
|
@ -16,8 +16,11 @@ jtag_device 4 0x1 0xf 0xe
|
||||||
target arm7tdmi little 0 arm7tdmi-s_r4
|
target arm7tdmi little 0 arm7tdmi-s_r4
|
||||||
|
|
||||||
proc target_0_post_reset {} {
|
proc target_0_post_reset {} {
|
||||||
|
# Force target into ARM state
|
||||||
|
soft_reset_halt
|
||||||
#do not remap 0x0000-0x0020 to anything but the flash
|
#do not remap 0x0000-0x0020 to anything but the flash
|
||||||
mwb 0xE01FC040 0x01
|
mwb 0xE01FC040 0x01
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
working_area 0 0x40000000 0x4000 nobackup
|
working_area 0 0x40000000 0x4000 nobackup
|
||||||
|
|
Loading…
Reference in New Issue