Nano 33 BLE sense (Mbed OS Nano)

select other boards: like many other boards Arduino nano 33 BLE sense is greyed out.

these instructions: https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-board-manager#mbed-os-nano

suggest or state that:
3. A list will now appear of all available cores. Now let's say we are using an Nano 33 BLE board, and we want to install the core. Simply enter the name in the search field, and the right core (Mbed OS Nano) will appear, where the Nano 33 BLE features in the description. Click on the "INSTALL" button.

However afaict this is not the case.

Please could someone advise?

thanks

Not sure what the problem is that you experience. If you expect to see a bold "Nano 33 BLE Sense" in the list, that is not the case.

If I type "Nano 33 BLE sense", I do get two options

early in the morning, got it, thanks...

output ends:

Please run as root

presumably that can be ignored?

I have no idea. When do you get the message? Which operating system are you using (I suspect Linux).

I don't think that I can help you further but the more details you provide, the easier it is for others to provide help.

Tool arduino:openocd@0.11.0-arduino2 already installed
Tool arduino:arm-none-eabi-gcc@7-2017q4 already installed
Downloading packages
arduino:bossac@1.9.1-arduino2
arduino:dfu-util@0.10.0-arduino1
arduino:rp2040tools@1.0.6
arduino:mbed_nano@4.0.8
Installing arduino:bossac@1.9.1-arduino2
Configuring tool.
arduino:bossac@1.9.1-arduino2 installed
Installing arduino:dfu-util@0.10.0-arduino1
Configuring tool.
arduino:dfu-util@0.10.0-arduino1 installed
Installing arduino:rp2040tools@1.0.6
Configuring tool.
arduino:rp2040tools@1.0.6 installed
Installing platform arduino:mbed_nano@4.0.8
Configuring platform.
Please run as root

Platform arduino:mbed_nano@4.0.8 installed

Ubuntu 22.04

The "Arduino Mbed OS Nano Boards" platform contains a script that is intended to create a udev rules file that configures the file permissions that will be required for Arduino IDE to be able to upload to the serial port of the Nano 33 BLE Sense.

However, the creation of that udev rules file can only be done when running as a superuser (e.g., as the root user). Since the user probably isn't (and certainly shouldn't be) running Arduino IDE as superuser, it was pointless for the developers to add that script but they did it anyway. The script is configured to check whether it has the necessary permissions. If not, it prints that ridiculously vague "Please run as root" message you noticed.

You can run the script directly from the Linux terminal as superuser in order to create the udev rules file. There are instructions for doing that here:

https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux#mbed-os

Nano 33 BLE does not seem to be mentioned in the udev rules link?

please advise

Please try this:

  1. Connect your Nano 33 BLE board to your computer with a USB cable.
  2. Select File > New Sketch from the Arduino IDE menus.
  3. Select the board and port from the Arduino IDE menus.
  4. Select Sketch > Upload from the Arduino IDE menus.
  5. Wait for the upload process to finish.

If the upload was successful, then everything is already configured as needed with the port and you can forget all about that "Please run as root" message and the script.

If there is an error when you attempt the upload, then you will know that you need to run the script.

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