eMAG: Add Ampere eMAG config files
[fw/openocd] / tcl / target / stm32wbx.cfg
index 138bcf186bba999dd33d749fa86d0063e4e951ed..90f53bb967cf344afbd4430d1f90342d1073dba1 100644 (file)
@@ -55,9 +55,9 @@ flash bank $_FLASHNAME stm32l4x 0 0 0 0 $_TARGETNAME
 #
 # Note that there is a pretty wide band where things are
 # more or less stable, see http://openocd.zylin.com/#/c/3366/
-adapter_khz 500
+adapter speed 500
 
-adapter_nsrst_delay 100
+adapter srst delay 100
 if {[using_jtag]} {
  jtag_ntrst_delay 100
 }
@@ -77,12 +77,12 @@ $_TARGETNAME configure -event reset-init {
     mmw 0x58004000 0x00000102 0  ;# FLASH_ACR |= PRFTBE | 2(Latency)
     mmw 0x58000000 0x00000091 0  ;# RCC_CR = MSI_ON | MSI Range 24 MHz
     # Boost JTAG frequency
-    adapter_khz 4000
+    adapter speed 4000
 }
 
 $_TARGETNAME configure -event reset-start {
     # Reset clock is MSI (4 MHz)
-    adapter_khz 500
+    adapter speed 500
 }
 
 $_TARGETNAME configure -event examine-end {