# After flashing on os x, no keypresses sent

**URL:** <https://community.keyboard.io/t/after-flashing-on-os-x-no-keypresses-sent/815>\
**Category:** Programming\
**Tags:** question\
**Created:** [December 1, 2017, 2:00am UTC](https://community.keyboard.io/t/after-flashing-on-os-x-no-keypresses-sent/815 "2017-12-01T02:00:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Benji](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/benji/32/355_2.png) [@Benji](https://community.keyboard.io/u/Benji)\
**Post date:** [December 1, 2017, 2:52am UTC](https://community.keyboard.io/t/after-flashing-on-os-x-no-keypresses-sent/815/3 "2017-12-01T02:52:42Z")

</div>

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:

1. in Arduino GUI, go to File =\> Examples =\> Keyboard IO =\> Model 01 Firmware
2. With left enclosure removed, depress then release the little white button. The red light behind the prog button comes on.
3. 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:

```auto
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)](https://community.keyboard.io/t/flashing-problem-on-ubuntu-solved/628/13?u=benji) but that is both off the cuff and perhaps linux specific.

I’m using OS X 10.13.1.

---

_[View the full topic](https://community.keyboard.io/t/after-flashing-on-os-x-no-keypresses-sent/815)._
