This must have got messed up with cfg changes a while back.

Cheers
Spen
>From f899c2aa9767ba7bf731e6c6c1af2c437af97dac Mon Sep 17 00:00:00 2001
From: Spencer Oliver <ntfr...@users.sourceforge.net>
Date: Tue, 9 Feb 2010 14:49:47 +0000
Subject: [PATCH] str730.cfg: fix incorrect mem regions

 - update str73x mem regions to correct values.

Signed-off-by: Spencer Oliver <ntfr...@users.sourceforge.net>
---
 tcl/target/str730.cfg |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tcl/target/str730.cfg b/tcl/target/str730.cfg
index cab2338..0917953 100644
--- a/tcl/target/str730.cfg
+++ b/tcl/target/str730.cfg
@@ -46,9 +46,9 @@ $_TARGETNAME configure -event gdb-flash-erase-start {
        flash protect 0 0 7 off
 }
 
-$_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 
-work-area-backup 0
+$_TARGETNAME configure -work-area-phys 0xA0000000 -work-area-size 0x4000 
-work-area-backup 0
 
 #flash bank <driver> <base> <size> <chip_width> <bus_width>
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME str7x 0x20000000 0x00040000 0 0 $_TARGETNAME STR3x
+flash bank $_FLASHNAME str7x 0x80000000 0x00040000 0 0 $_TARGETNAME STR3x
 
-- 
1.6.5.1.1367.gcd48

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to