Hi,
I ran into a problem with with my Sinara system (Kasli 2 core, running ARTIQ 7.8): while some cards like the Zotino are recognized and can execute experiments, when I tried to include the Sampler, the system returned error messages stating that device creation of the Sampler module has failed. For example, when running coremgmt log and sinara_tester, the terminal output reads:
~/Artiq/NIXfolder$ artiq_coremgmt log
[ 0.000015s] INFO(runtime): ARTIQ runtime starting...
[ 0.003947s] INFO(runtime): software ident 7.8185.cc81464;luh5
[ 0.009877s] INFO(runtime): gateware ident 7.8185.cc81464;luh5
[ 0.015821s] INFO(runtime): log level set to INFO by default
[ 0.021544s] INFO(runtime): UART log level set to INFO by default
[ 0.179776s] INFO(runtime::rtio_clocking): using internal 125MHz RTIO clock
[ 0.454949s] INFO(board_artiq::si5324): waiting for Si5324 lock...
[ 6.303538s] INFO(board_artiq::si5324): ...locked
[ 6.332699s] INFO(runtime): network addresses: MAC=e8-eb-1b-45-75-90 IPv4=130.75.103.113 IPv6-LL=fe80::eaeb:1bff:fe45:7590 IPv6=no configured address
[ 6.346645s] INFO(runtime::mgmt): management interface active
[ 6.373214s] INFO(runtime::session): accepting network sessions
[ 6.386416s] INFO(runtime::session): running startup kernel
[ 6.390889s] INFO(runtime::session): no startup kernel found
[ 6.396696s] INFO(runtime::session): no connection, starting idle kernel
[ 6.403522s] INFO(runtime::session): no idle kernel found
[ 148.364103s] INFO(runtime::mgmt): new connection from 130.75.103.197:38694
and
_`~/Artiq/NIXfolder$ artiq_sinara_tester
Traceback (most recent call last):
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/master/worker_db.py", line 88, in get
dev = _create_device(desc, self)
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/master/worker_db.py", line 27, in _create_device
return device_class(device_mgr, **desc.get("arguments", {}))
TypeError: init() got an unexpected keyword argument 'hw_rev'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/nix/store/fivwbcib2plpanf0vv4dn0zmvx78kwih-python3.9-artiq-7.8187.329c5c1/bin/.artiq_sinara_tester-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/frontend/artiq_sinara_tester.py", line 786, in main
experiment = SinaraTester((device_mgr, None, None, None))
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/language/environment.py", line 243, in init
self.build(*args, **kwargs)
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/frontend/artiq_sinara_tester.py", line 83, in build
self.samplers[name] = self.get_device(name)
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/language/environment.py", line 320, in get_device
return self.__device_mgr.get(key)
File "/nix/store/jy453js9jl82q10f5n9dg9nkswcmy6yv-python3-3.9.16-env/lib/python3.9/site-packages/artiq/master/worker_db.py", line 90, in get
raise DeviceError("Failed to create device '{}'"
artiq.master.worker_db.DeviceError: Failed to create device 'sampler0'`_
On the Sampler card itself, two LEDs are active, so the module seems to be supplied with power.
I am not sure if this is related to the issue or a separate problem, but the device_db as created using the json file supplied by QUARTIQ with the device didn't work out of the box. First, I had to uncomment these two lines:
#"analyzer_proxy": "core_analyzer",
#"satellite_cpu_targets": {}
After that I could implement TTL pulses and ramps on different channels of the Zotino.
Has anybody else seen a problem like that? Any advice is greatly appreciated.