Cannot Upload to MKR1000 (RunnerException)

Hi there,

after uploading anything to my MKR1000 on OS X failed, I setup Windows 10 on my old Netbook. Unlike on OS X I was finally able to select a port in Arduino IDE but - as expected - something else goes wrong now..

I was trying to upload the Blink sketch, it compiles but when it comes to the upload, it fails:

Sketch uses 7,972 bytes (3%) of program storage space. Maximum is 262,144 bytes.
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:141)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1186)
at processing.app.Sketch.exportApplet(Sketch.java:1160)
at processing.app.Sketch.exportApplet(Sketch.java:1132)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2381)
at java.lang.Thread.run(Thread.java:745)
Caused by: processing.app.SerialException: Error touching serial port 'COM4'.
at processing.app.Serial.touchForCDCReset(Serial.java:87)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:130)
... 6 more
Caused by: jssc.SerialPortException: Port name - COM4; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.touchForCDCReset(Serial.java:81)
... 7 more

And yes I pressed the reset button twice :wink:

Any ideas?

Best,
Dennis

laemmen:
Hi there,

after uploading anything to my MKR1000 on OS X failed, I setup Windows 10 on my old Netbook. Unlike on OS X I was finally able to select a port in Arduino IDE but - as expected - something else goes wrong now..

I was trying to upload the Blink sketch, it compiles but when it comes to the upload, it fails:

And yes I pressed the reset button twice :wink:

Any ideas?

Best,
Dennis

Which is the last sketch uploaded?

I guess it's the blink sketch by default. As I said, I wasn't able to upload anything yet since I got the Arduino two months ago..

Hi, I'm having this same issue now. Did you ever resolve it? Thanks

Hi,

yes, after doing a clean reinstall of El Capitan. I don't know what the problem was but I works fine now. It is likely that it was some driver related issue with AVR dude which was the reason for many upload errors on OSX in the past.

It might help to purge all Arduino / AVR files from your machine and then install the latest Arduino IDE..

Best,
Dennis