Trouble with Arduino - "Please select a port before upload"

Hi guys,

A couple of things:

@jbobrow: Dude, I love the work you’re doing and I’m delighted to have been able to take some of the burden off you. You continue to focus on all the difficult stuff and let the rest of us in the community help each other out with this simple stuff.

As regards the workaround, I’ve discovered you don’t actually have to set the upload.verify setting to false. Just set the serial.port setting to COM1 (or anything you like) and the workaround will, er, work!

So here’s the consolidated list of steps to follow:

  1. On the Arduino IDE menu, navigate to File -> Preferences (or hit [Ctrl] Comma)

  2. The Preferences dialog will appear and, near the bottom of that dialog, it will show you the full path to the preferences.txt file itself.

  3. Click on the full path to the preferences.txt file and the Arduino IDE will open a file browser window showing you preferences.txt

  4. IMPORTANT: Shut down the Arduino IDE app now.

  5. Open the preferences.txt file in your favourite text editor, and edit it as follows:
    — Set the value of the serial.port setting to COM1

  6. Save the changes and exit from your text editor.

  7. Restart the Arduino IDE and try an upload to your Blink tile. It should work with no errors.

2 Likes