got ft232 openocd test working
[libresoc-litex.git] / openocd_ft232.cfg
diff --git a/openocd_ft232.cfg b/openocd_ft232.cfg
new file mode 100644 (file)
index 0000000..a30c1a4
--- /dev/null
@@ -0,0 +1,21 @@
+#debug_level 4
+
+adapter driver ft232r
+adapter speed 5
+#ft232r_serial_desc 8a57J1X4
+
+
+adapter_nsrst_delay 100
+jtag_ntrst_delay 100
+
+
+# this should be irlen=4
+jtag newtap libresoc tap -irlen 4 -irmask 0xf -ircapture 0xf -expected-id 0x000018ff
+
+#set _TARGETNAME libresoc.tap
+#target create $_TARGETNAME.0 ppc64 -chain-position $_TARGETNAME -rtos hwthread
+
+# Configure work area in on-chip SRAM
+#$_TARGETNAME.0 configure -work-area-phys 0x80000000 \
+#               -work-area-size 1000 -work-area-backup 0
+