I've searched the internet for a while now and have seen similar problems to mine. However, I haven't found a solution yet.
I am trying to upload a sketch to an Arduino Micro, and I am using Mac OS X with a USB-B connected to the Arduino Micro. When I tried uploading the sketch onto an Arduino Uno, the code worked perfectly, but when I try to upload it to the Arduino Micro, I get the error message:
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:152)
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:680)
It says that it can't find a Leonardo even when I have "Arduino Micro" selected in Tools > Board. I have also tried uploading the code using different versions of the Arduino program as suggested in another thread (1.0.2, 1.0.3, 1.0.4, 1.0.5), but they all give the same error message.
Is there any way I can upload a sketch onto an Arduino Micro using what I have? If not, do I need a USBtinyISP or other accessories to do this?
Same problem here. I am using Ubuntu 12.04 64bit, MiniUSB B Cable to connect Computer to Arduino Micro. The port is
/dev/ttyACM0
The Tools/Serial Port was greyed out. So I did the following,
sudo chmod a+rw /dev/ttyACM0
The menu gets activated, and I click upload arrow. The menu is again greyed out. Plus it says,
Couldn't find a Leonardo.....
Binary sketch size: 4,830 bytes (of a 28,672 byte maximum)
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:701)
push
Exactly the same problem here:
The board is detected properly and it loads some stuff (LED blinking) but when finishing it spawns the error: Couldn't find a Leonardo..... Binary sketch size: 4,830 bytes (of a 28,672 byte maximum) 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:701)*
The usb cable connects is good.
yaptimmy:
I can't upload sketch to micro board via Bluetooth, but ok with USB pc.
A Arduino Micro can only be uploaded via the native USB port or ICSP; the latter requires a programmer Did you try to do it via the RX1 and TX1 pins? That is not going to work unless you hack the boot loader.