Firstly, thanks and **+**karma to developers for the continuing development and openness of Arduino. It is central to my MCU projects, and I appreciate it.
I am having trouble installing the STM32 MCU based boards, and the ESP32 by Expressif Systems boards, to my Arduino IDE 1.8.19. I have repeatedly tried the installation with consistent failed results. I have also tried on a second machine, with similar failed results. The inability to install these board types is fatal to my Arduino development activities. Please help me sort out the cause and solution to this problem.
My system is Windows 10, 64-bit, fully updated, with a recently new (virgin) installation of Arduino IDE 1.8.19, working well with Arduino (and clone) boards. My second system used to check for this problem is Windows 7, 64-bit, as updated as it gets, with a well used Arduino 1.8.19 IDE, and several aged, non-current STM32 board installations. My Java is v8.461, both 32-bit and 64-bit, on both machines. In both cases I have added the current STM32duino repository url to my Arduino IDE preferences https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json , so I have access to the available STM32 boards.
Both the STM32 and ESP32 board installations seem to proceed well, and the leave lots of health-looking files in \Windows\AppData\Local\Arduino15\staging, and ...\cache. But the downloads always end with java.lang.RuntimeException and nothing useful actually installed in the IDE.
Here is a copy of the STM32 download exception notification:
Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v14.2.1-1.1/xpack-arm-none-eabi-gcc-14.2.1-1.1-win32-x64.zip
java.lang.RuntimeException: java.lang.Exception: Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v14.2.1-1.1/xpack-arm-none-eabi-gcc-14.2.1-1.1-win32-x64.zip
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:179)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v14.2.1-1.1/xpack-arm-none-eabi-gcc-14.2.1-1.1-win32-x64.zip
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:145)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:79)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:108)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Caused by: java.lang.Exception: Incomplete download
at cc.arduino.utils.network.FileDownloader.readStreamCopyTo(FileDownloader.java:266)
at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:230)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)
... 5 more
...and here is a copy of the similar ESP32 download exception notification:
Error downloading https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-i686-w64-mingw32.zip
java.lang.RuntimeException: java.lang.Exception: Error downloading https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-i686-w64-mingw32.zip
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:179)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-i686-w64-mingw32.zip
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:145)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:79)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:108)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Caused by: java.lang.Exception: Incomplete download
at cc.arduino.utils.network.FileDownloader.readStreamCopyTo(FileDownloader.java:266)
at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:230)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)
... 5 more
Since there are two machines, and two different board sources, giving similar errors, I suspect a problem with the common Arduino IDE. And, possibly there is a problem with the common user ![]()
I canāt think of where to move next. So, any more info required, any ideas?
Thanks or considering this problem.
Steve

