diff options
Diffstat (limited to 'tcl/target/mega128.cfg')
-rw-r--r-- | tcl/target/mega128.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/mega128.cfg b/tcl/target/mega128.cfg index e444889..2bc2294 100644 --- a/tcl/target/mega128.cfg +++ b/tcl/target/mega128.cfg @@ -22,7 +22,8 @@ target create $_TARGETNAME avr -endian $_ENDIAN -chain-position $_TARGETNAME #$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0 -flash bank avr 0 0 0 0 0 +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME avr 0 0 0 0 0 #to use it, script will be like: #init |