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"
}
]
}
```