summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/target/sam7se512.cfg3
-rw-r--r--src/target/target/sam7x256.cfg4
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 <driver> <base_addr> <size> <chip_width> <bus_width> <target_number> [<target_name> <banks> <sectors_per_bank> <pages_per_sector> <page_size> <num_nvmbits> <ext_freq_khz>]
+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 <driver> <base> <size> <chip_width> <bus_width>
-flash bank at91sam7 0 0 0 0 0
+#flash bank <driver> <base_addr> <size> <chip_width> <bus_width> <target_number> [<target_name> <banks> <sectors_per_bank> <pages_per_sector> <page_size> <num_nvmbits> <ext_freq_khz>]
+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