diff options
Diffstat (limited to 'tcl/target/str912.cfg')
-rw-r--r-- | tcl/target/str912.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tcl/target/str912.cfg b/tcl/target/str912.cfg index 0dd68483..d8445849 100644 --- a/tcl/target/str912.cfg +++ b/tcl/target/str912.cfg @@ -63,8 +63,10 @@ $_TARGETNAME configure -event reset-init { $_TARGETNAME configure -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0 #flash bank str9x <base> <size> 0 0 <target#> <variant> -flash bank str9x 0x00000000 0x00080000 0 0 0 -flash bank str9x 0x00080000 0x00008000 0 0 0 +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 0 +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 0 # For more information about the configuration files, take a look at: # openocd.texi |