Unable to install "Seeed nRF52 mbed-enabled Boards 2.8.1" on IDE 2.0.3

When I try to install the board library "Seeed nRF52 mbed-enabled Boards by Seeed Studio Version 2.8.1" with IDE2.0.3, I get an Error:13 and cannot install it. IDE1.8.19 can be installed without any problem.
Please let me know how to solve this problem.

Tool Seeeduino:openocd@0.11.0-arduino2 already installed
Tool Seeeduino:arm-none-eabi-gcc@7-2017q4 already installed
Tool Seeeduino:bossac@1.9.1-arduino2 already installed
Tool Seeeduino:dfu-util@0.10.0-arduino1 already installed
Downloading packages
Seeeduino:mbed@2.8.1
Replacing platform Seeeduino:mbed@2.7.2 with Seeeduino:mbed@2.8.1
Failed to install platform: Seeeduino:mbed.
Error: 13 INTERNAL: Cannot install platform: installing platform Seeeduino:mbed@2.8.1: searching package root dir: no unique root dir in archive, found 'C:\Users\xxxxxxxx\AppData\Local\Arduino15\tmp\package-2060560573\.github' and 'C:\Users\xxxxxxxx\AppData\Local\Arduino15\tmp\package-2060560573\bootloaders'

Hi @msfujino. The problem is Seeed Studio used an unsupported archive structure for the 2.8.1 release of the platform. Arduino IDE 1.x is more forgiving when it comes to the structure of the archive, which is why it only fails when using Arduino IDE 2.x.

I have reported the bug to Seeed Studio:


There are two possible workarounds. You can chose whichever one is most convenient for you:

Use Arduino IDE 1.x to make the installation

If you use the Arduino IDE 1.x Boards Manager to install the platform, that installation will also be usable on the same machine with Arduino IDE 2.x. If you don't have Arduino IDE 1.x installed already, you can download it from the "Software" page:

You can have both Arduino IDE 1.x and 2.x installed on your computer at the same time, so don't worry about the Arduino IDE 1.x installation interfering with your Arduino IDE 2.x installation.

Use the last good version

The previous version of the "Seeed nRF52 mbed-enabled Boards" platform was made correctly. So you can use Arduino IDE 2.x to install that version instead of the broken 2.8.1.

I'll provide instructions:

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "Seeed nRF52 mbed-enabled Boards" entry.
  3. Select "2.7.2" from the dropdown menu at the bottom of the entry.
  4. Click the "INSTALL" button at the bottom of the entry.
  5. Wait for the installation to finish.

Hi ptillisch,
Thanks for your quick response.

You are welcome. I'm glad if I was able to be of assistance. Hopefully Seeed will fix the problem soon.

Regards,
Per

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