SparkFun Forums 

Where electronics enthusiasts find answers.

#208362
Hi,

I've followed all the steps to install drivers, install arduino, download latest firsmware etc. However, when I try to upload firmware to the device, the arduino program decides to send to one com port higher than the one that is set in settings, and then complains that the device isn't plugged in. This is consistent behaviour accross the last 3 usb port I tried plugging the device into.

Full readout for the upload looks like this:
Moderator edit to add code tags
Code: Select all
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "SparkFun MaKey MaKey"

Sketch uses 8574 bytes (29%) of program storage space. Maximum is 28672 bytes.
Global variables use 593 bytes of dynamic memory.
Forcing reset using 1200bps open/close on port COM7
PORTS {COM7, } / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {} => {}
PORTS {} / {COM8, } => {COM8, }
Found upload port: COM8
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM8 -b57600 -D -Uflash:w:C:\Users\jonat\AppData\Local\Temp\arduino_build_389803/makey_makey_1_4_2.ino.hex:i 

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM8
         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: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% -0.00s

avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file "C:\Users\jonat\AppData\Local\Temp\arduino_build_389803/makey_makey_1_4_2.ino.hex"
avrdude: writing flash (8574 bytes):

Writing | ################################################## | 100% 0.09s

avrdude: 8574 bytes of flash written
avrdude: verifying flash memory against C:\Users\jonat\AppData\Local\Temp\arduino_build_389803/makey_makey_1_4_2.ino.hex:
avrdude: load data flash data from input file C:\Users\jonat\AppData\Local\Temp\arduino_build_389803/makey_makey_1_4_2.ino.hex:
avrdude: input file C:\Users\jonat\AppData\Local\Temp\arduino_build_389803/makey_makey_1_4_2.ino.hex contains 8574 bytes
avrdude: reading on-chip flash data:

An error occurred while uploading the sketch
Reading | ################################################## | 100% 0.09s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x00 != 0x0c
avrdude: verification error; content mismatch

avrdude done.  Thank you.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
#208411
Hi manhippo.

Not sure what's causing the verification error, but the change in COM ports is normal for a 32U4 based board like the Makey Makey.

You might try rolling back to an earlier version of Arduino and using the downloadable version rather than the Windows store version to see if that helps. If not, give a different computer a try and if that still doesn't work, it might be that the micro controller on your Makey Makey has been damaged.