Description
Arduino IDE Hourly Build 2019/04/18 12:33 / Arduino IDE 1.9.0-beta build 105, Windows 10 64 bit
- Plug the USB cable of a native USB (Leonardo, MKR, Due (Native USB Port)) into your computer.
- Tools > Serial Monitor
- Unplug the USB cable.
- Close Serial Monitor (to avoid v1.9b upload fails, must close serial monitor first #8518 when using Arduino IDE 1.9.0-beta).
- Plug the USB cable of the board into your computer. It doesn't matter whether this is done before or after closing Serial Monitor.
- Sketch > Upload
The upload process completes successfully, but the Arduino IDE doesn't recognize this and after a delay the upload is shown to have failed with the 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.
You must now exit the Arduino IDE and start it again before you can upload without the spurious failure.
When using Arduino IDE 1.8.9 or the Hourly Build, disconnecting the board while Serial Monitor is open and then reconnecting causes multiple duplicate ports to be shown in the Tools > Port menu. This does not occur with Arduino IDE 1.9.0-beta, but the spurious upload failure still does occur.
The duplicate ports and spurious upload failure issue does not occur with Arduino IDE 1.8.8.
Originally reported at: