I've not used my Arduino for about 2 months. Before this time it worked fine, but now when I want to upload my program I get this error:
Couldn't find a Board 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.
I reset immediately after uploading but it doesn't work.What else should I do? I'm using Ubuntu and the Arduino IDE.
-
hackingmajenkoblog.wordpress.com/2016/08/24/…Majenko– Majenko2017年05月04日 12:50:33 +00:00Commented May 4, 2017 at 12:50
2 Answers 2
Checks:
- Check if the board has power (probably it will).
- Check if the board is shown at the ports in the IDE (i.e. COM3: Arduino Uno).
- Check if you put the correct board in the IDE (e.g. Uno, Mega etc.).
- Check if you have multiple versions of the IDE running.
- Check if you have multiple IDEs installed.
- Check if you don't have the RX pin used while uploading a sketch.
Try the following:
- Use a different USB port on your computer
- Use a different USB cable
- Reinstall the Arduino IDE
-
Apparently, I had two versions installed and I was launching the wrong one (Arduino Genuino). Thank youFazeleh– Fazeleh2017年05月04日 13:28:46 +00:00Commented May 4, 2017 at 13:28
-
You are welcome ... you also can change the board in the IDE (I will update my answer)Michel Keijzers– Michel Keijzers2017年05月04日 14:05:06 +00:00Commented May 4, 2017 at 14:05
I struggled with a failure to upload the Blink
program, with LED between #13 pin (+) and GND lead.
My solution was found by choosing other serial ports by stepping through the Serial Port options under the Tools menu
Selecting the correct port brought my new board to life!
-
Hi and welcome to Stack Exchange! How does this differ from the second point in the accepted answer?Greenonline– Greenonline2018年07月11日 16:47:35 +00:00Commented Jul 11, 2018 at 16:47
-
Make sure you have a current limit resistor between #13 pin and the LED, like 270 ohm to 1K, 2K, in that range. Don't burnout your IO pin.CrossRoads– CrossRoads2018年07月12日 16:41:42 +00:00Commented Jul 12, 2018 at 16:41