# Pastebin Qr98SHJR (H2U P=opsis R=opsis-flash-fix) xf@yogacore:~/dev/video/HDMI2USB-litex-firmware$ make gateware-load-opsis opsis-mode-switch --verbose --load-gateware build/opsis_video_lm32//gateware/top.bit WARNING:root:unbind-helper not found, will have to run as root! Numato Opsis in 'jtag' mode at /dev/bus/usb/002/034 /sys/bus/usb/devices/2-3.2.1 /sys/bus/usb/devices/2-3.2.1:1.0 My root dir: /home/xf/dev/video/HDMI2USB-litex-firmware/build/conda/lib/python3.5/site-packages/hdmi2usb/modeswitch Board already in required mode (jtag) Numato Opsis in 'jtag' mode at /dev/bus/usb/002/034 /sys/bus/usb/devices/2-3.2.1 /sys/bus/usb/devices/2-3.2.1:1.0 Running ['openocd', '-f', 'board/numato_opsis.cfg', '-c', 'init; xc6s_print_dna xc6s.tap; pld load 0 /home/xf/dev/video/HDMI2 USB-litex-firmware/build/opsis_video_lm32/gateware/top.bit; reset halt; exit'] Open On-Chip Debugger 0.10.0+dev-00166-g0e4fbfba0-dirty (2017-07-03-06:50) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' Warn : incomplete ublast_vid_pid configuration jtagspi_program Info : usb blaster interface using libftdi Info : This adapter doesn't support configurable speed Info : TAP xc6s.tap does not have IDCODE Info : JTAG tap: auto0.tap tap/device found: 0x81010101 (mfg: 0x080 (), part: 0x1010, ver: 0x8) Info : JTAG tap: auto1.tap tap/device found: 0x01404981 (mfg: 0x4c0 (), part: 0x1404, ver: 0x0) Info : TAP auto2.tap does not have IDCODE Info : JTAG tap: auto3.tap tap/device found: 0xffffffd1 (mfg: 0x7e8 (), part: 0xffff, ver: 0xf) Error: xc6s.tap: IR capture error; saw 0x03 not 0x01 Warn : Bypassing JTAG setup events due to errors DNA = 110000001100000011000000110000001100000010011000110011010 (0x18181818181319a) loaded file /home/xf/dev/video/HDMI2USB-litex-firmware/build/opsis_video_lm32/gateware/top.bit to pld device 0 in 31s 983992u s Info : JTAG tap: xc6s.tap tap/device found: 0x02020203 (mfg: 0x101 (Camintonn Corporation), part: 0x2020, ver: 0x0) Warn : JTAG tap: xc6s.tap UNEXPECTED: 0x02020203 (mfg: 0x101 (Camintonn Corporation), part: 0x2020, ver: 0x0) Error: JTAG tap: xc6s.tap expected 1 of 13: 0x04000093 (mfg: 0x049 (Xilinx), part: 0x4000, ver: 0x0) Error: JTAG tap: xc6s.tap expected 2 of 13: 0x04001093 (mfg: 0x049 (Xilinx), part: 0x4001, ver: 0x0) Error: JTAG tap: xc6s.tap expected 3 of 13: 0x04002093 (mfg: 0x049 (Xilinx), part: 0x4002, ver: 0x0) Error: JTAG tap: xc6s.tap expected 4 of 13: 0x04004093 (mfg: 0x049 (Xilinx), part: 0x4004, ver: 0x0) Error: JTAG tap: xc6s.tap expected 5 of 13: 0x04024093 (mfg: 0x049 (Xilinx), part: 0x4024, ver: 0x0) Error: JTAG tap: xc6s.tap expected 6 of 13: 0x04008093 (mfg: 0x049 (Xilinx), part: 0x4008, ver: 0x0) Error: JTAG tap: xc6s.tap expected 7 of 13: 0x04028093 (mfg: 0x049 (Xilinx), part: 0x4028, ver: 0x0) Error: JTAG tap: xc6s.tap expected 8 of 13: 0x0400e093 (mfg: 0x049 (Xilinx), part: 0x400e, ver: 0x0) Error: JTAG tap: xc6s.tap expected 9 of 13: 0x0402e093 (mfg: 0x049 (Xilinx), part: 0x402e, ver: 0x0) Error: JTAG tap: xc6s.tap expected 10 of 1: 0x04011093 (mfg: 0x049 (Xilinx), part: 0x4011, ver: 0x0) Error: JTAG tap: xc6s.tap expected 11 of 1: 0x04031093 (mfg: 0x049 (Xilinx), part: 0x4031, ver: 0x0) Error: JTAG tap: xc6s.tap expected 12 of 1: 0x0401d093 (mfg: 0x049 (Xilinx), part: 0x401d, ver: 0x0) Error: JTAG tap: xc6s.tap expected 13 of 1: 0x0403d093 (mfg: 0x049 (Xilinx), part: 0x403d, ver: 0x0) Info : TAP auto0.tap does not have IDCODE Info : JTAG tap: auto1.tap tap/device found: 0x01404981 (mfg: 0x4c0 (), part: 0x1404, ver: 0x0) Info : TAP auto2.tap does not have IDCODE Info : JTAG tap: auto3.tap tap/device found: 0xffffffd1 (mfg: 0x7e8 (), part: 0xffff, ver: 0xf) Error: Trying to use configured scan chain anyway... Error: xc6s.tap: IR capture error; saw 0x03 not 0x01 Warn : Bypassing JTAG setup events due to errors Traceback (most recent call last): File "/home/xf/dev/video/HDMI2USB-litex-firmware/build/conda/bin/opsis-mode-switch", line 11, in load_entry_point('hdmi2usb.modeswitch==0.0.0.post184', 'console_scripts', 'opsis-mode-switch')() File "/home/xf/dev/video/HDMI2USB-litex-firmware/build/conda/lib/python3.5/site-packages/hdmi2usb/modeswitch/cli.py", line 305, in main board, args.load_gateware, verbose=args.verbose) File "/home/xf/dev/video/HDMI2USB-litex-firmware/build/conda/lib/python3.5/site-packages/hdmi2usb/modeswitch/boards.py", line 282, in load_gateware return _openocd_script(board, script, verbose=verbose) File "/home/xf/dev/video/HDMI2USB-litex-firmware/build/conda/lib/python3.5/site-packages/hdmi2usb/modeswitch/boards.py", line 230, in _openocd_script "\n".join(errors_found), p.returncode, cmdline, output) hdmi2usb.modeswitch.boards.OpenOCDError: OpenOCD run failure: Found following errors in output; - DNA = 110000001100000011000000110000001100000010011000110011010 (0x18181818181319a) - Error: Trying to use configured scan chain anyway... - Info : TAP xc6s.tap does not have IDCODE - Warn : Bypassing JTAG setup events due to errors. OpenOCD command line resulted in 0 ----- ['openocd', '-f', 'board/numato_opsis.cfg', '-c', 'init; xc6s_print_dna xc6s.tap; pld load 0 /home/xf/dev/video/HDMI2USB-litex-firmware/build/opsis_video_lm32/gateware/top.bit; reset halt; exit'] ----- OpenOCD output: ----- Open On-Chip Debugger 0.10.0+dev-00166-g0e4fbfba0-dirty (2017-07-03-06:50) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' Warn : incomplete ublast_vid_pid configuration jtagspi_program Info : usb blaster interface using libftdi Info : This adapter doesn't support configurable speed Info : TAP xc6s.tap does not have IDCODE Info : JTAG tap: auto0.tap tap/device found: 0x81010101 (mfg: 0x080 (), part: 0x1010, ver: 0x8) Info : JTAG tap: auto1.tap tap/device found: 0x01404981 (mfg: 0x4c0 (), part: 0x1404, ver: 0x0) Info : TAP auto2.tap does not have IDCODE Info : JTAG tap: auto3.tap tap/device found: 0xffffffd1 (mfg: 0x7e8 (), part: 0xffff, ver: 0xf) Error: xc6s.tap: IR capture error; saw 0x03 not 0x01 Warn : Bypassing JTAG setup events due to errors DNA = 110000001100000011000000110000001100000010011000110011010 (0x18181818181319a) loaded file /home/xf/dev/video/HDMI2USB-litex-firmware/build/opsis_video_lm32/gateware/top.bit to pld device 0 in 31s 983992us Info : JTAG tap: xc6s.tap tap/device found: 0x02020203 (mfg: 0x101 (Camintonn Corporation), part: 0x2020, ver: 0x0) Warn : JTAG tap: xc6s.tap UNEXPECTED: 0x02020203 (mfg: 0x101 (Camintonn Corporation), part: 0x2020, ver: 0x0) Error: JTAG tap: xc6s.tap expected 1 of 13: 0x04000093 (mfg: 0x049 (Xilinx), part: 0x4000, ver: 0x0) Error: JTAG tap: xc6s.tap expected 2 of 13: 0x04001093 (mfg: 0x049 (Xilinx), part: 0x4001, ver: 0x0) Error: JTAG tap: xc6s.tap expected 3 of 13: 0x04002093 (mfg: 0x049 (Xilinx), part: 0x4002, ver: 0x0) Error: JTAG tap: xc6s.tap expected 4 of 13: 0x04004093 (mfg: 0x049 (Xilinx), part: 0x4004, ver: 0x0) Error: JTAG tap: xc6s.tap expected 5 of 13: 0x04024093 (mfg: 0x049 (Xilinx), part: 0x4024, ver: 0x0) Error: JTAG tap: xc6s.tap expected 6 of 13: 0x04008093 (mfg: 0x049 (Xilinx), part: 0x4008, ver: 0x0) Error: JTAG tap: xc6s.tap expected 7 of 13: 0x04028093 (mfg: 0x049 (Xilinx), part: 0x4028, ver: 0x0) Error: JTAG tap: xc6s.tap expected 8 of 13: 0x0400e093 (mfg: 0x049 (Xilinx), part: 0x400e, ver: 0x0) Error: JTAG tap: xc6s.tap expected 9 of 13: 0x0402e093 (mfg: 0x049 (Xilinx), part: 0x402e, ver: 0x0) Error: JTAG tap: xc6s.tap expected 10 of 1: 0x04011093 (mfg: 0x049 (Xilinx), part: 0x4011, ver: 0x0) Error: JTAG tap: xc6s.tap expected 11 of 1: 0x04031093 (mfg: 0x049 (Xilinx), part: 0x4031, ver: 0x0) Error: JTAG tap: xc6s.tap expected 12 of 1: 0x0401d093 (mfg: 0x049 (Xilinx), part: 0x401d, ver: 0x0) Error: JTAG tap: xc6s.tap expected 13 of 1: 0x0403d093 (mfg: 0x049 (Xilinx), part: 0x403d, ver: 0x0) Info : TAP auto0.tap does not have IDCODE Info : JTAG tap: auto1.tap tap/device found: 0x01404981 (mfg: 0x4c0 (), part: 0x1404, ver: 0x0) Info : TAP auto2.tap does not have IDCODE Info : JTAG tap: auto3.tap tap/device found: 0xffffffd1 (mfg: 0x7e8 (), part: 0xffff, ver: 0xf) Error: Trying to use configured scan chain anyway... Error: xc6s.tap: IR capture error; saw 0x03 not 0x01 Warn : Bypassing JTAG setup events due to errors ----- targets/opsis/Makefile.mk:6: recipe for target 'gateware-load-opsis' failed make: *** [gateware-load-opsis] Error 1