summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-23 18:26:06 +0000
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-23 18:26:06 +0000
commit2a6c215c451a7efbba8e89196ae517aa556d0a52 (patch)
treedc3f13ee3fb954db35ed10d1408e73de462581cb /src
parentb11a5b07c6ac9abcb1b2d481da3e3cf1e0292057 (diff)
downloadopenocd+libswd-2a6c215c451a7efbba8e89196ae517aa556d0a52.tar.gz
openocd+libswd-2a6c215c451a7efbba8e89196ae517aa556d0a52.tar.bz2
openocd+libswd-2a6c215c451a7efbba8e89196ae517aa556d0a52.tar.xz
openocd+libswd-2a6c215c451a7efbba8e89196ae517aa556d0a52.zip
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
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