update README
[libresoc-litex.git] / openocd_stlinkv2.cfg
index 89585654013de38aa7a91f786896273bcf5a186a..04ad4c9c493cfb1da38dc385c3fa74f3638763d3 100644 (file)
@@ -1,13 +1,17 @@
+debug_level 4
+
 interface hla
 hla_layout stlink
-hla_device_desc "ST-LINK"
+#hla_device_desc "ST-LINK"
 hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b
-transport select hla_jtag
 #jtag_rclk 300
-adapter_khz 25
+adapter speed 140
+transport select hla_jtag
 
 # this should be irlen=4
-hla newtap libresoc tap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff
+jtag newtap ls180 tap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x000018ff -enable
+
+init
 
 #hla newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff