Maker Pro
Maker Pro

Leonardo Pro Micro upload issue

bigone5500

Apr 9, 2014
712
Joined
Apr 9, 2014
Messages
712
I can connect my UNO, Mega, and Pro Mini and upload the blink sketch with no problems. When I connect my Leonardo Pro Micro, it shows up and I can select the board and port through the Arduino IDE. When I try to upload, I get this error:

Code:
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         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                    : COM5
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.


avrdude: ser_send(): write error: sorry no info avail
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I don't know why it is trying to use COM5. I have checked device manager and it is set to COM10. That is what shows up in the IDE too.
 
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
Just a few ideas:
The COM port is a virtual one, emulated to allow communication via the physical USB interface. The emulation requires a driver on the PC side. There could be an issue with avrdude trying to use an emulated COM port that is not the right one for the Leonardo.
The Leonardo micro seems to handle the serial interface in a different way than the other micros you named.
 

petercuenca

Jun 2, 2016
7
Joined
Jun 2, 2016
Messages
7
can you post here a screenshot of your device manager showing comm port detaila with the leonardo connected to your pc?
 

bigone5500

Apr 9, 2014
712
Joined
Apr 9, 2014
Messages
712
Here are some screen shots and a copy of preferences.txt:

LPM Device manager.jpg
LPM Adv settings.jpg
LPM Tools menu.jpg

Code:
board=leonardo
boardsmanager.additional.urls=
build.verbose=true
build.warn_data_percentage=75
compiler.warning_level=none
console=true
console.auto_clear=true
console.error.file=stderr.txt
console.length=500
console.lines=4
console.output.file=stdout.txt
custom_cpu=mega_atmega2560
editor.antialias=true
editor.caret.blink=true
editor.code_folding=false
editor.divider.size=2
editor.external=false
editor.font=Monospaced,plain,12
editor.indent=true
editor.invalid=false
editor.keys.alternative_cut_copy_paste=true
editor.keys.home_and_end_beginning_end_of_doc=false
editor.keys.shift_backspace_is_delete=true
editor.languages.current=
editor.linenumbers=false
editor.save_on_verify=false
editor.tabs.expand=true
editor.tabs.size=2
editor.update_extension=true
editor.window.height.default=600
editor.window.height.min=290
editor.window.width.default=500
editor.window.width.min=400
export.applet.separate_jar_files=false
export.application.fullscreen=false
export.application.platform=true
export.application.stop=true
export.delete_target_folder=true
gui.scale=auto
last.folder=G:\Documents\Arduino\Projects\Capacitor Tester\Capacitor Tester - LCD Output I2C\Capacitor_Tester_-_LCD_Output_I2C\Capacitor_Tester_-_LCD_Output_I2C.ino
last.ide.1.6.6.daterun=1458648802
last.ide.1.6.6.hardwarepath=C:\Program Files (x86)\Arduino\hardware
last.ide.1.6.8.daterun=1464999733
last.ide.1.6.8.hardwarepath=C:\Program Files (x86)\Arduino\hardware
last.ide.1.6.9.daterun=1465508687
last.ide.1.6.9.hardwarepath=C:\Program Files (x86)\Arduino\hardware
last.screen.height=1080
last.screen.width=1920
last.serial.location=0,0,655,371
last.sketch.count=1
last.sketch.default.location=-4,-4,1928,1054,481,6
last.sketch.default.path=C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
last.sketch0.location=-4,-4,1928,1054,481,6
last.sketch0.path=C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
last.sketch1.location=-4,-4,1928,1054,836,6
last.sketch1.path=G:\Documents\Arduino\Projects\Capacitor Tester\Capacitor Tester - LCD Output I2C\Capacitor_Tester_-_LCD_Output_I2C\Capacitor_Tester_-_LCD_Output_I2C.ino
last.sketch2.location=-4,-4,1928,1054,836,6
last.sketch2.path=G:\Documents\Arduino\Projects\Capacitor Tester\Capacitor Tester - LCD Output I2C\Capacitor_Tester_-_LCD_Output_I2C\Capacitor_Tester_-_LCD_Output_I2C.ino
platform.auto_file_type_associations=true
preproc.color_datatype=true
preproc.enhanced_casting=true
preproc.imports.list=java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.*
preproc.output_parse_tree=false
preproc.save_build_files=false
preproc.substitute_floats=true
preproc.substitute_unicode=true
preproc.web_colors=true
programmer=arduino:avrispmkii
proxy.manual.hostname=
proxy.manual.password=
proxy.manual.port=
proxy.manual.type=HTTP
proxy.manual.username=
proxy.pac.url=
proxy.type=auto
recent.sketches=C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino,C:\Program Files (x86)\Arduino\examples\01.Basics\Fade\Fade.ino,G:\Documents\Arduino\Projects\Capacitor Tester\Capacitor Tester - LCD Output I2C\Capacitor_Tester_-_LCD_Output_I2C\Capacitor_Tester_-_LCD_Output_I2C.ino,F:\Documents\Arduino\Projects\Accelerometer LCD2004 I2C\Accelerometer_LCD2004_I2C\Accelerometer_LCD2004_I2C.ino,D:\My Documents\Arduino\libraries\Time\examples\TimeRTCSet\TimeRTCSet.ino,F:\Documents\Arduino\Projects\Temperature\Temperature - DS18B20\DS18B20 - LCD Output I2C\DS18B20_-_I2C\DS18B20_-_I2C.ino,C:\Program Files (x86)\Arduino\examples\06.Sensors\ADXL3xx\ADXL3xx.ino
run.display=1
run.options=
run.options.memory=false
run.options.memory.initial=64
run.options.memory.maximum=256
run.present.bgcolor=#666666
run.present.exclusive=false
run.present.stop.color=#cccccc
serial.databits=8
serial.debug_rate=9600
serial.parity=N
serial.port=COM10
serial.port.file=COM10
serial.port.iserial=null
serial.stopbits=1
sketchbook.path=D:\My Documents\Arduino
software=ARDUINO
target_package=arduino
target_platform=avr
update.check=true
update.id=6922138667809720905
upload.using=bootloader
upload.verbose=true
upload.verify=true
 

bigone5500

Apr 9, 2014
712
Joined
Apr 9, 2014
Messages
712
Ok. I had an idea. I disabled the two bluetooth link (com5 and com7). The upload failed before and after disabling the two, it worked. So now I have to figure out why there is a conflict.

Maybe I can change the COM of those and it will work: stay tuned...

*edit*

I changed the COMs to 15 and 17 respectively. It now works with all enabled.

Thanks for your efforts guys!
 
Top