A further problem
While trying to program a MKR WIFI 1010 and the IDE indicated at the end of the process 'Port monitor error: command 'open' failed, no such file or directory.
I checked the lsusb and the device was no longer there.
I disconnected the device, gave it a hard reset and it then showed with lsusb and dmesg
I tried reprogramming the device and the failure mode repeated.
hangstrap@acer-linux:~$ lsusb | grep Ardu
Bus 002 Device 011: ID 2341:0054 Arduino SA Arduino MKR WiFi 1010
Bus 003 Device 005: ID 2341:0058 Arduino SA Arduino Nano Every
hangstrap@acer-linux:~$ lsusb | grep Ardu
Bus 003 Device 005: ID 2341:0058 Arduino SA Arduino Nano Every
[Wed Oct 30 17:33:00 2024] usb 2-1.1: new full-speed USB device number 9 using ehci-pci
[Wed Oct 30 17:33:00 2024] usb 2-1.1: New USB device found, idVendor=2341, idProduct=8054, bcdDevice= 1.00
[Wed Oct 30 17:33:00 2024] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Oct 30 17:33:00 2024] usb 2-1.1: Product: Arduino MKR WiFi 1010
[Wed Oct 30 17:33:00 2024] usb 2-1.1: Manufacturer: Arduino LLC
[Wed Oct 30 17:33:00 2024] usb 2-1.1: SerialNumber: 227C6AA550553439392E3120FF131937
[Wed Oct 30 17:33:00 2024] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
[Wed Oct 30 17:49:03 2024] usb 2-1.1: USB disconnect, device number 9
[Wed Oct 30 17:49:03 2024] usb 2-1.1: new full-speed USB device number 10 using ehci-pci
[Wed Oct 30 17:49:03 2024] usb 2-1.1: New USB device found, idVendor=2341, idProduct=0054, bcdDevice= 2.00
[Wed Oct 30 17:49:03 2024] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Wed Oct 30 17:49:03 2024] usb 2-1.1: Product: Arduino MKR WiFi 1010
[Wed Oct 30 17:49:03 2024] usb 2-1.1: Manufacturer: Arduino LLC
[Wed Oct 30 17:49:03 2024] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
[Wed Oct 30 17:49:07 2024] usb 2-1.1: USB disconnect, device number 10
[Wed Oct 30 17:51:38 2024] usb 2-1.1: new full-speed USB device number 11 using ehci-pci
[Wed Oct 30 17:51:38 2024] usb 2-1.1: New USB device found, idVendor=2341, idProduct=0054, bcdDevice= 2.00
[Wed Oct 30 17:51:38 2024] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Wed Oct 30 17:51:38 2024] usb 2-1.1: Product: Arduino MKR WiFi 1010
[Wed Oct 30 17:51:38 2024] usb 2-1.1: Manufacturer: Arduino LLC
[Wed Oct 30 17:51:38 2024] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
[Wed Oct 30 17:52:43 2024] usb 2-1.1: USB disconnect, device number 11
Sketch uses 118524 bytes (45%) of program storage space. Maximum is 262144 bytes.
Global variables use 7252 bytes (22%) of dynamic memory, leaving 25516 bytes for local variables. Maximum is 32768 bytes.
Performing 1200-bps touch reset on serial port /dev/ttyACM0
Waiting for upload port...
No upload port found, using /dev/ttyACM0 as fallback
"/home/hangstrap/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac" -i -d --port=ttyACM0 -U true -i -e -w -v "/tmp/arduino/sketches/DDACA97A3203AA261234C54DC9C4F1E9/dry_gui.ino.bin" -R
Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device : ATSAMD21G18A
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID : 10010005
version()=v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Version : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security : false
Boot Flash : true
readWord(addr=0x40000834)=0
BOD : false
readWord(addr=0x40000834)=0
BOR : false
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.862 seconds
Write 118532 bytes to flash (1853 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)
more
[============================= ] 96% (1792/1853 pages)write(addr=0x20005000,size=0xf40)
writeBuffer(scr_addr=0x20005000, dst_addr=0x1e000, size=0xf40)
[==============================] 100% (1853/1853 pages)
done in 0.715 seconds
Verify 118532 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = 6a34
more...
checksumBuffer(start_addr=0x1e000, size=0xf04) = c06a
Verify successful
done in 0.106 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)
...