How to produce a USB CDC serial port for Arduino nano 33 BLE?

Hello,

I'm trying to program an Arduino Nano 33 BLE bare-metal to get some precise timing and size measurements. I've managed to upload code to my card, but I cannot communicate with it. More specifically, when I upload the code, the port 'deactivates' after I upload code, so the serial monitor prints a cannot exec '/dev/ttyACM0' error.
Can someone help me figure out how to make it work? I've seen tutorials online but they're for AVR microcontrollers, and I've been told that this specific board isn't. I've also been told that I must include some code in my c/cpp file to produce a USB CDC serial port, but I don't know how to do that.

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