Skip to content

SAMD boards package 1.8.12 breaks OTA? #116

Closed
@stealth-ultd

Description

@stealth-ultd

Just upgraded to SAMD boards package 1.8.12 – this seems to break OTA. (Also updated: Adafruit_BusIO, Adafruit_LED_Backpack_Library, Time)

Behaviour: After the pop-up for password input, the compiler enters a loop (back to pop-up), and displays the following errors:

java.io.IOException: Cannot run program "{tools.arduino_ota.cmd}": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.GenericNetworkUploader.uploadUsingPreferences(GenericNetworkUploader.java:99)
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: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 10 more

Interestingly, rolling back to 1.8.11 does not resolve the issue, but gives a different set of errors:

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x13693d0, 0x21)
/ssd/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff958 sp=0x7ff7bfeff938 pc=0x1028be1
runtime.goenvs()
/ssd/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff988 sp=0x7ff7bfeff958 pc=0x1026763
runtime.schedinit()
/ssd/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff9f0 sp=0x7ff7bfeff988 pc=0x102b4d6
runtime.rt0_go(0x7ff7bfeffa20, 0xf, 0x7ff7bfeffa20, 0x1000000, 0xf, 0x7ff7bfeffbd8, 0x7ff7bfeffc34, 0x7ff7bfeffc3d, 0x7ff7bfeffc4a, 0x7ff7bfeffc50, ...)
/ssd/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff9f8 sp=0x7ff7bfeff9f0 pc=0x1050fe4

Removing and reinstalling ArduinoOTA does not resolve the issue.

Much appreciate the OTA feature, so hopefully, this can get fixed :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions