tcl/board: Add config for STM32WB Nucleo board
[fw/openocd] / tcl / board / sheevaplug.cfg
index e5e9f3438c87b89a9ea87f797a4391b1d2a2ed4c..0d21be37c4010c4459d20c7ddec545cb53e9dbfe 100644 (file)
@@ -1,8 +1,10 @@
 # Marvell SheevaPlug
 
-source [find interface/sheevaplug.cfg]
+source [find interface/ftdi/sheevaplug.cfg]
 source [find target/feroceon.cfg]
 
+adapter_khz 2000
+
 $_TARGETNAME configure \
        -work-area-phys 0x10000000 \
        -work-area-size 65536 \
@@ -23,10 +25,10 @@ proc sheevaplug_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