Well, dang. I took the left enclosure off, and I’m pressing the reset button, but I can’t get my keyboard to work again at all. I’ve tried several different orders of operation for hitting the reset button, hitting the upload button, and hitting the prog button – it all comes to naught though.
Procedure:
- in Arduino GUI, go to File => Examples => Keyboard IO => Model 01 Firmware
- With left enclosure removed, depress then release the little white button. The red light behind the prog button comes on.
- Hit the right-arrow in arduino UI that means 'upload’
The red light for the prog key goes out; the blue light under the LED key goes on briefly, then goes off.
about another 1min goes by, ending with the selected serial port does not exist or your board is not connected
.
Complete output from upload:
Sketch uses 18972 bytes (66%) of program storage space. Maximum is 28672 bytes.
Global variables use 1941 bytes (75%) of dynamic memory, leaving 619 bytes for local variables. Maximum is 2560 bytes.
Low memory available, stability problems may occur.
Forcing reset using 1200bps open/close on port /dev/cu.usbmodemCkbio01
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodemCkbio01, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodemCkbio01, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodemCkbio01, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodemCkbio01, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodemCkbio01, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodemCkbio01, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/tty.Bluetooth-Incoming-Port, } => {}
PORTS {/dev/cu.Bluetooth-Incoming-Port, /dev/tty.Bluetooth-Incoming-Port, } / {/dev/cu.Bluetooth-Incoming-Port, /dev/cu.usbmodemCkbio01, /dev/tty.Bluetooth-Incoming-Port, /dev/tty.usbmodemCkbio01, } => {/dev/cu.usbmodemCkbio01, /dev/tty.usbmodemCkbio01, }
Found upload port: /dev/cu.usbmodemCkbio01
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/cu.usbmodemCkbio01 -b57600 -D -Uflash:w:/var/folders/2b/p4bk_ptx31n2578xq79ktnzc0000gn/T/arduino_build_182967/Model01-Firmware.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/ben/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodemCkbio01
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .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: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type = (
Software Version = .�; Hardware Version = .
avrdude: butterfly_recv(): programmer is not responding
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: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
the selected serial port
does not exist or your board is not connected
and yet, i can’t send keypresses; the one thing that seems to work is changing LED mode.
How can I get back to factory state? I saw @jesse’s thread Flashing problem on Ubuntu (SOLVED) but that is both off the cuff and perhaps linux specific.
I’m using OS X 10.13.1.