target: add Espressif ESP32 basic support
[fw/openocd] / tcl / board / openrd.cfg
index db3cb0326e7055c23c0ce5759b2cb29731d8b0ec..fda01d1291c84381d20c89d1afb2132120ae69d8 100644 (file)
@@ -3,7 +3,7 @@
 source [find interface/ftdi/openrd.cfg]
 source [find target/feroceon.cfg]
 
-adapter_khz 2000
+adapter speed 2000
 
 $_TARGETNAME configure \
        -work-area-phys 0x10000000 \
@@ -25,10 +25,10 @@ proc openrd_init { } {
        # possible that initial tap examination failed.  So let's
        # re-examine the target again here when nSRST is asserted which
        # should then succeed.
-       jtag_reset 0 1
+       adapter assert srst
        feroceon.cpu arp_examine
        halt 0
-       jtag_reset 0 0
+       adapter deassert srst
        wait_halt
 
        arm mcr 15 0 0 1 0 0x00052078
@@ -122,4 +122,3 @@ proc openrd_load_uboot { } {
        resume 0x00600000
 
 }
-