The arduino IDE software incorrectly recognize my arduino nano ble sense rev2 as arduino stella, and still doesn't solved yet, do I have to return the board and get a new one?
I have deleted your other post on the same subject @ansonmak.
Crossposting is against the Arduino Forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated crossposting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
Hi @ansonmak. I apologize for this poor experience you experienced using your Nano 33 BLE Sense Rev2 board.
I see from your screenshot that you are using the browser-based Arduino Cloud Editor. We also offer a free open source local sketch development tool named Arduino IDE. I mention this for two reasons: For one, to avoid any possible confusion (you wrote "arduino IDE" instead of "Arduino Cloud Editor"). More importantly, I mention it because the misidentification of your board can be easily fixed using Arduino IDE.
I'll provide instructions you can follow to do that:
A. Install Arduino IDE
- Download Arduino IDE from our "Software" page:
https://www.arduino.cc/en/software#arduino-ide - Install the downloaded file:
https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing/#installation
B. Install "Arduino Mbed OS Nano Boards"
Support for the Nano 33 BLE Sense Rev2 board is added to Arduino IDE by installing an additional piece of software named "Arduino Mbed OS Nano Boards". This is installed via a feature of Arduino IDE named "Boards Manager":
- Start Arduino IDE.
- Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
- Find the "Arduino Mbed OS Nano Boards" entry in the list of boards platforms.
- Click the "INSTALL" button at the bottom of the entry.
- Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
Successfully installed platform ...
C. Configure Arduino IDE
You now need to configure Arduino IDE for use with the Nano 33 BLE Sense Rev2 board:
- Connect the the Nano 33 BLE Sense Rev2 board to your computer with a USB cable.
- Select Tools > Board > Arduino Mbed OS Nano Boards > Arduino Nano 33 BLE from the Arduino IDE menus.
- Select the port of the Nano 33 BLE Sense Rev2 board from Arduino IDE's Tools > Port menu.
D. Upload a Sketch
Now the last thing to do is to upload a sketch to the board. The minimal sketch Arduino IDE creates automatically will serve fine for this.
- Select Sketch > Upload from the Arduino IDE menus.
An "upload" operation will start. - Wait for the upload operation to finish successfully.
You should now find that the Nano 33 BLE Sense Rev2 board is correctly recognized by Arduino Cloud Editor.
Note that all variants of the Nano 33 BLE are identified as "Arduino Nano 33 BLE" (not by the specific variant name "Arduino Nano 33 BLE Sense Rev2"). This is normal and expected and won't cause any problems.
Using Arduino Cloud Editor
Arduino IDE was only required to perform that single sketch upload. That upload adjusted the properties of the USB device produced by the Nano 33 BLE Sense Rev2 board, which allows Arduino Cloud Editor to correctly identify the board. You should find that the board will be correctly recognized even after you upload sketches to the board using Arduino Cloud Editor.
There is one exception though: the Nano 33 BLE Sense Rev2 board can be put into a special "boot" mode by pressing the reset button on the board twice. The yellow LED next to the USB socket on the board pulses to indicate the board is in this mode. Unfortunately the board will still be identified as a Stella by Arduino Cloud Editor when it is in this "boot mode". We normally don't need to put the board into boot mode, so hopefully you won't encounter this. There are certain cases where this is necessary though:
- If the sketch program running on the board disables the USB interface..
- If the sketch program on the board has a bug (e.g., a divide by zero) that crashes the program.
- If something went wrong at just the right time during an upload, causing the program to be corrupted.
If you do encounter this, you will need to use the same procedure I described above with Arduino IDE to upload a sketch to the board in order to recover it to the state where it will be correctly recognized.
Were you previously able to use your board with Arduino Cloud Editor without having it incorrectly identified as a Stella? If so, then it is likely there is a bug in the sketch you uploaded to the board. I don't see the yellow LED on in the picture you shared, but it is possible it just wasn't picked up by the shot. If it was caused by a bugged sketch, then the problem will come back if you upload the same sketch again.
These bugs can be quite subtle, and possible even located in a library you are using rather than in your own code. If you do run into this problem, you are welcome to share your sketch in a reply here on this forum topic. We'll be happy to take a look and try to spot the bug.
I think you will have the same problem even with a new board. It is not expected that the misidentification will occur when the board is running a functional sketch. However, all Nano 33 BLE Sense Rev2 boards will have this misidentification when they are in boot mode.
I have notified the Arduino Cloud developers of this misidentification problem. I'll post an update here if I receive any news from them on the subject.
Thanks! I have solved this issue by following your steps.
You are welcome. I'm glad it's working now!
Regards, Per
