BLE 33 changes port name after every upload on OS X

Hi,

I am starting to work with the Nano BLE using the IDE 1.8.14 on OS X and the port is changing its name after every upload. This means I have to select the new name in the menu every time.

Is there a way to fix this?

Thanks!
Markus

I think you will find that it doesn't happen very often if you close Serial Monitor or Serial Plotter before doing an upload.

When using Nano 33 BLE, I usually just manually put the board in bootloader mode when uploading by watching the black console pane at the bottom of the Arduino IDE window after I start the upload process, then after I see the message like (which indicates the upload is starting):

Global variables use 45584 bytes (17%) of dynamic memory, leaving 216560 bytes for local variables. Maximum is 262144 bytes.

I put the Nano 33 BLE into bootloader mode by pressing the reset button twice quickly.

pert:
I think you will find that it doesn't happen very often if you close Serial Monitor or Serial Plotter before doing an upload.

It happens every time I upload. I select the port, upload and then I get this message and it changes the port:

Arduino: 1.8.14 Hourly Build 2020/09/23 10:35 (Mac OS X), Board: "Arduino Nano 33 BLE"

Sketch uses 311712 bytes (31%) of program storage space. Maximum is 983040 bytes.
Global variables use 71520 bytes (27%) of dynamic memory, leaving 190624 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.001 seconds
Write 311720 bytes to flash (77 pages)
[==============================] 100% (77/77 pages)
Done in 12.274 seconds
processing.app.SerialException: Error opening serial port '/dev/cu.usbmodem84'.
	at processing.app.Serial.<init>(Serial.java:152)
	at processing.app.Serial.<init>(Serial.java:82)
	at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132)
	at processing.app.SerialMonitor.open(SerialMonitor.java:132)
	at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
	at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2120)
	at processing.app.Editor.access$1300(Editor.java:117)
	at processing.app.Editor$UploadHandler.run(Editor.java:2089)
	at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem84; Method name - openPort(); Exception type - Port not found.
	at jssc.SerialPort.openPort(SerialPort.java:167)
	at processing.app.Serial.<init>(Serial.java:141)
	... 8 more
Error opening serial port '/dev/cu.usbmodem84'.
Invalid library found in /Users/MEL/Documents/Arduino/libraries/Dimmer_class_for_SAMD21: no headers files (.h) found in /Users/MEL/Documents/Arduino/libraries/Dimmer_class_for_SAMD21


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.