-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Windows 10 64Bit, Arduino 1.6.10 upload issue. #5173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just tested a clean install of 1.6.10 on both Win10 and WinXP, the upload works on both when double clicking an ino file. The mystery here is why it works when the IDE is started manually. Maybe the file association points to another installation of the IDE? |
I am having the same issue with 1.6.10. I get the "An error occurred while uploading the sketch" if I open the file from explorer, but if I ope the IDE first (the IDE is automatically opening the recent file) it then programs cleanly. I'm using a fresh install of W10 and clean install of 1.6.10 (no previous versions on this machine). Don't know what I can add, just confirming the issue. |
I think I found it! For anyone who have error when starting IDE via file and it works when starting IDE via desktop shortcut, open properties of this shortcut and delete "Start in", you will see the error. Error occurs, because when opening IDE via file, there is no "start in folder" property. Problem will be that IDE is not detecting folder from where it was started, or some functions related to opening COM port do not use path where is IDE stored and try open some files with relative path. Of course when "path" is C:\windows they will fail. For you facchinm I think you have some path in system's PATH variable, which we do not have. |
I have solved. It Avrdude's error. I copy worked avrdude from another version into /avr/bin and avrdude.conf. Everything done on 1.6.12. |
Is this happening only with 1.6.10 or with 1.6.9 too? |
@cmaglie There are ~15(it's possible that some of the reports here are the same users from the forum, I know Krosik is so I didn't double count him) reports of this issue that were solved by opening the sketch via the IDE instead of opening the sketch directly. Of the 15 there are 3 that didn't state which IDE version they're using. Every other report was using Arduino IDE 1.6.10, no reports stated they were using Arduino IDE 1.6.9. |
Found it at last, |
this uploading was ok with 1.6.9, problem is with 1.6.10, I just tried run it with debug mode, but no more details about this error. Simple way to reproduce this error (for us where it appears) is delete "start in" path from arduino shortcut on desktop. running arduino via .ino file is just the same - arduino is not started from the folder where it is, just the .exe is called. with hourly build 2016/08/05, i can not upload sketch by any way
|
Also having this issue on ide1.6.10, win10 and an uno |
Yes fresh install of 1.6.10 double click on MySketch.ino file and it fails to upload to my uno board. Load the IDE, load the same file Lee |
This is solved in IDE 1.6.11. Please reopen if the issue persists. |
Tracking the build issue here: arduino/avrdude-build-script#3 |
Make sure your port under Tools>Port is COM3(Arduino/Genuino Uno). I am using the latest while writing this solution v1.6.11 |
Hi, i have been pulling out my hair with this problem. Arduino Idl 1.6.10, I have many boards, Mega, Leonardo, Due, Uno, Sparkfun Photon Red board and Standard SparkFun Red board. So all function only sometimes and serial monitor does not work. I have also tried numerous types of cables to test. What i have found is my cable for my external hard drive with 2 USB port "power / data" works every time! I believe that during the upload phase the board is undervoltage at some point causing the fault. Try uploading with an external power supply connected. or with a Y usb cable |
I have bought Rasberry pi from Rasberry Pi in Pakistan and it has USB (and ethernet) which is not working.. i am confuse i can't understand that is my software is too old or there is a SD card issue NOOBS issue... |
If the IDE is launched by clicking on an .ino it does not appear possible to then 'upload' the compiled code to any of the Arduinos that I tested ( uno & mega ) . If however, the IDE is launched on its own and the .ino is then loaded ... compilation & uploading will then work,
The text was updated successfully, but these errors were encountered: