Arduino: 1.8.16 (Windows 8.1), Board: "Arduino MKRZERO"
The sketch compiles ok with no displayed errors.
Initially with the board connected get the expected Board: Arduino MKRZERO, Port: COM3 “Arduino MKRZERO”
Get Board Info: BN : Arduino MKRZERO VID: 2341, PID 804F, SN ******
The previously loaded sketch will communicate various print program print statements onto the Serial Monitor screen.
Thus this indicates there is communications initially across the USB bus.
However when I try to upload a new sketch onto the MKRZERO it ends up with the serial port being ‘lost’.
Verbose upload messages:
Arduino: 1.8.16 (Windows 8.1), Board: "Arduino MKRZERO"
Sketch uses 34764 bytes (13%) of program storage space. Maximum is 262144 bytes.
Global variables use 3676 bytes (11%) of dynamic memory, leaving 29092 bytes for local variables. Maximum is 32768 bytes.
PORTS {} / {} => {}
PORTS repeated x40
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
processing.app.SerialException: Error opening serial port 'COM3'.
at processing.app.Serial.(Serial.java:152)
at processing.app.Serial.(Serial.java:82)
at processing.app.SerialMonitor$2.(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:2126)
at processing.app.Editor.access$1300(Editor.java:116)
at processing.app.Editor$UploadHandler.run(Editor.java:2095)
at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - COM3; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.(Serial.java:141)
... 8 more
Error opening serial port 'COM3'.
Tools / Port indicates also indicates no PORT has been found, but if I press the reset button on the MKRZERO board, the Port information returns and I can interrogate the Board info.
I tried to do an upload with 2secs of pressing the reset button, but still won’t upload.