Hello,
I am experiencing trouble flashing kasli. We have used this cable to flash in the past and when I run lsusb we get
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 413c:2113 Dell Computer Corp. Dell KB216 Wired Keyboard
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 019: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 005: ID 413c:301a Dell Computer Corp. Dell MS116 USB Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I can also use gtkterm to see the startup operations so I am fairly sure the cable is connected properly. However when we try and flash we get
`artiq_flash -d strontium/
Design: top;COMPRESS=TRUE;UserID=FFFFFFFF;Version=2021.2
Part name: 7a100tfgg484
Date: 2022/08/10
Time: 17:57:22
Bitstream payload length: 0x2c4e94
Open On-Chip Debugger 0.11.0+dev-snapshot (2022-08-04-18:47)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6011, description 'Quad RS232-HS', serial '' at bus location ''
Traceback (most recent call last):
File "/nix/store/bxwlk55kz5c219fi2z8jdr1wvnq6c99a-python3.9-artiq-7.8116.eba143a/bin/.artiq_flash-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/l38r6mwmn9y98mbcly9412ibwmk0j5f4-python3-3.9.13-env/lib/python3.9/site-packages/artiq/frontend/artiq_flash.py", line 444, in main
programmer.run()
File "/nix/store/l38r6mwmn9y98mbcly9412ibwmk0j5f4-python3-3.9.13-env/lib/python3.9/site-packages/artiq/frontend/artiq_flash.py", line 204, in run
self.client.run_command(cmdline)
File "/nix/store/l38r6mwmn9y98mbcly9412ibwmk0j5f4-python3-3.9.13-env/lib/python3.9/site-packages/artiq/remoting.py", line 57, in run_command
subprocess.check_call([arg.format(tmp=self.tmp, **kws) for arg in cmd])
File "/nix/store/65h1mb8604dbw077762j702q6b8i0mpw-python3-3.9.13/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['openocd', '-s', '/nix/store/27cgygi8zcx05cfjmmybs04i8gdp2pnl-artiq-env/share/openocd/scripts', '-c', 'source [find board/kasli.cfg]; target create xc7.spi0.proxy testee -chain-position xc7.tap; flash bank spi0 jtagspi 0 0 0 0 xc7.spi0.proxy 0x2; gdb_port disabled; tcl_port disabled; telnet_port disabled; init; xadc_report xc7.tap; pld load 0 {/nix/store/27cgygi8zcx05cfjmmybs04i8gdp2pnl-artiq-env/share/bscan-spi-bitstreams/bscan_spi_xc7a100t.bit}; flash probe spi0; flash erase_sector spi0 0 44; flash write_bank spi0 {/tmp/artiq_8lxj3mln_top.bit} 0x0; flash verify_bank spi0 {/tmp/artiq_8lxj3mln_top.bit} 0x0; flash probe spi0; flash erase_sector spi0 64 65; flash write_bank spi0 {strontium/bootloader.bin} 0x400000; flash verify_bank spi0 {strontium/bootloader.bin} 0x400000; flash probe spi0; flash erase_sector spi0 69 80; flash write_bank spi0 {strontium/runtime.fbi} 0x450000; flash verify_bank spi0 {strontium/runtime.fbi} 0x450000; xc7_program xc7.tap; exit']' returned non-zero exit status 1.`
I believe this is telling me that it cannot find the device which conflicts with the lsusb output and gtkterm. I have tried multiple microusb cables and tried directly through the jtag on the board. Is there a special cable or something else we need? This is a problem on both a kasli we have been using and a new one from m-labs.
Any help would be appreciated.
Cheers!