Had installed rc7 in windows10, both "verify" & "upload" not responding (i had the verbose option ticked in preference). And library & board manager doesn't return any result when I try to search, not usable.
Thanks for your report @ydski. I'm sorry to hear you are having troubles with Arduino IDE 2.0.0-rc7.
Please try this:
- Select File > Quit from the Arduino IDE menus.
- Start the Arduino IDE again.
Does it work as expected after doing that? I have sometimes experienced a similar problem, which was always fixed by a restart. I have never managed to determine the conditions required to produce the issue, which makes it very difficult to investigate.
I'd tried as suggested, no luck. I'd uninstalled and reinstall, then run as administrator, same too, can't detect the serial port too. So, I revert to rc6, and everything back to work again, verified my windows machine & board are okay.
I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
- Start Windows "File Explorer".
- Open the Arduino IDE 2.0.0-rc7 installation folder.
(usuallyC:\Program Files\Arduino IDE
orC:\Users\<user name>\AppData\Local\Programs\Arduino IDE
). - In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
- From the context menu, click "Open PowerShell window here".
PowerShell will now open with the current directory set to the Arduino IDE installation folder. - Type the following command:
& ".\Arduino IDE"
- Press the Enter key.
Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start). - Wait for the Arduino IDE to finish starting, or failing to start.
- Switch back to the PowerShell window if the Arduino IDE window took the focus.
- Right click on the title bar of the PowerShell window.
This will open a context menu. - Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window. - Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard. - 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 output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
Thanks. That was very useful. I see the problem here:
There was a bug in the ESP8266 Arduino boards platform:
That bug was fixed a year ago, but you are using a very outdated version of the platform that still has the bug.
It seems that somewhere between 2.0.0-rc6 and 2.0.0-rc7, the IDE's ability to gracefully handle broken platforms like this was lost. I will investigate whether we can restore that resiliency.
But for now the fix for you will be to simply update to the version of the platform with the bug fixed. I'll provide instructions:
- Select File > Quit from the Arduino IDE menus if it is running.
- Start Arduino IDE 2.0.0-rc6.
- Open "Boards Manager"
- Find "esp8266 by ESP8266 Community" in the list of boards platforms. Click on it.
- Make sure "3.0.2" is selected from the version menu on the esp8266 platform listing.
- Click the INSTALL button.
- Wait for the install operation to finish.
- Select File > Quit from the Arduino IDE menus.
- Start Arduino IDE 2.0.0-rc7.
Hopefully 2.0.0-rc7 will now be working. As a bonus, you will have the latest and greatest version of the ESP8266 boards platform installed.
Please let me know if you have any questions or problems while following those instructions.
Thanks for your help. Rc7 is working now. A small difference from your step #5 is, the 8266 board version is 2.6.3, so what I did is uninstall this (no other version to choose anyway) in rc6. Then install rc7, and everything work now. I noticed that rc7 is also more responsive in overall (compare to rc6).
I'm very glad it is working for you now!
This means you do not have the "Boards Manager URL" of the ESP8266 Arduino boards platform of your "Additional Boards Manager URLs" preference. In that case, Arduino IDE 2.x only shows the currently installed version as available.
Arduino IDE 1.x and Arduino IDE 2.x have different, independent preference storage systems so it is necessary to manually transfer your "Boards Manager URLs" when migrating from 1.x to 2.x.
If you have no need for the ESP8266 Arduino boards platform then it is perfectly fine to simply leave it uninstalled. In case you do want to use ESP8266 boards with Arduino IDE 2.x, I'll provide instructions:
- Get the current "Boards Manager URL" from the ESP8266 platform's official documentation here:
GitHub - esp8266/Arduino: ESP8266 core for Arduino
(it ishttps://arduino.esp8266.com/stable/package_esp8266com_index.json
at the time I write this, but these URLs sometimes change so it is best to get it from the documentation) - Select File > Preferences... from the Arduino IDE menus.
- Type the URL into the "Additional Boards Manager URLs" field.
If there are already "Boards Manager URLs" in the field, separate them with commas. - Click the OK button.
- Select File > Quit from the Arduino IDE menus.
- Start the Arduino IDE.
ⓘ This restart is required due to a known bug in Arduino IDE 2.x. - Open "Boards Manager"
- Find "esp8266 by ESP8266 Community" in the list of boards platforms. Click on it.
- Make sure "3.0.2" is selected from the version menu on the esp8266 platform listing.
- Click the INSTALL button.
- Wait for the install operation to finish.
This bug is now being tracked by the Arduino IDE developers here:
There is already a proposed fix here:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.