I recently switched operating system from debain based to arch. I have added myself to the dialout group, also the board managers are installed. Since i am running through the linux kernel i am pretty sure the drivers are installed too. It gives me an exit status: 2 while uploading.
note: uploading bare minimum and running arduino ide 2.0.4
hardware used: esp12e nodemcu , microusb data transfer cable
Hi @lalu_boiii. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.
NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.
Please do this:
Select File > Preferences from the Arduino IDE menus.
Uncheck the box next to Show verbose output during: ☑ compilation
Check the box next to Show verbose output during: ☐ upload.
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Fixed!
the python-pyserial package was required by the esptool.py
That package was missing
it can be installed using sudo pacman -S python-pyserial
note: DO NOT USE PIP TO INSTALL THIS PACKAGE!
Things we would like to know when you start the new topic
Which operating system?
Which IDE version?
Which (Arduino) board?
If anything is connected to the board except for the USB with the PC? If yes, what and how.
The full error message; you can enable verbose output during upload and disable verbose output during compilation in file → preferences in the IDE.