tcl: replace the deprecated commands with "adapter ..."
[fw/openocd] / tcl / target / at91sam9260_ext_RAM_ext_flash.cfg
index 9ab7409048eb7aada94386feb62375d72874db3e..3e4b7d76b77946adfd723f7ce386ea09a2bdcc68 100644 (file)
@@ -6,15 +6,15 @@ source [find target/at91sam9261.cfg]
 
 reset_config trst_and_srst
 
-adapter_khz 4
+adapter speed 4
 
-adapter_nsrst_delay 200
+adapter srst delay 200
 jtag_ntrst_delay 200
 
 scan_chain
 $_TARGETNAME configure -event reset-start {
        # at reset chip runs at 32khz
-       adapter_khz 8
+       adapter speed 8
 }
 
 $_TARGETNAME configure -event reset-init {at91sam_init}
@@ -46,7 +46,7 @@ proc at91sam_init { } {
        sleep 10                          ;# wait 10 ms
 
        # Now run at anything fast... ie: 10mhz!
-       adapter_khz 10000                    ;# Increase JTAG Speed to 6 MHz
+       adapter speed 10000               ;# Increase JTAG Speed to 6 MHz
 
        mww 0xffffec00 0x0a0a0a0a         ;# SMC_SETUP0 : Setup SMC for Intel NOR Flash JS28F128P30T85 128MBit
        mww 0xffffec04 0x0b0b0b0b         ;# SMC_PULSE0