Hello,
I’m unable to upload even the standard 01.Basics Blink example to a previously working MKR1000 board.
I’ve removed all Arduino board connections to the desktop (viz. Ubuntu 20.04 running IDE v1.18.13) except the one for the MKR1000 board which is now selectable from Tools → Port → /dev/ttyACM0 (Arduino MKR1000) and its presence confirmed by Tools → Get Board Info with entries for BN, VID, PID & SN.
The error message during the sketch upload to the board is:
Arduino: 1.8.13 (Linux), Board: “Arduino MKR1000”
Sketch uses 11216 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 2364 bytes (7%) of dynamic memory, leaving 30404 bytes for local variables. Maximum is 32768 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
PORTS {/dev/ttyACM0, /dev/ttyS0, } / {/dev/ttyACM0, /dev/ttyS0, } => {}
Uploading using selected port: /dev/ttyACM0
/home/reza/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac -i -d --port=ttyACM0 -U true -i -e -w -v /tmp/arduino_build_248152/Blink.ino.bin -R
No device found on ttyACM0
Set binary mode
An error occurred while uploading the sketch
Send auto-baud
Set binary mode
The port appears to have been correctly per the following command:
$ ls /dev/ttyACM*
/dev/ttyACM0
I am not at all knowledgeable about this error (and, of course, hardware errors in general). The board has worked in this environment previously. I have pressed the reset button on the board a few times since the error occurred but to no avail. I don’t have another MKR1000 board to test but testing other boards (UNO, Nano, Nano 33 BLE Sense & ESP8266) individually (by changing the board selection while the port remains the same) seems that the hardware serial port on the desktop is fine except for the MKR1000 use.
Is the MKR1000 board toast?
Kind regards.
P.S.
I had to reinstall libraries through Board Manager. For MKR1000, I am using the library (I presume) Arduino SAMD Boards by Arduino v1.8.8.