[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [PATCH 2/2] LPC2478 default clock after reset is 4MHz (internal RC)
From:       freddie_chopin () op ! pl (Freddie Chopin)
Date:       2009-10-29 18:35:07
Message-ID: mailman.71.1266938620.8639.openocd-development () lists ! berlios ! de
[Download RAW message or body]

---
 tcl/target/lpc2478.cfg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tcl/target/lpc2478.cfg b/tcl/target/lpc2478.cfg
index bf33ae0..45789bc 100644
--- a/tcl/target/lpc2478.cfg
+++ b/tcl/target/lpc2478.cfg
@@ -43,7 +43,7 @@ $_TARGETNAME configure -event reset-init {
 # LPC2378 has 512kB of FLASH, but upper 8kB are occupied by bootloader.
 # After reset the chip uses its internal 4MHz RC oscillator.
 # flash bank lpc2000 <base> <size> 0 0 <target#> <variant> <clock> [calc checksum]
-flash bank lpc2000 0x0 0x7D000 0 0 $_TARGETNAME lpc2000_v2 12000 calc_checksum
+flash bank lpc2000 0x0 0x7D000 0 0 $_TARGETNAME lpc2000_v2 4000 calc_checksum
 
 # Try to use RCLK, if RCLK is not available use "normal" mode. 4MHz / 6 = 666kHz, so use 500.
 jtag_rclk 500
-- 
1.6.5.1.1367.gcd48


--------------050402010909080602090100
Content-Type: text/plain;
 name="0001-add-_TARGETNAME-instead-of-0-to-.cfg-files-to-get-ri.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0001-add-_TARGETNAME-instead-of-0-to-.cfg-files-to-get-ri.pa";
 filename*1="tch"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic