Can anyone help me with this error message please

This is the error message I get when trying to upload any code to my nano 33 IoT. It stopped working after i unplugged it while it was uploading the sketch because everything froze. Could anyone help me out.

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino NANO 33 IoT"

Sketch uses 10376 bytes (36%) of program storage space. Maximum is 28672 bytes.

Global variables use 511 bytes (19%) of dynamic memory, leaving 2049 bytes for local variables. Maximum is 2560 bytes.

processing.app.debug.RunnerException

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)

at processing.app.SketchController.upload(SketchController.java:732)

at processing.app.SketchController.exportApplet(SketchController.java:703)

at processing.app.Editor$UploadHandler.run(Editor.java:2055)

at java.lang.Thread.run(Thread.java:748)

Caused by: processing.app.SerialException: Error touching serial port 'COM3'.

at processing.app.Serial.touchForCDCReset(Serial.java:107)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)

... 5 more

Caused by: jssc.SerialPortException: Port name - COM3; Method name - openPort(); Exception type - Port busy.

at jssc.SerialPort.openPort(SerialPort.java:164)

at processing.app.Serial.touchForCDCReset(Serial.java:101)

... 6 more

An error occurred while uploading the sketch

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

Try restarting your computer. Sometimes a glitch causes the port to get stuck open and restarting fixes that.

I have tried restarting it already and it still doesn't want to upload...

I'm pretty sure the problem has to do with my computer and not my board as I have tried my adafruit M0 feather and that one isn't working either.

Do you have the port labeled with the board name selected from the Arduino IDE's Tools > Port menu?

Yes I do, When I try to upload it now says : Forcing reset using 1200bps open/close on port COM3

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino NANO 33 IoT"

Sketch uses 23892 bytes (9%) of program storage space. Maximum is 262144 bytes.

Global variables use 3076 bytes (9%) of dynamic memory, leaving 29692 bytes for local variables. Maximum is 32768 bytes.

Forcing reset using 1200bps open/close on port COM3

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

PORTS {COM3, } / {COM3, } => {}

Uploading using selected port: COM3

C:\Users\Nicholas\Documents\ArduinoData\packages\arduino\tools\bossac\1.7.0-arduino3/bossac.exe -i -d --port=COM3 -U true -i -e -w -v C:\Users\Nicholas\AppData\Local\Temp\arduino_build_577122/SimpleGyroscope.ino.bin -R

An error occurred while uploading the sketch

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

When you see 'Forcing reset using 1200bps open/close on port COM3' tap reset.

Still doesn't work: An error occurred while uploading the sketch, it found the upload port with the device but an error occurs.

What com ports do you see in device manager without the boeard plugged in? do you get anything else when you do?

When I have nothing plugged in, I dont see any ports in device manager, when i plug in my board, I see Ports(COM & LTP) -> Arduino NANO 33 IoT (COM3)

Solved by double tapping the reset button

I suffer a similar upload problem. Compile-only works fine. My MKR 1010 Wifi is correctly identified by the IDE. The standard port is Com6, identified by the IDE and selected by me. In the Windows Device Manager, there is a hidden Com7, labeled as the bootloader. With no discernable pattern leading to failure (and no discernable pattern including disconnection and reset leading to success), the board will bootload over Com7, then communicate normally over Com6.

Failure comes in two flavors: (1) An attempt to bootload over Com6 ("Uploading using selected port: COM6"), which in my observation has never worked. (2) "Forcing reset using 1200bps open/close on port COM6" which often fails with a verbose RunnerException. The forced reset, however, sometimes does succeed.

If there were a way to specify the operating com port (which there is) and the bootload port (which there isn't), my problem would likely go away.

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