Update.sh fails on my Linux Mint PC

When can we expect the 'patch' to make BLE work to be available in the IDE please? I wasted a whole day trying to run the Linux script called update.sh which is in the downloadable manual patch for BLE. It fails, looking for some kind of library file.
I do not have any Windows or Apple Mac systems so I cannot try the scripts for those OSes.
My new Arduino Uno R4 Wifi is useless now because I bought it specifically because it was advertised as having functioning BLE comms, but it doesn't, yet.

Hi @jon_lester. I'm sorry for the difficulty with the firmware update. I know that low level update procedure is not very user friendly.

The necessary change was made in Arduino IDE yesterday. It was expected that it would be available in the following nightly build but unfortunately there was a problem with the automatic system that generates the nightly builds and so one wasn't produced.

There is a tester build available now with this capability though, it is just slightly more complicated to get it. I'll provide instructions in case you would like to give it a try:

  1. Sign in to your GitHub account.
    (GitHub only allows downloads of the tester builds when you are signed in.)
  2. Open this page in your browser:
    https://github.com/arduino/arduino-ide/actions/runs/5902758928#artifacts
  3. Click the "Linux_X86-64_app_image" link under the "Artifacts" section of the page.
  4. Wait for the download to finish.
  5. Extract the downloaded ZIP file.
  6. Set the executable file permissions of the AppImage file you extracted and execute it as usual:
    https://docs.appimage.org/introduction/quickstart.html#using-the-gui

Using the tester build you downloaded via the instructions above will not interfere with any other installations of Arduino IDE on your computer so you are welcome to have beta tester versions as well as the release version of Arduino IDE installed on your computer at the same time.


Please let me know if you have any questions or problems while following those instructions.

Thanks for the quick response. I am not experienced enough yet to follow your instructions unfortunately. How will we know when the new IDE has been built successfully, and how will I be able to replace my existing Arduino IDE with the new one? Will it say something like 'Updates available'? Do I just click on that?
Sorry.... I am really a beginner with Arduino and I spent the last 15 years using MS SQL Server, so I know very little about compiling, linking, etc. (Using SQL Server was like having my brain removed!)

You download the files from arduino web site: Software | Arduino
And you scroll down to the nightly builds section, and you download the one for Linux. Either the appimage or the zip file. And then you follow similar steps to what @ptillisch mentioned above.

How to know when there is new version up there. Typically, I check daily, to see if the Arduino developers checked in anything new the day before. Or a just go ahead and start a download.

I did that today and noticed the name downloaded:

image

So it was build 0816 and I was expecting the filename to have instead 0819, so I knew something was not updating correctly.

So I looked at the changelog, link on same page: and it showed:

Changes since version [2.1.0](https://github.com/arduino/arduino-ide/releases/tag/2.1.0):
 - chore(deps): Updated to Theia `1.39.0` (#2144) [9a6a457b]
...

Which I know does not include the latest things.
image

Thanks Guys. I have managed to get the Tester version running now. The example prog which scans for BLE devices seems to run ok.
The only extra thing that I had to do was to delete the file extension (ie the dot, and all text after the dot in the unzipped filename). My Linux Mint PC then recognized it as a program that it could run when double-clicked. I'm not sure if this edit of the filename would be needed on other versions of Linux, but it helped on Mint, which is derived from Ubuntu I think.
I'll watch out for the new version of the IDE.
Thanks again!

You are welcome. I'm glad you ware able to get and run the tester version. Thanks for taking the time to post an update.

There is already a pull request prepared that tangentially fixes the problem blocking the nightly builds from being generated:

We should have things working again by Monday.

Hi - doesn't the BLE library also need to be updated for the UNO R4 WiFi?
Or will the new IDE install update that as well?

If you are using the "ArduinoBLE" library in your code (in theory people could use the BLE capabilities of the board even without that library so it is not necessarily a given even though most users will likely find it the most friendly approach), then it is indeed required to use the beta tester version of the library that has added support for the UNO R4 WiFi board:

https://forum.arduino.cc/t/radio-module-firmware-version-0-2-0-is-now-available/1147361#arduinoble-library-5

will the new IDE install update that as well?

No, Arduino IDE won't provide any special handling for this library. Regardless of which version of Arduino IDE you are using, the version of the library with UNO R4 WiFi support will automatically be offered for installation and update by the Arduino IDE Library Manager once the library developers have finalized the code and made a new release of the library. Until then, it will be necessary to install and update the beta tester version of the library via alternative methods such as the IDE's "Add .ZIP Library" feature, or by working directly with the contents of your libraries folder.

Thank you @ptillisch

Since @jon_lester mentioned “The example prog which scans for BLE devices seems to run ok.” without this topic mentioning the BLE library I wasn’t sure if new BLE support was being added elsewhere.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.