I just started this adventure and found that I could not upload my sketch without the error "An error occurred while uploading the sketch..." I am using the latest version 1.8.12 It would compile quick enough but then reported errors...
I was showing my 10 year old grandson how to get started and failed right out of the box... my next lesson was to find the solution by asking others who have experienced this before. I found a video by someone who find a simple solution I just HAD to share.
Solution ) Why Arduino Nano NOT Uploaded (2019) | How to Upload avrdude: stk500_getsync() - YouTube - Giving EunChan Park credit here...
Solution - SELECT Tools/Processor;/ATmega328P (Old Bootloader) Using this bootloader solved the issue.
1 Like
How kind are your words... I did search the forum using the same string on the error and saw only posts from 2016 .. no clear fix... If fixed a thousand times why then has the code not been fixed...? I joined the forum after I found the fix elsewhere.
Why then does THIS Nano 3.0 just purchased require require I set the old bootloader. Why cannot the software code communicate with the device and determine what version device I am using and preset the bootloader for that processor-version? Obviously this was not included in the design. The error code I received referred me to this link... "https://www.arduino.cc/en/Guide/Troubleshooting#upload" and I did not find mention of this issue but rather a generic instruction - not helpful. If the code cannot determine the need for an older bootloader then perhaps the referred site given on error... can have a listing of uploading issues and solutions compiled in one place. The quickest way to solve a "known" issue should be the goal... especially for beginners whom we are all trying to encourage to learn.
True but that is why I simply placed a clear quick solution on this forum with the desire to help others seeking same. Just trying to help...