]> git.sur5r.net Git - openocd/blobdiff - tcl/target/stm32.cfg
target: add basic dsp563xx support
[openocd] / tcl / target / stm32.cfg
index 619824c5132f1d3fc9b38ca5b4ef0ad2e7c299c9..463a85cfd2ba9f8503007f96fbdd5248f957752a 100644 (file)
@@ -26,9 +26,6 @@ jtag_khz 1000
 jtag_nsrst_delay 100
 jtag_ntrst_delay 100
 
-#use combined on interfaces or targets that can't set TRST/SRST separately
-reset_config trst_and_srst
-
 #jtag scan chain
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
@@ -65,7 +62,8 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA
 
 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
 
-flash bank stm32x 0 0 0 0 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME stm32x 0 0 0 0 $_TARGETNAME
 
 # For more information about the configuration files, take a look at:
 # openocd.texi