Can no longer flash: "programmer is not responding"

Hi.

Got it working. Here is what I did (for future generations of my heirloom).

Mostly got the info from this post Arch Linux: Arduino: Flashing firmware: Unresponsive keyboard (SOLVED) - #16 by mikekuehn

  1. Load latest firmware into Arduino IDE and use Sketch > Export compiled binary to get the latest firmware (1.96 in my case).
  2. Open a terminal and go to the folder with the compiled hex code in it (exports to the same folder as the source is in)
  3. sudo apt install avrdude
  4. Write this command into the terminal, but don’t press return yet (changing the filename.hex to your firmware file and making sure /dev/ttyACM0 is correct:

avrdude -patmega32u4 -cavr109 -D -P /dev/ttyACM0 -b57600 -Uflash:w:filename.hex:i

  1. Tap the reset button on the inside of the keyboard…
  2. …hit return on in the terminal

I didn’t use the Prog key, just the 10 second window that the hardware reset button gives you.

After that I can load up Chrysalis without issue.

1 Like