First Pro Micro 5V - can't upload or something

Hello,

i’m very new to this whole thing. Yesterday i received my first SparkFun Pro Micro 5V.

I spent more or less whole day (after work) messing with Arduino IDE upload problems. Main problem was, my Pro Micro was disconnected after few seconds every time i plugged it in USB.

Today i tried uploading “empty” sketch (few times). Setup() and Loop() are empty (BareMinimum), so now it stays connected. But if i try to upload “Blinky, Hello World” sketch from learn.sparkfun.com website, then i it starts disconnecting after few seconds again. Or uploading “Blink” sketch from Arduino IDE.

I attached screenshot of Arduino IDE Tools Menu, where you can see i have selected correct Board/Processor/etc. I’m not sure about programmer. Like i said i’m new.

And here is also output from Arduino IDE after uploading “BareMinimum” sketch. A bit more info might be helpful to figure out what is going on.

I used [ code ], because it displays it a bit better (readable). Last few lines sort of don’t make any sense to me. “avrdude: Device signature” etc. and “Wrong microcontroller …”.

Any help is appreciated.

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

         System wide configuration file is "/home/USER/Arduino/hardware/sparkfun/avr/avrdude.conf"
         User configuration file is "/home/USER/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         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.29s

avrdude: Device signature = 0x0d3f0d
avrdude: Expected signature for ATmega32U4 is 1E 95 87
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

Wrong microcontroller found.  Did you select the right board from the Tools > Board menu?

I guess i should create new post yesterday. Because by now i managed to get it to work,… somehow. :?

Sending “Hello world!” and blinking. :smiley:

After i posted second post i still had problems uploading.

And here is fix to my problems uploading (at least on Linux). Now is working as it should every time.

sudo systemctl stop ModemManager

Just in case others might need help/fix in future.