flash: New Spansion FM4 flash driver
[fw/openocd] / tcl / target / at91sam3XXX.cfg
index f36475b6d46ec754397167f294a13644f9f96af0..6af1f5cc2aac4c33e30c27616c3e514698254f7a 100644 (file)
@@ -76,10 +76,12 @@ $_TARGETNAME configure -event gdb-flash-erase-start {
 adapter_khz 500
 
 adapter_nsrst_delay 100
-if {$using_jtag} {
+if {[using_jtag]} {
    jtag_ntrst_delay 100
 }
 
-# if srst is not fitted use SYSRESETREQ to
-# perform a soft reset
-cortex_m reset_config sysresetreq
+if {![using_hla]} {
+   # if srst is not fitted use SYSRESETREQ to
+   # perform a soft reset
+   cortex_m reset_config sysresetreq
+}