artiq_flash has an -I preinit-command option. the help message mentions this can be used for selecting boards when multiple are connected. so this is exactly my case, but my OpenOCD is not even closely enough to understand what I need to put there. so far the internet was not very helpful either. does anyone know how to use -I with multiple kasli's connected?

-I 'ftdi_serial Kasli-v1.1-42' assuming your supplier actually sets proper serial numbers.

    rjo thanks! silly follow up, how do I find that serial number?

    also, seems that openocd is deprecating ftdi_serial ... in favor of ftdi serial ... based on the warning message it emits.