Compilation error: No connection established #1671
Labels
conclusion: duplicate
Has already been submitted
topic: CLI
Related to Arduino CLI
type: imperfection
Perceived defect in any part of project
Describe the problem
When attempting to build I am suddenly getting the following error without any attempt to compile:
Compilation error: No connection established
It does not matter whether I select to just compile/verify or upload.
The ESP32 S3 dev board is connected to /dev/ttyUSB8 and was working fine, then everything stopped. I see the device when I plug it in. Furthermore, minicom connects just fine and displays the output.
This is not a permission problem. The user is associated with the dialout group and I use serial ports extensively (for non-Arduino purposes). It also was working and suddenly stopped. This has happened to me on several occasions. Usually I am forced to restart the IDE to fix the issue.
Also, when building/verifying there should be no connection dependency.
Selecting a different serial port then selecting the correct one does not fix the problem.
Unplugging and reconnecting the ESP32 dev board (UART interface) does not fix the problem.
Only restarting the IDE fixes the problem.
To reproduce
Work with the IDE for a while and upload multiple images. The problem is intermittent.
Expected behavior
I expect it to not require a connection when building/verifying. Furthermore, I expect it to be able to connect to the serial port specified.
Arduino IDE version
Version: 2.0.2-nighjtly-20221112
Operating system
Linux
Operating system version
OpenSUSE 15.4
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: