I followed the LED script and got this error message.

`Traceback (most recent call last):
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/master/worker_db.py", line 88, in get
dev = _create_device(desc, self)
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/master/worker_db.py", line 27, in _create_device
return device_class(device_mgr, **desc.get("arguments", {}))
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/coredevice/core.py", line 82, in init
raise ValueError("Unsupported target")
ValueError: Unsupported target

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/nix/store/y4kfih5c2v9cdj36581wrnadklcx310a-python3.9-artiq-6.7665.83af3b75/bin/.artiq_run-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 224, in main
return run(with_file=True)
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 210, in run
raise exn
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 201, in run
exp_inst = _build_experiment(device_mgr, dataset_mgr, args)
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 187, in _build_experiment
return get_experiment(module, args.class_name)(managers)
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/language/environment.py", line 244, in init
self.build(*args, **kwargs)
File "idle_kernel.py", line 6, in build
self.setattr_device("core")
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/language/environment.py", line 328, in setattr_device
setattr(self, key, self.get_device(key))
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/lib/python3.9/site-packages/artiq/language/environment.py", line 321, in get_device
return self.__device_mgr.get(key)
File "/nix/store/9pbjgdhnf06f8cgp6yxzvazlry23dcqy-python3-3.9.12-artiq-env-6.7665.83af3b75/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 'core'

`

Use the correct ARTIQ software major version (6 or 7) to match the device database and what was flashed.

@sb10q
It is already the artiq-env-6.7 version

I cannot run the nix-shell right now. Is this could be the problem?
Or Is python 3.9 could be a problem?

    jmlee It is already the artiq-env-6.7 version

    The major version is 6. But it looks like you're using a database and perhaps firmware for 7.

    Then, what should I have to do...?

    sb10q
    Do you mean following the manual to install the SW for nix?