Ubuntu 22.04: avrdude: stk500_recv(): programmer is not responding

Hey!

So just checking in on if anyone got any ideas on how to solve the famous:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Issues is present on ubuntu 22.04 (I'm running an dell xps 9305 if that is of relevance).

This is what I have done so far.

  1. Verified that the Arduino Nano and the usb cable work by testing an upload on a windows machine.

  2. Verified that the board, programmer, processor are correctly selected. They are curently set to Arduino Nano, AVRISP MKII and then the processor is set to Atmega328P (this works on windows).

  3. Verified that the port is correct, it is set to /dev/ttyACM0.
    crw-rw----+ 1 root dialout 166, 0 aug 27 18:04 /dev/ttyACM0

  4. I've tried reinstalling the IDE, reboot, disconnect the board/usb and wait for a while, use the reset button etc. Nothing seems to fix the issue, i still get the error.

Might be worth noting that the apt-get installation does not work, the IDE cant start afterwards. So I did the installation using snap instead, but this should not be an issue I suspect.

Anyone got any further ideas on this?

Br

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.