Bossac error on arm64 for WIO terminal, SEEED SAMD Boards

Hi, this is my first post, I am new to the IDE.

I am trying to install a SEEED WIO Terminal on 1.8.19 64 bit version.
When I try to install it I get the following error:
Tool bossac is not available for your operating system.
java.lang.RuntimeException: java.lang.Exception: Tool bossac is not available for your operating system.

I have installed the Arduino SAMD board with the https://per1234.github.io/ArduinoCore-sam/package_per1234_samarm64_index.json
Arduino SAM Boards (32 bits ARM Cortex M3) with ARM64 support by per1234 and it installed.

I have the SAMD library/board installed on a 32 bit OS for Pi 5, but would like to use it on the 64 bit version.

Any help would be greatly appreciated.

Hi @mrpeterc. I see the problem of Seeed not providing a Linux ARM 64-bit build of the Seeeduino:bossac@1.8.0-48-gb176eee tool dependency of their "Seeed SAMD Boards" platform was reported here:

I was able to find a workaround. Adafruit does provide a Linux ARM 64-bit build of the bossac@1.8.0-48-gb176eee tool. If we change the dependency definition in the Seeed package index to reference the tool from Adafruit's package (adafruit:bossac@1.8.0-48-gb176eee instead of Seeeduino:bossac@1.8.0-48-gb176eee) then Arduino IDE will be able to install the "Seeed SAMD Boards" platform on a Linux ARM 64-bit host machine:

--- a/package_seeeduino_boards_index.json
+++ b/package_seeeduino_boards_index.json
@@ -1260,7 +1260,7 @@
                             "version": "1.7.0-arduino3"
                         },
                         {
-                            "packager": "Seeeduino",
+                            "packager": "adafruit",
                             "name": "bossac",
                             "version": "1.8.0-48-gb176eee"
                         },

I'll provide instructions you can follow to do that:

  1. Click the following link to download a version of the Seeed package index file that has the modification I mentioned above:
    package_seeeduino_boards_aarch64_index.json (2.6 KB)
  2. Wait for the download to finish.
  3. Copy the downloaded file to the folder at the following path:
    /home/<username>/.arduino15/
    
    (Where <username> is your Linux username)
    :exclamation: The .arduino15 folder may be hidden by default in your file manager and terminal.
  4. Start Arduino IDE if it is not already running.
  5. Select File > Preferences from the Arduino IDE menus.
    The "Preferences" dialog will open.
  6. Click the icon on the right side of the "Additional Boards Manager URLs" field of the dialog.
    The "Additional Boards Manager URLs" dialog will open.
  7. Add the following URL on a new line of the field in the "Additional Boards Manager URLs" dialog:
    file:///home/<username>/.arduino15/package_seeeduino_boards_aarch64_index.json
    
    :exclamation: You must leave the standard Seeed Boards Manager URL in the field in addition to the URLs you are adding, so don't overwrite it.
  8. Replace the <username> in that URL with your Linux username.
  9. Add the following URL on a new line of the field in the "Additional Boards Manager URLs" dialog:
    https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
    
    This URL must be added because it contains the information needed to install the replacement adafruit:bossac@1.8.0-48-gb176eee tool dependency.
  10. Click the "OK" button.
    The "Additional Boards Manager URLs" dialog will close.
  11. Click the "OK" button.
    The "Preferences" dialog will close.
  12. Select Tools > Board > Boards Manager... from the Arduino IDE menus.
    The "Boards Manager" dialog will open.
  13. Wait for the updates to finish, as shown by the messages printed at the bottom of the "Boards Manager" dialog.
  14. Scroll down through the list of boards platforms until you find the "Seeed SAMD Boards - Linux ARM 64-bit" entry. Click on it.
    Some buttons will appear on the entry.
  15. Click the "Install" button on the "Seeed SAMD Boards - Linux ARM 64-bit" entry.
  16. Wait for the installation to finish successfully.
  17. Click the "Close" button on the "Boards Manager" dialog.
    The "Boards Manager" dialog will close.

You should now see the boards of the installed platform under the Tools > Board > Seeed SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards menu of Arduino IDE.

1 Like

Thank you very much, I am going to give it a shot right away!

ptillisch,
Thank you very much. I appreciate you help and the excellent instructions. It works!

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

Regards,
Per

1 Like

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