Arduino IDE 2.0 rc9.1 uploading problem on board ESP8266

august 6 2022:
Using Arduino IDE 2.0 rc9.1 I got this uploading problem when I try to transfert the sketch on a esp8266 node MCU board 12E 1.0.
The board installed in Arduino is "esp8266 par ESP8266 community 3.0.2".
The problem occurs. I think, since I installed the upgraded version rc9.1.
I got this problem on 2 others computers using rc 9.1 version.
If I transfert a sketch created with an older version of Arduino, the transfert is OK.
If I flash the ESP8266 before the uploading, the transfert is OK usually, not at 100%.
Does someone has an idea to solve this problem?

Thanks,

are you sure you have the correct COM port?
if using windows check using the device manager - by disconnecting/reconnecting the USB cable you should see the COM disappear/reappear
make sure no other device is connected to the COM port
try closing and reopening the IDE?
when attempting to upload press the FLASH button on the ESP8266

Please don't post pictures of error messages. Copy the full error message (your picture even includes the button to do it !) and paste the error here in code tags

Hi @mdr1. Thanks for your report.

There is a bug in Arduino IDE 2.0.0-rc9.1 that causes uploads to fail when Serial Monitor is open:

This bug has already been fixed and is available from the latest nightly build of Arduino IDE 2.x.

The download links for the nightly build are listed on the "Software" page here:

https://www.arduino.cc/en/software/#nightly-builds

Please give the nightly build a try and then let us know if you still have troubles uploading.

Thanks @ptillisch,
You put your finger directly on the "bobo".
Without the serial monitor open, uploading was OK.
I installed the nightly-20220807 (replaced files). The problem is fixed.
You can close this item.
MDR1

You are welcome. I'm glad it is working now.

The Arduino forum has a nice system for this, which is managed by the topic creator (which is you).

At the bottom of each reply to a topic you created, you will see a " Solution" control:

image

Find the post that contains the solution and click on " Solution". You will now see it change to the active state:

image

A checkmark will be shown next to the title in the topic listings. For example:

A preview of the solution will be added to the first post. For example:

Marking the solution is helpful because it allows those with the same question to more quickly find the answer, and allows the helpers on the forum to differentiate solved topics from the ones that still require their assistance.

Regards, Per