Can anybody suggest which steps i am missing while doing setup.
OS - ubuntu 18.04
nodeJS version v16.20.2
npm version 8.19.4
arduino-cli alpha Version: 0.18.1
arduino-cli board list
Port Type Board Name FQBN Core
/dev/ttyACM0 Serial Port (USB) Arduino Nano 33 BLE arduino:mbed_nano:nano33ble arduino:mbed_nano
arduino-cli core list
ID Installed Latest Name
arduino:mbed_nano 4.0.10 4.0.10 Arduino Mbed OS Nano Boards
when I execute the firmware flash script i got error.
sudo ./flash_linux.sh
You’re using an untested version of Arduino CLI, this might cause issues (found: 0.35.0, expected: 0.18.x)
Finding Arduino Mbed core…
Finding Arduino Mbed OK
Finding Arduino Nano 33 BLE…
Error starting discovery: starting discovery builtin:serial-discovery: command failed: Cannot START_SYNC: Error while enumerating serial ports: open /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/idVendor: permission denied
Cannot find a connected Arduino Nano 33 BLE development board (via ‘arduino-cli board list’).
If your board is connected, double-tap on the RESET button to bring the board in recovery mode.
==================================================================
I have managed to fix the above issue. Now my arduino-nano-33-ble board is getting flashed without error.