1. Please check the core device log using artiq_coremgmt, which should contain information about why the connection was dropped.
  2. If you are unable to ping, there may be some problems with your network.
  3. You are using the wrong device database and nothing will work until you replace it; you should have the correct one on the USB stick that came with your device.

I found the pendrive in the package and used the same device_db.py [Done]
I am able to ping my device by adjusting my router [Done]
I tried to run "artiq_coremgmt" and got the result:

I tried to resolve the issue by using the documentation below:

I am still able to ping the device but when tried I tried previous command: "artiq_coremgmt --device-db device_db.py log" gives really wiered result.

I think I messed up something 🙁
Please guide me through this

Please remove the startup and/or idle kernels, which have nothing to do with the problem.

What code are you trying to run?

I was trying to run simple LED on/off code to check if I am able to program the system.

Can you please guide me on how to remove idle.elf from the flash storage? I am worried if I will mess it up again.

Using command:

artiq_coremgmt config erase

I am able to erase flash storage. It seems idle file loaded is removed now. Then I cleared logs to see the log result clearly and here's the result.

But I am not able to figure out what the issue now.

I am just trying to run led on/off code as shown below:

from artiq.experiment import *
class LED(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("led0")

@kernel
def run(self):
self.core.reset()
self.led0.on()

I am using same device_db.py which was on pendrive.

Now, another issue arose:

I am unable to ping the device back. Although I am able to see it on the network. SFP0 LED is glowing.

I am not sure but may be I used "artiq_coremgmt config erase" might have caused the problem.

PS: I am also working on the issue. But I have also one doubt that if I erase flash would that affect the connection as it is happening with me? Is there any way I can restore everything to default?

If I understand it correctly, you erased the flash storage and could then execute the LED experiment with the error, correct? Did you try the fix mentioned in the forum post I linked and if so, did it work? What other steps have you taken in-between your last two posts (i. e. power-cycled the Kasli, executed experiments, flashed the firmware)? It can also be very helpful, if you can see the output on the serial monitor (USB connection) with a terminal program such as PuTTY. If there are any errors on the ARTIQ device, you can also see them there and sometimes get more info. On power-cycle you should see the Misoc logo, then the serial connection is set up correctly.

    If I understand it correctly, you erased the flash storage and could then execute the LED experiment with the error, correct?

    Yes.

    Long story short, earlier I was able to ping the Kasli but as soon as erased the flash and power-cycled (turned on-off) I was not able to reconnect back to the board.

    Did you try the fix mentioned in the forum post I linked and if so, did it work?

    Yes, I tried but as soon I corrected the code. I lost the connection.

    What other steps have you taken in-between your last two posts (i. e. power-cycled the Kasli, executed experiments, flashed the firmware)?

    I have just tried to execute the led code (which didn't work). I tried to solve the kernel issue, where I think I messed up the flash memory and tried to solve it by clearing flash. Then I power-cycled the system. After that I was not able to connect to the system.

    Now I'll try to to see log from USB. Report them asap.

    Thanks for the prompt reply sb10q

      apoorav_singh After that I was not able to connect to the system.

      Most likely the erase command deleted the IP address setting and it is now the Kasli hardware default, 192.168.1.70.

      Thanks steine01 Solution you recommended worked! 🙂

      I was able to note-down the new IP from the USB communication port after a power cycle.

      But just to add, IP was 192.168.1.86 , Hope it is not an anomaly.

      But the Red light [ERR] on Fastino DAC is still on. Is it normal?

      Thanks.

        apoorav_singh But the Red light [ERR] on Fastino DAC is still on. Is it normal?

        Just initialize Fastino in a kernel, and it should turn off.

        apoorav_singh But just to add, IP was 192.168.1.86 , Hope it is not an anomaly.

        I see you're actually running ARTIQ-8 firmware - the default is DHCP there so this looks normal.