I have flashed the Phaser in the crate with the phaser_drtio firmware, and the Kasli-SoC has also been flashed with a version that supports phaser_drtio. I can successfully ping the device, but after running artiq_session, I encounter the following error:
geyunrui@geyunruideMacBook-Pro uq4_phaser_drtio % uv run artiq_session
<session> starting master
<master> ARTIQ master is now ready.
<session> starting controller manager
<ctlmgr> ARTIQ controller manager is now running.
<ctlmgr> ERROR:controller(core_log):artiq.frontend.aqctl_corelog:Logging connection terminating with exception
<ctlmgr> Traceback (most recent call last):
<ctlmgr> File "/Users/geyunrui/PycharmProjects/ionctrl_workspace/uq4_phaser_drtio/.venv/lib/python3.13/site-packages/artiq/frontend/aqctl_corelog.py", line 72, in get_logs
<ctlmgr> levelname = m.group(1)
<ctlmgr> ^^^^^^^
<ctlmgr> AttributeError: 'NoneType' object has no attribute 'group'
<master> ERROR:controller(core_log):artiq.frontend.aqctl_corelog:Logging connection terminating with exception
<master> Traceback (most recent call last):
<master> File "/Users/geyunrui/PycharmProjects/ionctrl_workspace/uq4_phaser_drtio/.venv/lib/python3.13/site-packages/artiq/frontend/aqctl_corelog.py", line 72, in get_logs
<master> levelname = m.group(1)
<master> ^^^^^^^
<master> AttributeError: 'NoneType' object has no attribute 'group'
<ctlmgr> WARNING:ctlmgr(geyunruideMacBook-Pro.local):artiq_comtools.ctlmgr:Controller core_log exited
<ctlmgr> WARNING:ctlmgr(geyunruideMacBook-Pro.local):artiq_comtools.ctlmgr:Restarting in 5.0 seconds
<master> WARNING:ctlmgr(geyunruideMacBook-Pro.local):artiq_comtools.ctlmgr:Controller core_log exited
<master> WARNING:ctlmgr(geyunruideMacBook-Pro.local):artiq_comtools.ctlmgr:Restarting in 5.0 seconds
<session> starting dashboard
<dashboard> INFO:dashboard:root:ARTIQ dashboard 9.0+unknown connected to master localhost
<dashboard> INFO:dashboard:artiq.dashboard.moninj:ARTIQ dashboard connected to moninj (localhost)
<dashboard> INFO:dashboard:artiq.dashboard.waveform:ARTIQ dashboard connected to analyzer proxy (localhost)
<ctlmgr> WARNING:controller(core_log):firmware.runtime.mgmt:connection terminated: NetworkError(Truncated)
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.rtio_mgt.drtio:[LINK#4] ping failed
<ctlmgr> ERROR:controller(core_log):firmware.runtime.moninj.remote_moninj:aux packet error (aux packet error)
Below is our device description JSON file:
{
"target": "kasli_soc",
"min_artiq_version": "7.0",
"variant": "XXXXXX",
"hw_rev": "v1.1",
"base": "master",
"core_addr": "192.168.1.75",
"peripherals": [
{
"type": "dio",
"board": "DIO_SMA",
"ports": [0],
"bank_direction_low": "input",
"bank_direction_high": "output"
},
{
"type": "dio",
"board": "DIO_SMA",
"ports": [1],
"bank_direction_low": "output",
"bank_direction_high": "output"
},
{
"type": "urukul",
"dds": "ad9910",
"ports": [2, 3],
"clk_sel": 2
},
{
"type": "urukul",
"dds": "ad9910",
"ports": [4, 5],
"clk_sel": 2
},
{
"type": "phaser_drtio",
"gateware_variant": "mtdds",
"hardware_variant": "upconvertor",
"tones": 12,
"dds_bandwidth": 500e6,
"ports": [6]
}
]
}
Here are a few potential issues I am considering:
- In the JSON, "base": "master" — should this be replaced with "drtio_role": "master" for a DRTIO setup?
- My Phaser hardware is actually the baseband variant — I could rebuild the Kasli-SoC firmware for the baseband configuration, but I don’t think this is the main issue.
- Do I need to configure the routing table as described here?
https://m-labs.hk/artiq/manual/using_drtio_subkernels.html#configuring-the-routing-table
Any guidance or suggestions would be greatly appreciated.