]> git.gag.com Git - fw/openocd/blobdiff - tcl/board/icnova_sam9g45_sodimm.cfg
tcl: replace the deprecated commands with "adapter ..."
[fw/openocd] / tcl / board / icnova_sam9g45_sodimm.cfg
index 84dab3899fd1ac503712bded29bc5ffae0bf34eb..bf70cca9ae7ec55b1e79f254453ee6dc2933ad09 100644 (file)
@@ -15,7 +15,7 @@ source [find target/at91sam9g45.cfg]
 # Set reset type.
 # reset_config trst_and_srst
 
-# adapter_nsrst_delay 200
+# adapter srst delay 200
 # jtag_ntrst_delay 200
 
 
@@ -58,7 +58,7 @@ proc at91sam9g45_start { } {
 
        arm7_9 fast_memory_access disable
     # Slow-speed oscillator enabled at reset, so run jtag speed slow.
-       adapter_khz 4
+       adapter speed 4
     # Make sure processor is halted, or error will result in following steps.
        halt
        wait_halt 10000
@@ -117,7 +117,7 @@ proc at91sam9g45_init { } {
 
        # Switch over to adaptive clocking.
 
-       adapter_khz 6000
+       adapter speed 6000
 
        # Enable faster DCC downloads.