Just got keyboard and unable to flash

Hey there, I’m having some unfortunate beginner’s problems with my just received keyboard. Neither Chrysalis nor the Arduino IDE are able to flash the board. The error response I’m getting is the following:

Arduino: 1.8.10 (Mac OS X), Board: "Keyboardio Model 01"

Sketch uses 25010 bytes (87%) of program storage space. Maximum is 28672 bytes.
Global variables use 1338 bytes (52%) of dynamic memory, leaving 1222 bytes for local variables. Maximum is 2560 bytes.

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type = 
    Software Version = .; Hardware Version = .
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured

avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude: ser_close(): can't reset attributes for device: Device not configured

I’d be rather happy it someone were able to assist… I’ve already tried all sorts of combinations of when to press Prog with no luck.

Mac running Catalina 10.15.1

Edit: the keyboard works pretty normally otherwise as far as I can tell just plugged in and I’ve tried two different cables thus far.

According to this thread Flashing: SKETCH, LIBRARY, SOURCEDIR, and ROOT need to be set Catalina broke flashing on every ATMega32U4 based Arduino. So you won’t be able to program your keyboard before Apple pushes a fix for it.

If you have access to a windows or Linux machine there should be no problems flashing the keyboard.

2 Likes

I can confirm this. I got a new board (Loud Click) and was tearing my hair out trying to flash it, until I found these comments about Catalina. Worked fine on my High Sierra machine.

2 Likes

FYI, Catalina 10.15.2 which was released today fixed this issue.

1 Like