Using a Nano 33 BLE: Board at /dev/ttyACMo is not available

Its winter…so i’ve cranked up my arduinos…

Trying to use Arduino Nano 33 BLE with Arduino IDE 1.8.19 and everything looks ok…until I try to open serial monitor. Using Arduino Mbed OS Nano Boards→

Arduino: 1.8.19 (Linux), Board: "Arduino Nano 33 BLE"

Sketch uses 115328 bytes (11%) of program storage space. Maximum is 983040 bytes.
Global variables use 46632 bytes (17%) of dynamic memory, leaving 215512 bytes for local variables. Maximum is 262144 bytes.
Device : nRF52840-QIAA
Version : Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Address : 0x0
Pages : 256
Page Size : 4096 bytes
Total Size : 1024KB
Planes : 1
Lock Regions : 0
Locked : none
Security : false
Erase flash

Done in 0.002 seconds
Write 115336 bytes to flash (29 pages)
[==============================] 100% (29/29 pages)
Done in 4.527 seconds

Board at /dev/ttyACM0 is not available
As soon as I select the serial monitor I get this

Board at /dev/ttyACM0 is not available

I have like 3 other Arduino Nano 33 BLE boards same results and an Arduino Nano RP2040 Connect that doesn’t get recognized by IDE. Tried a generic nano using avr boards and it was successful…

Any ideas on problem?

Thanks

What if you click its Reset button?

Some boards use ttyACM0, some use ttyUSB0.

Check your /dev directory and see if something like the above exists.

it ened up being a code issue…

left wire.begin() out…

added it and all is good!

Boards with native USB (where the processor handles the USB communication) are sensitive for programming mistakes.
The code that you upload contains functionality for the board detection by the operating system and for the reaction on the software reset issued by the IDE when performing an upload.
Mistakes in your code can result in variables used by those functionalities to be overwritten and breaking the functionality.

The processor (328P) in your classic Nano does not handle the USB, it uses the UART which communicates with the serial-to-usb converter (FT232 for original, CH340 for most clones) which in turn communicates with e.g. the PC.