Arch Linux: Arduino: Flashing firmware: Unresponsive keyboard (SOLVED)

Jesse suggested that even the few seconds I was getting the keyboard recognized over USB would be enough to flash the firmware again with avrdude. It was! I just had to get the correct port.

  1. I have Arduino IDE open while I plug in the keyboard (holding prog key).
  2. Check the ports drop down in Arduino repeatedly to find the port, which only shows for a second.
  • The port is /dev/ttyACM0
  1. Get this command ready to go in the console:
    avrdude -patmega32u4 -cavr109 -D -P /dev/ttyACM0 -b57600 -Uflash:w:atmega32u4_firmware.hex:i
  2. Plug in keyboard again (holding prog key) and run command immediately.
  3. Found programmer. Writing flash. Reading flash. Success!

Typing this on the keyboard right now! :smile:

6 Likes