bluenrg-x: added support for BlueNRG-LP device
[fw/openocd] / tcl / board / openrd.cfg
index db3cb0326e7055c23c0ce5759b2cb29731d8b0ec..696af4e5b91bb362d129c11647a275a1b05defca 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