From: oharboe at B. <oh...@ma...> - 2009-09-04 13:03:30
|
Author: oharboe Date: 2009-09-04 13:03:26 +0200 (Fri, 04 Sep 2009) New Revision: 2672 Modified: trunk/tcl/target/lpc1768.cfg trunk/tcl/target/lpc2148.cfg trunk/tcl/target/lpc2378.cfg Log: use "armv4_5 core_state arm" instead of soft_reset_halt, fewer side effects Modified: trunk/tcl/target/lpc1768.cfg =================================================================== --- trunk/tcl/target/lpc1768.cfg 2009-09-04 08:27:27 UTC (rev 2671) +++ trunk/tcl/target/lpc1768.cfg 2009-09-04 11:03:26 UTC (rev 2672) @@ -34,7 +34,8 @@ $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x10000000 -work-area-size 0x8000 -work-area-backup 0 $_TARGETNAME configure -event reset-init { - soft_reset_halt + # Force target into ARM state + armv4_5 core_state arm #do not remap 0x0000-0x0020 to anything but the flash # mwb 0xE01FC040 0x01 mwb 0xE000ED08 0x00 Modified: trunk/tcl/target/lpc2148.cfg =================================================================== --- trunk/tcl/target/lpc2148.cfg 2009-09-04 08:27:27 UTC (rev 2671) +++ trunk/tcl/target/lpc2148.cfg 2009-09-04 11:03:26 UTC (rev 2672) @@ -38,8 +38,8 @@ $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0 $_TARGETNAME configure -event reset-init { - # Force target into ARM state. - soft_reset_halt + # Force target into ARM state + armv4_5 core_state arm # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select # "User Flash Mode" where interrupt vectors are _not_ remapped, Modified: trunk/tcl/target/lpc2378.cfg =================================================================== --- trunk/tcl/target/lpc2378.cfg 2009-09-04 08:27:27 UTC (rev 2671) +++ trunk/tcl/target/lpc2378.cfg 2009-09-04 11:03:26 UTC (rev 2672) @@ -35,7 +35,7 @@ $_TARGETNAME configure -event reset-init { # Force target into ARM state - soft_reset_halt + armv4_5 core_state arm #do not remap 0x0000-0x0020 to anything but the flash mwb 0xE01FC040 0x01 } |