// set to DMI "data read"
SIR 4 TDI (9) SMASK (f) ;
// read 64 bit
-SDR 64 TDI (0000000000000000) SMASK (0000000000000000) TDO (00000000deadbeef) MASK (ffffffffffffffff) ;
+SDR 64 TDI (0000000000000000) SMASK (0000000000000000) TDO (00000000deadbeef) MASK (0000000000000000) ;
--- /dev/null
+#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
+
--- /dev/null
+
+adapter driver usb_blaster
+adapter speed 1
+
+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
+