set ARM mode using explicit command rather than soft_reset_halt which has lots of side effects.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2669 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
81b57a3fb6
commit
2e29131f2b
|
@ -35,7 +35,7 @@ $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-s
|
||||||
|
|
||||||
$_TARGETNAME configure -event reset-init {
|
$_TARGETNAME configure -event reset-init {
|
||||||
# Force target into ARM state
|
# Force target into ARM state
|
||||||
soft_reset_halt
|
armv4_5 core_state arm
|
||||||
# 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue