[Arduino Micro Pro] Arduino is disconnecting while uploading. Leds are blinking

Solution:

The testsketch i uploaded always overwrote the bootloader. what you have to do is: burn the bootloader from sparkfun, and dont upload any program via iscp again. then you can use it via usb. nice! :slight_smile:

Hi,
ive got some issues with my arduino micro pro. I bought if from ebay, the cheap 5V version.

First my cable was not working and i wondered, why windows doesnt recognize it at all. The cable only had power supply i found out later.
Thatswhy i used my uno to programm it. i also burned the bootloader again. (software from sparkfun, 5V version) everything worked well, just via the uno. i programmed a little blink sketch with pin number 8.

Now i connected the micro to my pc via the usb cable. I installed the drivers and selected the micro pro from sparkfun in the ide.
I follow this instruction: Pro Micro & Fio V3 Hookup Guide - SparkFun Learn

But if i try to upload the code i get this error:

Binary sketch size: 6,244 bytes (of a 28,672 byte maximum)
Forcing reset using 1200bps open/close on port COM15
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM15, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, 
COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
PORTS {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } / {COM1, COM7, COM8, COM10, COM11, COM12, COM13, COM14, COM20, COM21, COM22, } => {}
processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected.  If it is correct, try pressing the board's reset button after initiating the upload.
	at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:153)
	at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
	at processing.app.Sketch.upload(Sketch.java:1671)
	at processing.app.Sketch.exportApplet(Sketch.java:1627)
	at processing.app.Sketch.exportApplet(Sketch.java:1599)
	at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
	at java.lang.Thread.run(Thread.java:619)

As you can see after a while the com 15 (the arduino) disconnects from my pc. but the rx and tx led still continue to blink like crazy. then i have to disconnect the cable.

I tried another usb port, i tried restarting my pc, i tried resetting the arduino with a tab and double tab and all that stuff, i tried to start the ide with admin privilegs, i tried older versions of the micro pro software addon, but they didnt work at all. im using the current ide 1.0.5-r2
I also tried the 3v version and the normal micro. not working. im not sure, the datasheet sais i have to close j1 for 5v. but i bought a 5v version and its not closed. not sure if they ignored that, its a china version. i also tried to connect it with a cable, doesnt help too.

I read through forums and so on, but i couldnt find anything that would help. but my blinking programm at pin 8 is still working...

what should i do now? (i dont wanna remore all wires from my uno and reprogramm it. but if needed i have to... but not sure if this would help me)

edit: i also tried the very old bootloader now from here:

i can upload programm via the uno, but not via usb directly
with usb i get this with the old drivers and addon:

Binary sketch size: 4,344 bytes (of a 28,672 byte maximum)
C:\Program Files (x86)\Arduino\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega32u4 -carduino -P\\.\COM15 -b1200 -D -Uflash:w:E:\Temp\build8167665066878631441.tmp\Blink.cpp.hex:i 

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM15
         Using Programmer              : arduino
         Overriding Baud Rate          : 1200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20]

it stays like this but the micro is still blinking my blinking programm. i have to disconnect it then
i uploaded the hello world sketch for the micro and it is defenatly responding with hello world

Oh yeah! Datalink from the chat helped me out with this. I want to mention the solution, and say sorry that this is only a monolog with double posts. but i never found this anywhere in the web, so maybe it would help some people who came here with google.

The testsketch i uploaded always overwrote the bootloader. what you have to do is: burn the bootloader from sparkfun, and dont upload any program via iscp again. then you can use it via usb. nice! :slight_smile:

Hello NicoHood, where did you get the bootloader exactly, do you have any links? And How did you write the bootloader? Thanks a lot!