X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fsam7x256.cfg;h=5bab642152a0216b93c6233a41ba18a1a4e28f10;hb=a65e75ea34153a8d0a0fe0b07497ad75c5726ab6;hp=12f303051e252e0a41c0ea205104640179f80069;hpb=71af49ca7fb11b0bd0c1ba9578826f49288b68ef;p=fw%2Fopenocd diff --git a/tcl/target/sam7x256.cfg b/tcl/target/sam7x256.cfg index 12f303051..5bab64215 100644 --- a/tcl/target/sam7x256.cfg +++ b/tcl/target/sam7x256.cfg @@ -43,10 +43,11 @@ $_TARGETNAME configure -event reset-init { sleep 100 } -$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 +$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 0 #flash bank [ ] -flash bank at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432 +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME 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