IDE hangs while downloading index package Rp2040_jason package version 2.3.3
Is anyone else having this issue on windows 11
Tried uninstalling IDE and re-install still the same.
IDE hangs while downloading index package Rp2040_jason package version 2.3.3
Is anyone else having this issue on windows 11
Tried uninstalling IDE and re-install still the same.
The issues turned out to be a com port issue on my laptop. Unplugging the Arduino from the laptop it will then complete the download. also plugging in the Arduino on a different port it will load ok.
Glad you found a solution
I've never heard that it was an issue with a COM port on the PC.
In general the advice is to close the serial monitor if it's open. If the serial plotter is open, close it; next open the serial monitor (if not open) and close it.
It's a known issue in IDE 2.3.3, not in IDE 2.3.2.
It seems common and is probably not a fault with your port.
I also had that issue with an index failing to download and I was able to make it work by unplugging or plugging in a board (I forget which).
Others report that opening and closing the Serial Monitor also fixes the problem.
Great job of finding a workaround. Thanks for taking the time to post an update with your findings!
This bug is triggered when you have a port open in Arduino IDE Serial Monitor or Serial Plotter.
An alternative workaround is to close the Serial Monitor view before (or during if you forget) performing an operation that would otherwise hang due to the bug. After completing the operation, you can open Serial Monitor again.
The Serial Monitor view is a tab in the bottom panel of the Arduino IDE window, so you might not even notice when you have it open. You can close it by clicking the X icon on the tab:
If you are using Serial Plotter, there are a couple of additional steps. The necessary procedure for Serial Plotter is described here:
https://github.com/arduino/arduino-ide/issues/2562#user-content-workaround-serial-plotter
The Arduino developers have already fixed the bug, but that fix was made after the time of the Arduino IDE 2.3.3 release so this is why you still experience it with 2.3.3. Likewise, the fix has not yet propagated to the Arduino IDE nightly builds. But work is in progress to pull it into Arduino IDE, so it should be in the nightly builds soon, and definitely will be in the next release.
CLI 1.1.0 is in last nights nightly build, which downloaded...
Have not verified yet, that it solved this problem. Has not tried to download, while
index files while I had the Serial monitor window open...
I also noticed that CLI 1.1.1 was released today as well, and there is another PR in IDE to pull this one in.
Keeping my fingers crossed.
Side note: It is probably coincidence, but I hit the issue again, where Arduino lost my settings. I was running with Dark mode and serial monitor on right hand side, ...
I then opened up an example, and the new window showed with white background...
And the other window switched to it as well. About 4th or 5th time this has happened to me in many months, so have no idea how to repeat.
Thanks for pointing that out @KurtE. I confirm that the bug is fixed in the latest nightly build of Arduino IDE.
For anyone who wants to switch to using the nightly build to get the bug fix (or if you want to contribute to the Arduino IDE project through beta testing), you can download the nightly build from the links on the "Software" page here:
Thanks for your comment, I would never have thought it was the serial monitor!! I was pursuing all sorts of nonsense about "certificates" and website permissions!!!
PhilipJ