From 2a6c215c451a7efbba8e89196ae517aa556d0a52 Mon Sep 17 00:00:00 2001 From: mifi Date: Sat, 23 May 2009 18:26:06 +0000 Subject: [PATCH] Change the setting for the sam7se512 and sam7x256 flash driver because of the new at91sam7 version. git-svn-id: svn://svn.berlios.de/openocd/trunk@1890 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target/sam7se512.cfg | 3 ++- src/target/target/sam7x256.cfg | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/target/target/sam7se512.cfg b/src/target/target/sam7se512.cfg index a3104058..6f0aa38c 100644 --- a/src/target/target/sam7se512.cfg +++ b/src/target/target/sam7se512.cfg @@ -34,5 +34,6 @@ target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAM $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 -flash bank at91sam7 0 0 0 0 0 +#flash bank [ ] +flash bank at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432 diff --git a/src/target/target/sam7x256.cfg b/src/target/target/sam7x256.cfg index 8e8cc97a..789f7dd6 100644 --- a/src/target/target/sam7x256.cfg +++ b/src/target/target/sam7x256.cfg @@ -45,8 +45,8 @@ $_TARGETNAME configure -event reset-init { $_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 -#flash bank -flash bank at91sam7 0 0 0 0 0 +#flash bank [ ] +flash bank at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432 # For more information about the configuration files, take a look at: # openocd.texi -- 2.39.5