Hi. So far I was using a Fastino with two sma-dio with a kasli-soc and everything was working fine. Now I added a second fastino and another sma-dio card following the same standard procedure (declaration of all cards, creation of new firmware...).
The new sma-dio card works, as well as the old cards. However, the new fastino card does not respond. There are lights but I do not manage to send any signal. I have had similar problems in the past with a single fastino, but by turning off and on the power supply for some seconds the problem used to be solved. Am I supposed to do something else? I am certain that the slots on the kasli-soc are correct, as well as the card versions.

I am using EEM0 for SMA-DIO, EEM1 for one Fastino, EEM2 for another SMA-DIO, EEM3 for another Fastion and EEM4, EEM5 for two more SMA-DIOs.

10 days later

I have tried around and the only thing I managed is to recover the Fastino from EEM1.

  • Edited

This is what I use to create the standalone sd flash. I put it in the kasli-soc and create the device_db.py based on it:
artiq_ddb_template -o device_db.py default.json
The connections on the Kasli-soc are EEM_i with i the port stated in the .json file.
Right now, I can control the kasli-soc (I could turn off and on an LED for example).
SMA-DIO from port 2 has lights but I cannot control it. Furthermore, the signal is an ugly sinusoid between 0 and 4V.
SMA-DIO from ports 3, 4 do respond correctly.
Fastinos have lights but do not respond.

Is there a certain order in the EEM ports of the kasli-soc? Else I do not know what could be wrong. All is updated to the latest working version and cables and version cards have been double checked.
It must be the firmware. But I do not know exactly where I am messing up:

{
    "target": "kasli_soc",
    "variant": "default",
    "hw_rev": "v1.1",
    "base": "standalone",
    "core_addr": "129.129.209.36", 
    "peripherals": [
        {
            "type": "fastino",
            "hw_rev": "v1.2",
            "ports": [0],
            "log2_width": 1
        },
        {
            "type": "fastino",
            "hw_rev": "v1.2",
            "ports": [1],
            "log2_width": 1 
        },
        {
            "type": "dio",
            "board": "DIO_SMA",
            "hw_rev": "v1.4",
            "ports": [2],
            "bank_direction_low": "output",
            "bank_direction_high": "output"
        },
        {
            "type": "dio",
            "board": "DIO_SMA",
            "hw_rev": "v1.4",
            "ports": [3],
            "bank_direction_low": "output",
            "bank_direction_high": "output"
        },
        {
            "type": "dio",
            "board": "DIO_SMA",
            "hw_rev": "v1.4",
            "ports": [4],
            "bank_direction_low": "output",
            "bank_direction_high": "output"
        }
    ]
}
```