When attempting to run ./local_run.sh -i -b 192.168.1.75 I am receiving the error:

[rabi@artiq:~/artiq-zynq]$ ./local_run.sh -i -b 192.168.1.75
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'ftdi device_desc' not 'ftdi_device_desc'
DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'
DEPRECATED! use 'ftdi channel' not 'ftdi_channel'
DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'
Zynq CPU1.
DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6011, description 'Quad RS232-HS', serial '*' at bus location '*'

Im running nixos and am trying to boot my recently configured kasli-soc. I have both the artiq and artiq-zynq gits cloned.

I am attempting to do this over ethernet.

If anyone has an idea, or if there is more info I can offer, please let me know 🙂
thanks in advance 👍

Broken, charge-only, or missing USB cable.

    when running

    [rabi@artiq:~/artiq-zynq]$ artiq_netboot -g /home/rabi/artiq-zynq-build/gateware/top.bit -f /home/rabi/artiq-zynq/build/runtime.bin -b 192.168.1.75

    instead I get

    [rabi@artiq:~/artiq-zynq]$ artiq_netboot -g /home/rabi/artiq-zynq-build/gateware/top.bit -f /home/rabi/artiq-zynq/build/runtime.bin -b 192.168.1.75
    Traceback (most recent call last):
      File "/nix/store/02qsg3ibdd74mp6k32v9nspnpglssj0w-python3.12-artiq-netboot-unstable-2020-10-15/bin/.artiq_netboot-wrapped", line 9, in <module>
        sys.exit(main())
                 ^^^^^^
      File "/nix/store/1p64bxpdz1s7dnx6x1dnhqw8g56bj2d9-python3-3.12.8-env/lib/python3.12/site-packages/artiq_netboot/artiq_netboot.py", line 35, in main
        sock = socket.create_connection((args.hostname, 4269))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/nix/store/c9m6yd8fg1flz2j5r4bif1ib5j20a0cy-python3-3.12.8/lib/python3.12/socket.py", line 865, in create_connection
        raise exceptions[0]
      File "/nix/store/c9m6yd8fg1flz2j5r4bif1ib5j20a0cy-python3-3.12.8/lib/python3.12/socket.py", line 850, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused

    but I am both able to connect to my artiq system in my main experiment folder (from previous setup, not sure if this introduces any issues) and communicate with it.

    artiq_coremgmt -D 192.168.1.75 log
    [ 26306.527305s] INFO(runtime::mgmt): received connection
    rabi@artiq ~/p/01NOV2024>

    sb10q

    sorry do you mean the device is broken, or that the code is broken?

    Or am I supposed to use both usb and ethernet for this?

      hoogeroo Or am I supposed to use both usb and ethernet for this?

      Yes.

        sb10q

        [rabi@artiq:~/artiq-zynq]$ ./local_run.sh -i -b 192.168.1.75
        Open On-Chip Debugger 0.12.0
        Licensed under GNU GPL v2
        For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
        DEPRECATED! use 'ftdi device_desc' not 'ftdi_device_desc'
        DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'
        DEPRECATED! use 'ftdi channel' not 'ftdi_channel'
        DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'
        Zynq CPU1.
        DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'
        Info : clock speed 1000 kHz
        Info : JTAG tap: zynq.tap tap/device found: 0x1372c093 (mfg: 0x049 (Xilinx), part: 0x372c, ver: 0x1)
        Info : JTAG tap: zynq.dap tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)
        Info : zynq.cpu.0: hardware has 6 breakpoints, 4 watchpoints
        Info : zynq.cpu.1: hardware has 6 breakpoints, 4 watchpoints
        Info : zynq.cpu.1: MPIDR level2 0, cluster 0, core 1, multi core, no SMT
        Info : starting gdb server for zynq.cpu.0 on 3333
        Info : Listening on port 3333 for gdb connections
        Info : JTAG tap: zynq.tap tap/device found: 0x1372c093 (mfg: 0x049 (Xilinx), part: 0x372c, ver: 0x1)
        Info : JTAG tap: zynq.dap tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x4)
        Warn : zynq.cpu.0: ran after reset and before halt ...
        Error: timeout waiting for DSCR bit change
        Error: Error waiting for halt

        this looks a bit more promising

        Please read the documentation.