]> git.sur5r.net Git - openocd/commitdiff
Change the setting for the sam7se512 and sam7x256
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 18:26:06 +0000 (18:26 +0000)
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 18:26:06 +0000 (18:26 +0000)
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
src/target/target/sam7x256.cfg

index a3104058aba45659a1646f2a48e5eb64dd4d933a..6f0aa38c09f21756bcf701e12f6a8a9c9597130b 100644 (file)
@@ -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
 
index 8e8cc97a1c9736acac3d3e2c579c76b78aad6092..789f7dd69ca0caeb531765632002b306aeac25be 100644 (file)
@@ -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