I get the following error when trying to upload the 'blink' example program to my arduino nano rp2040 connect:
Sketch uses 90046 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 43488 bytes (16%) of dynamic memory, leaving 226848 bytes for local variables. Maximum is 270336 bytes.
Performing 1200-bps touch reset on serial port /dev/ttyACM0
"/home/johan/.arduino15/packages/arduino/tools/rp2040tools/1.0.6/rp2040load" -v -D "/tmp/arduino-sketch-33DB04755A7CAABD6B6BDAAB93E95BB5/Blink.ino.elf"
rp2040load 1.0.6 - compiled with go1.16.2
.....................
Failed uploading: uploading error: exit status 1
I am using arch linux kernel version: 6.1.1-arch1-1 and get the same error on two separate computers with the same OS.
I am using arduino IDE version 2.0.3 (installed from the arduino-ide-bin package).
I have loaded the cdc_acm kernel module.
I added myself to the uucp group
~ ) sudo usermod -a -G uucp johan
[sudo] password for johan:
~ ) newgrp uucp
When I plug the arduino in, it appears on /dev/ttyACM0, and get automatically selected in the IDE.
The first time I connected the arduino, the IDE asked if I want to install the Arduino Mbed OS nano boards [v3.5.1]. I clicked yes, and it seemed to install successfully.
dmesg output:
[ 1054.876808] usb 2-2: new full-speed USB device number 9 using xhci_hcd
[ 1055.018953] usb 2-2: New USB device found, idVendor=2341, idProduct=005e, bcdDevice= 1.01
[ 1055.018979] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1055.018988] usb 2-2: Product: Nano RP2040 Connect
[ 1055.018995] usb 2-2: Manufacturer: Arduino
[ 1055.019001] usb 2-2: SerialNumber: 06C63450185F6492
[ 1055.024310] cdc_acm 2-2:1.0: ttyACM0: USB ACM device
When I try to upload the blink program, I get the error above (
Failed uploading: uploading error: exit status 1).
If I press the button on the arduino twice, something gets mounted under /run/media/johan/RPI-RP2
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 238.5G 0 disk
└─sda1 8:1 0 238.5G 0 part /
sdb 8:16 1 128M 0 disk
└─sdb1 8:17 1 128M 0 part /run/media/johan/RPI-RP2
ls -l /run/media/johan/RPI-RP2/
total 8
-r--r--r-- 1 johan sys 241 Sep 5 2008 INDEX.HTM
-r--r--r-- 1 johan sys 62 Sep 5 2008 INFO_UF2.TXT
Now the IDE says Arduino nano rp2040 connect [not connected] in the bottom right, and I cannot upload the program (same error as before).
/dev/ttyACM0 is no longer there
l /dev/ttyACM0
ls: cannot access '/dev/ttyACM0': No such file or directory
Some more dmesg output after this:
[ 1699.646484] usb 2-2: USB disconnect, device number 9
[ 1700.335631] usb 2-2: new full-speed USB device number 10 using xhci_hcd
[ 1700.476685] usb 2-2: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00
[ 1700.476709] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1700.476718] usb 2-2: Product: RP2 Boot
[ 1700.476726] usb 2-2: Manufacturer: Raspberry Pi
[ 1700.476733] usb 2-2: SerialNumber: E0C9125B0D9B
[ 1700.479579] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 1700.496854] scsi host4: usb-storage 2-2:1.0
[ 1701.502785] scsi 4:0:0:0: Direct-Access RPI RP2 3 PQ: 0 ANSI: 2
[ 1701.507362] sd 4:0:0:0: [sdb] 262144 512-byte logical blocks: (134 MB/128 MiB)
[ 1701.507763] sd 4:0:0:0: [sdb] Write Protect is off
[ 1701.507776] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 1701.508201] sd 4:0:0:0: [sdb] No Caching mode page found
[ 1701.508212] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 1701.514229] sdb: sdb1
[ 1701.514711] sd 4:0:0:0: [sdb] Attached SCSI removable disk
If I stop udiskie, a program I use to automatically mount USB disks, pull out the cable and put it back in, then /dev/ttyACM0 is back.
If I try to upload again, I get the same error. If I press the button on the arduino twice again, something now gets mounted like this:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 238.5G 0 disk
└─sda1 8:1 0 238.5G 0 part /
sdb 8:16 1 128M 0 disk
└─sdb1 8:17 1 128M 0 part /media/RPI-RP2
ls -l /media/RPI-RP2/
total 8
-r--r--r-- 1 johan sys 241 Sep 5 2008 INDEX.HTM
-r--r--r-- 1 johan sys 62 Sep 5 2008 INFO_UF2.TXT
dmesg
[ 2162.456236] usb 2-2: USB disconnect, device number 10
[ 2164.972794] usb 2-2: new full-speed USB device number 11 using xhci_hcd
[ 2165.114861] usb 2-2: New USB device found, idVendor=2341, idProduct=005e, bcdDevice= 1.01
[ 2165.114888] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2165.114898] usb 2-2: Product: Nano RP2040 Connect
[ 2165.114905] usb 2-2: Manufacturer: Arduino
[ 2165.114910] usb 2-2: SerialNumber: 06C63450185F6492
[ 2165.121742] cdc_acm 2-2:1.0: ttyACM0: USB ACM device
[ 2263.690865] usb 2-2: USB disconnect, device number 11
[ 2264.323443] usb 2-2: new full-speed USB device number 12 using xhci_hcd
[ 2264.467793] usb 2-2: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00
[ 2264.467816] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2264.467825] usb 2-2: Product: RP2 Boot
[ 2264.467831] usb 2-2: Manufacturer: Raspberry Pi
[ 2264.467838] usb 2-2: SerialNumber: E0C9125B0D9B
[ 2264.476151] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 2264.493492] scsi host4: usb-storage 2-2:1.0
[ 2265.513881] scsi 4:0:0:0: Direct-Access RPI RP2 3 PQ: 0 ANSI: 2
[ 2265.514608] sd 4:0:0:0: [sdb] 262144 512-byte logical blocks: (134 MB/128 MiB)
[ 2265.514974] sd 4:0:0:0: [sdb] Write Protect is off
[ 2265.514980] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2265.515359] sd 4:0:0:0: [sdb] No Caching mode page found
[ 2265.515364] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2265.522542] sdb: sdb1
[ 2265.522855] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Does anyone have any ideas about how I can get it to work? Could there be some issue with how the USB cable is treated by the OS? Thanks.
Some logs from arduino-ide:
Arduino IDE 2.0.3
Starting backend process. PID: 11161
libva error: /usr/lib/dri/iHD_drv_video.so init failed
[11184:0104/102523.374083:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/johan/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-01-04T09:25:28.155Z root INFO Backend Object.initialize: 35.5 ms [Finished 5.221 s after backend start]
2023-01-04T09:25:28.156Z root INFO Backend Object.configure: 28.1 ms [Finished 5.222 s after backend start]
2023-01-04T09:25:28.156Z root INFO Backend MessagingContribution.onStart: 12.4 ms [Finished 5.222 s after backend start]
2023-01-04T09:25:28.163Z root INFO Backend OSBackendApplicationContribution.configure: 2.5 ms [Finished 5.453 s after backend start]
2023-01-04T09:25:28.168Z root INFO Backend DefaultWorkspaceServer.onStart: 2.1 ms [Finished 5.453 s after backend start]
2023-01-04T09:25:28.178Z root INFO Backend PluginLocalizationBackendContribution.configure: 1.0 ms [Finished 5.454 s after backend start]
2023-01-04T09:25:28.183Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 231.8 ms [Finished 5.456 s after backend start]
2023-01-04T09:25:28.184Z root INFO Backend TaskBackendApplicationContribution.onStart: 1.9 ms [Finished 5.456 s after backend start]
2023-01-04T09:25:28.196Z root INFO Backend ElectronTokenBackendContribution.configure: 6.0 ms [Finished 5.463 s after backend start]
2023-01-04T09:25:28.203Z root INFO Backend PluginDeployerContribution.initialize: 5.2 ms [Finished 5.466 s after backend start]
2023-01-04T09:25:28.206Z root INFO Backend ConfigServiceImpl.onStart: 6.6 ms [Finished 5.470 s after backend start]
2023-01-04T09:25:28.216Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 3.8 ms [Finished 5.480 s after backend start]
2023-01-04T09:25:28.217Z root INFO Backend ArduinoDaemonImpl.onStart: 8.7 ms [Finished 5.486 s after backend start]
2023-01-04T09:25:28.218Z root INFO Backend NodeFileUploadService.configure: 16.9 ms [Finished 5.487 s after backend start]
2023-01-04T09:25:28.219Z daemon INFO Starting daemon from /opt/arduino-ide/resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-01-04T09:25:28.220Z discovery-log INFO start
2023-01-04T09:25:28.220Z discovery-log INFO start new deferred
2023-01-04T09:25:28.221Z root INFO Backend HostedPluginLocalizationService.initialize: 6.0 ms [Finished 5.499 s after backend start]
2023-01-04T09:25:28.221Z root INFO Backend BoardDiscovery.onStart: 11.2 ms [Finished 5.506 s after backend start]
2023-01-04T09:25:28.222Z root INFO Backend FileDownloadEndpoint.configure: 8.0 ms [Finished 5.509 s after backend start]
2023-01-04T09:25:28.224Z root INFO Backend AuthenticationServiceImpl.onStart: 4.0 ms [Finished 5.519 s after backend start]
2023-01-04T09:25:28.224Z root INFO Backend PluginApiContribution.configure: 4.7 ms [Finished 5.520 s after backend start]
2023-01-04T09:25:28.228Z root INFO Backend HostedPluginReader.configure: 1.9 ms [Finished 5.524 s after backend start]
2023-01-04T09:25:28.229Z root INFO Backend HostedPluginReader.configure: 1.2 ms [Finished 5.527 s after backend start]
2023-01-04T09:25:28.229Z root INFO Backend PlotterBackendContribution.configure: 3.0 ms [Finished 5.531 s after backend start]
2023-01-04T09:25:28.248Z root INFO Theia app listening on http://localhost:37241.
2023-01-04T09:25:28.251Z root INFO Finished starting backend application: 28.8 ms [Finished 5.551 s after backend start]
2023-01-04T09:25:28.262Z root WARN The local plugin referenced by local-dir:/home/johan/.arduinoIDE/plugins does not exist.
2023-01-04T09:25:28.263Z root WARN The local plugin referenced by local-dir:/home/johan/.arduinoIDE/extensions does not exist.
2023-01-04T09:25:28.266Z root WARN The local plugin referenced by local-dir:/home/johan/.arduinoProIDE/plugins does not exist.
2023-01-04T09:25:28.346Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.347Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-01-04T09:25:28.347Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.348Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-01-04T09:25:28.348Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.349Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-01-04T09:25:28.349Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.350Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-01-04T09:25:28.350Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.350Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-01-04T09:25:28.351Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.351Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-01-04T09:25:28.351Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.352Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-01-04T09:25:28.352Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.352Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-01-04T09:25:28.353Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.353Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-01-04T09:25:28.354Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.355Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-01-04T09:25:28.356Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.356Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-01-04T09:25:28.357Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.357Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-01-04T09:25:28.358Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.358Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-01-04T09:25:28.358Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.359Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-01-04T09:25:28.359Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.359Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-01-04T09:25:28.360Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.360Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-01-04T09:25:28.360Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.361Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-01-04T09:25:28.361Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.362Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-01-04T09:25:28.362Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.362Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-01-04T09:25:28.363Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.363Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-01-04T09:25:28.364Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-04T09:25:28.365Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-01-04T09:25:28.507Z daemon INFO INFO[0000] Using config file: /home/johan/.arduinoIDE/arduino-cli.yaml
INFO[0000] arduino-cli version 0.29.0
INFO[0000] Executing `arduino-cli daemon`
2023-01-04T09:25:28.597Z daemon INFO {"IP":"127.0.0.1","Port":"34845"}
2023-01-04T09:25:28.600Z daemon INFO Daemon is running.
2023-01-04T09:25:28.711Z daemon INFO INFO[0000] Loading hardware from: /home/johan/.arduino15/packages
INFO[0000] Loading package arduino from: /home/johan/.arduino15/packages/arduino/hardware
2023-01-04T09:25:28.774Z daemon INFO INFO[0000] Checking signature error="opening signature file: open /home/johan/.arduino15/packages/arduino/hardware/avr/1.8.6/installed.json.sig: no such file or directory" index=/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.6/installed.json signatureFile=/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.6/installed.json.sig
2023-01-04T09:25:28.780Z root INFO Resolve plugins list: 569.9 ms [Finished 6.080 s after backend start]
2023-01-04T09:25:28.827Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "/opt/arduino-ide/resources/app/plugins/cortex-debug/extension/dist/extension.js": 43.5 ms [Finished 6.126 s after backend start]
2023-01-04T09:25:28.829Z daemon INFO INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="arduino:avr@1.8.6"
2023-01-04T09:25:28.880Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "/opt/arduino-ide/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle": 34.2 ms [Finished 6.164 s after backend start]
2023-01-04T09:25:28.883Z daemon INFO INFO[0000] Checking signature error="opening signature file: open /home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/installed.json.sig: no such file or directory" index=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/installed.json signatureFile=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/installed.json.sig
INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="arduino:mbed_nano@3.5.1"
INFO[0000] Checking existence of 'tools' path: /home/johan/.arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /home/johan/.arduino15/packages/arduino/tools
INFO[0000] Loaded tool tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0000] Loaded tool tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loaded tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0000] Loaded tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0000] Loaded tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0000] Loaded tool tool="arduino:rp2040tools@1.0.6"
INFO[0000] Loading package builtin from: /home/johan/.arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /home/johan/.arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /home/johan/.arduino15/packages/builtin/tools
INFO[0000] Loaded tool tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool tool="builtin:serial-monitor@0.11.0"
2023-01-04T09:25:28.962Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/opt/arduino-ide/resources/app/plugins/vscode-builtin-cpp/extension": 100.2 ms [Finished 6.265 s after backend start]
2023-01-04T09:25:28.975Z daemon INFO INFO[0000] Checking signature index=/home/johan/.arduino15/package_index.json signatureFile=/home/johan/.arduino15/package_index.json.sig trusted=true
2023-01-04T09:25:28.982Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/opt/arduino-ide/resources/app/plugins/vscode-builtin-json/extension": 20.2 ms [Finished 6.285 s after backend start]
2023-01-04T09:25:28.987Z daemon INFO INFO[0000] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries location=platform
INFO[0000] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/libraries location=platform
INFO[0000] Loading libraries index file index=/home/johan/.arduino15/library_index.json
2023-01-04T09:25:28.991Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "/opt/arduino-ide/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain": 7.6 ms [Finished 6.293 s after backend start]
2023-01-04T09:25:29.715Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-bg/extension": 723.6 ms [Finished 7.017 s after backend start]
2023-01-04T09:25:30.156Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-cs/extension": 441.5 ms [Finished 7.459 s after backend start]
2023-01-04T09:25:30.839Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-de/extension": 681.9 ms [Finished 8.141 s after backend start]
2023-01-04T09:25:30.840Z daemon INFO INFO[0002] Adding libraries dir dir=/home/johan/.arduino15/libraries location=ide
INFO[0002] Adding libraries dir dir=/home/johan/Arduino/libraries location=user
2023-01-04T09:25:30.862Z discovery-log INFO start request start watch
2023-01-04T09:25:30.864Z discovery-log INFO start requested start watch
2023-01-04T09:25:30.864Z discovery-log INFO start resolved watching
2023-01-04T09:25:30.868Z daemon INFO INFO[0002] starting discovery builtin:mdns-discovery process
INFO[0002] starting discovery builtin:serial-discovery process
2023-01-04T09:25:31.305Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-es/extension": 465.5 ms [Finished 8.607 s after backend start]
2023-01-04T09:25:31.323Z daemon INFO INFO[0002] started discovery builtin:mdns-discovery process
INFO[0002] sending command HELLO 1 "arduino-cli 0.29.0" to discovery builtin:mdns-discovery
INFO[0002] started discovery builtin:serial-discovery process
INFO[0002] sending command HELLO 1 "arduino-cli 0.29.0" to discovery builtin:serial-discovery
INFO[0002] from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
INFO[0002] sending command START_SYNC to discovery builtin:mdns-discovery
INFO[0002] from discovery builtin:mdns-discovery received message type: start_sync, message: OK
INFO[0002] from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
INFO[0002] sending command START_SYNC to discovery builtin:serial-discovery
INFO[0002] from discovery builtin:serial-discovery received message type: start_sync, message: OK
INFO[0002] from discovery builtin:serial-discovery received message type: add, port: /dev/ttyACM0
INFO[0002] from discovery builtin:serial-discovery received message type: add, port: /dev/ttyS4
2023-01-04T09:25:31.355Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[{"name":"Arduino Nano RP2040 Connect","fqbn":"arduino:mbed_nano:nanorp2040connect","isHidden":false}],"port":{"address":"/dev/ttyACM0","label":"/dev/ttyACM0","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x005e"],["serialNumber","06C63450185F6492"],["vid","0x2341"]]}},"error":""}
2023-01-04T09:25:31.379Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/ttyS4","label":"/dev/ttyS4","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
2023-01-04T09:25:31.837Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-fr/extension": 531.9 ms [Finished 9.139 s after backend start]
2023-01-04T09:25:32.150Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-hu/extension": 313.0 ms [Finished 9.452 s after backend start]
2023-01-04T09:25:32.381Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-it/extension": 230.6 ms [Finished 9.683 s after backend start]
2023-01-04T09:25:32.646Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-ja/extension": 264.4 ms [Finished 9.948 s after backend start]
2023-01-04T09:25:32.910Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-ko/extension": 263.9 ms [Finished 10.212 s after backend start]
2023-01-04T09:25:33.043Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-nl/extension": 133.4 ms [Finished 10.346 s after backend start]
2023-01-04T09:25:33.299Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-pl/extension": 256.2 ms [Finished 10.602 s after backend start]
2023-01-04T09:25:33.626Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-pt-BR/extension": 326.2 ms [Finished 10.928 s after backend start]
2023-01-04T09:25:33.982Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-ru/extension": 355.6 ms [Finished 11.284 s after backend start]
2023-01-04T09:25:34.256Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-tr/extension": 273.9 ms [Finished 11.558 s after backend start]
2023-01-04T09:25:34.491Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-uk/extension": 234.9 ms [Finished 11.794 s after backend start]
(arduino-ide:11140): GLib-GIO-CRITICAL **: 10:25:34.603: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
2023-01-04T09:25:34.901Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "/opt/arduino-ide/resources/app/plugins/vscode-language-pack-zh-hans/extension": 326.5 ms [Finished 12.121 s after backend start]
2023-01-04T09:25:34.901Z root INFO Deploy plugins list: 569.9 ms [Finished 12.204 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-01-04T09:25:42.300Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1981.6 ms [Finished 12.669 s after frontend start]
2023-01-04T09:25:42.401Z root WARN Frontend commands.onStart took longer than the expected maximum 100 milliseconds: 574.1 ms [Finished 13.259 s after frontend start]
2023-01-04T09:25:42.914Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 347.3 ms [Finished 13.619 s after frontend start]
2023-01-04T09:25:43.039Z root WARN Frontend menus.onStart took longer than the expected maximum 100 milliseconds: 253.5 ms [Finished 13.873 s after frontend start]
2023-01-04T09:25:43.166Z root WARN Frontend h.onStart took longer than the expected maximum 100 milliseconds: 123.6 ms [Finished 14.000 s after frontend start]
2023-01-04T09:25:43.177Z root WARN Frontend h.onStart took longer than the expected maximum 100 milliseconds: 101.8 ms [Finished 14.120 s after frontend start]
2023-01-04T09:25:44.594Z root WARN Frontend l.onStart took longer than the expected maximum 100 milliseconds: 1262.7 ms [Finished 15.500 s after frontend start]
2023-01-04T09:25:45.217Z root INFO Start frontend contributions: 5611.8 ms [Finished 15.577 s after frontend start]
2023-01-04T09:25:45.222Z root INFO Changed application state from 'init' to 'started_contributions'.
2023-01-04T09:25:45.303Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2023-01-04T09:25:45.307Z root INFO >>> Restoring the layout state...
2023-01-04T09:25:45.312Z root INFO <<< Nothing to restore.
2023-01-04T09:25:45.544Z root WARN Frontend a.initializeLayout took longer than the expected maximum 100 milliseconds: 171.6 ms [Finished 16.487 s after frontend start]
2023-01-04T09:25:45.722Z root INFO Initialize the workbench layout: 336.6 ms [Finished 16.597 s after frontend start]
2023-01-04T09:25:45.880Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2023-01-04T09:25:46.479Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c] Waiting for backend deployment: 1863.4 ms [Finished 17.390 s after frontend start]
2023-01-04T09:25:47.720Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278) starting instance
Checking for update
2023-01-04T09:25:51.152Z root INFO Frontend application start: 9454.4 ms [Finished 28.237 s after backend start]
2023-01-04T09:25:51.198Z root INFO Replace loading indicator with ready workbench UI (animation): 1827.0 ms [Finished 18.503 s after frontend start]
2023-01-04T09:25:51.203Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2023-01-04T09:25:51.204Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2023-01-04T09:25:52.327Z root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///tmp/.arduinoIDE-unsaved202304-11161-cr34vz.wwytp/sketch_jan4a/sketch_jan4a.ino
Update for version 2.0.3 is not available (latest version: 2.0.3, downgrade is allowed).
2023-01-04T09:25:59.873Z root ERROR ---- !!!SLOW!!! DURATION: search took 8552.855 ms. Args: [{"type":"Updatable"}] ----
2023-01-04T09:25:59.899Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c] Sync of 21 plugins: 9347.9 ms [Finished 26.738 s after frontend start]
2023-01-04T09:25:59.900Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][marus25.cortex-debug]: Loaded contributions.
2023-01-04T09:25:59.900Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][arduino.vscode-arduino-tools]: Loaded contributions.
2023-01-04T09:25:59.901Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.cpp]: Loaded contributions.
2023-01-04T09:25:59.901Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.json]: Loaded contributions.
2023-01-04T09:25:59.902Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.json-language-features]: Loaded contributions.
2023-01-04T09:25:59.902Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
2023-01-04T09:25:59.903Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
2023-01-04T09:25:59.903Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
2023-01-04T09:25:59.904Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
2023-01-04T09:25:59.904Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
2023-01-04T09:25:59.905Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
2023-01-04T09:25:59.905Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
2023-01-04T09:25:59.905Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
2023-01-04T09:25:59.906Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
2023-01-04T09:25:59.906Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
2023-01-04T09:25:59.906Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
2023-01-04T09:25:59.907Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
2023-01-04T09:25:59.907Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
2023-01-04T09:25:59.907Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
2023-01-04T09:25:59.908Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
2023-01-04T09:25:59.908Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
2023-01-04T09:25:59.908Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c] Load contributions of 21 plugins: 288.7 ms [Finished 27.028 s after frontend start]
2023-01-04T09:26:00.513Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-01-04T09:26:00.519Z root WARN a registered grammar configuration for 'cpp' language is overridden
2023-01-04T09:26:00.644Z root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///tmp/.arduinoIDE-unsaved202304-11161-cr34vz.wwytp/sketch_jan4a/sketch_jan4a.ino
2023-01-04T09:26:05.482Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): PluginManagerExtImpl/init()
2023-01-04T09:26:05.506Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(cortex-debug@1.5.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.526Z root INFO [hosted-plugin: 11278] Debugger contribution has been registered: cortex-debug
2023-01-04T09:26:05.538Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-arduino-tools@0.0.2-beta.5 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.540Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(cpp@1.52.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.557Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(json@1.46.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.566Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(json-language-features@1.46.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.573Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-bg@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.578Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-cs@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.582Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-de@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.586Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-es@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.593Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-fr@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.598Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-hu@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.601Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-it@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.605Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-ja@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.607Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-ko@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.609Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-nl@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.612Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-pl@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.615Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-pt-BR@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.616Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-ru@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.624Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-tr@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
PLUGIN_HOST(11278): initializing(vscode-language-pack-uk@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.626Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): initializing(vscode-language-pack-zh-hans@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:05.686Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
2023-01-04T09:26:06.016Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][marus25.cortex-debug]: Started plugin.
2023-01-04T09:26:06.024Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][arduino.vscode-arduino-tools]: Started plugin.
2023-01-04T09:26:06.030Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.cpp]: Started plugin.
2023-01-04T09:26:06.049Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.json]: Started plugin.
2023-01-04T09:26:06.051Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][vscode.json-language-features]: Started plugin.
2023-01-04T09:26:06.074Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-bg]: Started plugin.
2023-01-04T09:26:06.075Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-cs]: Started plugin.
2023-01-04T09:26:06.077Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-de]: Started plugin.
2023-01-04T09:26:06.078Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-es]: Started plugin.
2023-01-04T09:26:06.079Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-fr]: Started plugin.
2023-01-04T09:26:06.090Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-hu]: Started plugin.
2023-01-04T09:26:06.093Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-it]: Started plugin.
2023-01-04T09:26:06.100Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ja]: Started plugin.
2023-01-04T09:26:06.101Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ko]: Started plugin.
2023-01-04T09:26:06.103Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-nl]: Started plugin.
2023-01-04T09:26:06.105Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-pl]: Started plugin.
2023-01-04T09:26:06.106Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
2023-01-04T09:26:06.106Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-ru]: Started plugin.
2023-01-04T09:26:06.107Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-tr]: Started plugin.
2023-01-04T09:26:06.108Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-uk]: Started plugin.
2023-01-04T09:26:06.111Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
2023-01-04T09:26:09.106Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/cortex-debug/extension/dist/extension.js)
2023-01-04T09:26:09.404Z root INFO [hosted-plugin: 11278] Debug configuration provider has been registered: cortex-debug, trigger: 1
2023-01-04T09:26:09.417Z root INFO [hosted-plugin: 11278] GDB server console created
2023-01-04T09:26:09.565Z root INFO [8ba8ee3d-2f3b-44a3-8d50-e093734ec91c] Start of 21 plugins: 13392.2 ms [Finished 40.509 s after frontend start]
2023-01-04T09:26:09.695Z root INFO Starting language server: arduino:mbed_nano:nanorp2040connect
2023-01-04T09:26:09.759Z root INFO [hosted-plugin: 11278] PLUGIN_HOST(11278): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle)
2023-01-04T09:26:10.051Z daemon INFO INFO[0041] Searching tools required for board arduino:mbed_nano:nanorp2040connect
2023-01-04T09:26:10.058Z daemon INFO INFO[0041] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0041] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0041] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0041] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0041] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0041] Adding libraries dir dir=/home/johan/.arduino15/libraries location=ide
INFO[0041] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/libraries location=platform
INFO[0041] Adding libraries dir dir=/home/johan/Arduino/libraries location=user
2023-01-04T09:26:10.756Z daemon INFO INFO[0042] Searching tools required for board arduino:mbed_nano:nanorp2040connect
2023-01-04T09:26:10.757Z daemon INFO INFO[0042] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0042] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0042] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0042] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0042] Required tool tool="arduino:rp2040tools@1.0.6"
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-01-04T09:26:31.544Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1887.9 ms [Finished 14.112 s after frontend start]
2023-01-04T09:26:31.548Z root WARN Frontend commands.onStart took longer than the expected maximum 100 milliseconds: 680.9 ms [Finished 14.810 s after frontend start]
2023-01-04T09:26:32.272Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 560.9 ms [Finished 15.429 s after frontend start]
2023-01-04T09:26:32.405Z root WARN Frontend menus.onStart took longer than the expected maximum 100 milliseconds: 207.4 ms [Finished 15.637 s after frontend start]
2023-01-04T09:26:32.528Z root WARN Frontend h.onStart took longer than the expected maximum 100 milliseconds: 133.5 ms [Finished 15.774 s after frontend start]
2023-01-04T09:26:32.548Z root WARN Frontend h.onStart took longer than the expected maximum 100 milliseconds: 113.4 ms [Finished 15.888 s after frontend start]
2023-01-04T09:26:34.322Z root WARN Frontend l.onStart took longer than the expected maximum 100 milliseconds: 1577.4 ms [Finished 17.607 s after frontend start]
2023-01-04T09:26:34.928Z root INFO Start frontend contributions: 6269.8 ms [Finished 17.646 s after frontend start]
2023-01-04T09:26:34.929Z root INFO Changed application state from 'init' to 'started_contributions'.
2023-01-04T09:26:35.085Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2023-01-04T09:26:35.093Z root INFO >>> Restoring the layout state...
2023-01-04T09:26:35.094Z root INFO <<< Nothing to restore.
2023-01-04T09:26:35.264Z root WARN Frontend a.initializeLayout took longer than the expected maximum 100 milliseconds: 107.8 ms [Finished 18.615 s after frontend start]
2023-01-04T09:26:35.445Z root INFO Initialize the workbench layout: 274.0 ms [Finished 18.722 s after frontend start]
2023-01-04T09:26:35.649Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2023-01-04T09:26:35.797Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f] Waiting for backend deployment: 1517.1 ms [Finished 19.134 s after frontend start]
2023-01-04T09:26:40.898Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383) starting instance
2023-01-04T09:26:41.637Z root INFO Frontend application start: 11160.6 ms [Finished 78.926 s after backend start]
2023-01-04T09:26:41.660Z root INFO Replace loading indicator with ready workbench UI (animation): 1742.8 ms [Finished 20.539 s after frontend start]
2023-01-04T09:26:41.665Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2023-01-04T09:26:41.665Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2023-01-04T09:26:41.898Z root INFO Executing startup tasks:
2023-01-04T09:26:41.899Z root INFO - 'arduino-use-inherited-boards-config' , args: [{"selectedBoard":{"fqbn":"arduino:mbed_nano:nanorp2040connect","name":"Arduino Nano RP2040 Connect","port":{"address":"/dev/ttyACM0","addressLabel":"/dev/ttyACM0","protocol":"serial","protocolLabel":"Serial Port (USB)","properties":{"pid":"0x005e","serialNumber":"06C63450185F6492","vid":"0x2341"}},"state":0,"selected":false},"selectedPort":{"address":"/dev/ttyACM0","addressLabel":"/dev/ttyACM0","protocol":"serial","protocolLabel":"Serial Port (USB)","properties":{"pid":"0x005e","serialNumber":"06C63450185F6492","vid":"0x2341"}}}]
2023-01-04T09:26:42.554Z root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///tmp/.arduinoIDE-unsaved202304-11161-1kzk9wl.q4dx/Blink/Blink.ino
2023-01-04T09:26:47.294Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f] Sync of 21 plugins: 11217.7 ms [Finished 30.352 s after frontend start]
2023-01-04T09:26:47.339Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][marus25.cortex-debug]: Loaded contributions.
2023-01-04T09:26:47.343Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][arduino.vscode-arduino-tools]: Loaded contributions.
2023-01-04T09:26:47.344Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.cpp]: Loaded contributions.
2023-01-04T09:26:47.345Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.json]: Loaded contributions.
2023-01-04T09:26:47.345Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.json-language-features]: Loaded contributions.
2023-01-04T09:26:47.346Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
2023-01-04T09:26:47.348Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
2023-01-04T09:26:47.349Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
2023-01-04T09:26:47.359Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
2023-01-04T09:26:47.372Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
2023-01-04T09:26:47.374Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
2023-01-04T09:26:47.375Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
2023-01-04T09:26:47.376Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
2023-01-04T09:26:47.376Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
2023-01-04T09:26:47.441Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
2023-01-04T09:26:47.442Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
2023-01-04T09:26:47.446Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
2023-01-04T09:26:47.450Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
2023-01-04T09:26:47.464Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
2023-01-04T09:26:47.464Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
2023-01-04T09:26:47.465Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
2023-01-04T09:26:47.465Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f] Load contributions of 21 plugins: 276.7 ms [Finished 30.630 s after frontend start]
2023-01-04T09:26:51.558Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-01-04T09:26:51.561Z root WARN a registered grammar configuration for 'cpp' language is overridden
2023-01-04T09:26:52.115Z root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///tmp/.arduinoIDE-unsaved202304-11161-1kzk9wl.q4dx/Blink/Blink.ino
2023-01-04T09:26:56.483Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): PluginManagerExtImpl/init()
2023-01-04T09:26:56.526Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(cortex-debug@1.5.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.552Z root INFO [hosted-plugin: 11383] Debugger contribution has been registered: cortex-debug
2023-01-04T09:26:56.565Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-arduino-tools@0.0.2-beta.5 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.568Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(cpp@1.52.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.571Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(json@1.46.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.575Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(json-language-features@1.46.1 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.583Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-bg@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.586Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-cs@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.589Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-de@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.594Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-es@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.604Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-fr@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.609Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-hu@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.613Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-it@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.618Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-ja@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.620Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-ko@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.625Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-nl@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.628Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-pl@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.630Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-pt-BR@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.634Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-ru@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.638Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-tr@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.645Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-uk@1.48.3 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.648Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): initializing(vscode-language-pack-zh-hans@1.53.2 with /opt/arduino-ide/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-04T09:26:56.686Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
2023-01-04T09:26:56.846Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][marus25.cortex-debug]: Started plugin.
2023-01-04T09:26:56.862Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][arduino.vscode-arduino-tools]: Started plugin.
2023-01-04T09:26:56.862Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.cpp]: Started plugin.
2023-01-04T09:26:56.862Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.json]: Started plugin.
2023-01-04T09:26:56.862Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][vscode.json-language-features]: Started plugin.
2023-01-04T09:26:56.862Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-bg]: Started plugin.
2023-01-04T09:26:56.863Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-cs]: Started plugin.
2023-01-04T09:26:56.863Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-de]: Started plugin.
2023-01-04T09:26:56.863Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-es]: Started plugin.
2023-01-04T09:26:56.863Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-fr]: Started plugin.
2023-01-04T09:26:56.868Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-hu]: Started plugin.
2023-01-04T09:26:56.868Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-it]: Started plugin.
2023-01-04T09:26:56.869Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ja]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ko]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-nl]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-pl]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-ru]: Started plugin.
2023-01-04T09:26:56.896Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-tr]: Started plugin.
2023-01-04T09:26:56.899Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-uk]: Started plugin.
2023-01-04T09:26:56.901Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
2023-01-04T09:26:56.943Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/cortex-debug/extension/dist/extension.js)
2023-01-04T09:26:57.058Z root INFO [hosted-plugin: 11383] Debug configuration provider has been registered: cortex-debug, trigger: 1
GDB server console created
2023-01-04T09:26:57.115Z root INFO [ecf8c89f-65d2-4e4e-a292-ae84c656b95f] Start of 21 plugins: 9684.7 ms [Finished 40.482 s after frontend start]
2023-01-04T09:26:57.180Z root INFO Starting language server: arduino:mbed_nano:nanorp2040connect
2023-01-04T09:26:57.221Z root INFO [hosted-plugin: 11383] PLUGIN_HOST(11383): PluginManagerExtImpl/loadPlugin(/opt/arduino-ide/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle)
2023-01-04T09:26:57.372Z daemon INFO INFO[0088] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0088] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0088] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0088] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0088] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0088] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0088] Adding libraries dir dir=/home/johan/.arduino15/libraries location=ide
2023-01-04T09:26:57.372Z daemon INFO INFO[0088] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/libraries location=platform
INFO[0088] Adding libraries dir dir=/home/johan/Arduino/libraries location=user
2023-01-04T09:26:57.734Z daemon INFO INFO[0089] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0089] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
2023-01-04T09:26:57.735Z daemon INFO INFO[0089] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0089] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0089] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0089] Required tool tool="arduino:rp2040tools@1.0.6"
2023-01-04T09:27:19.816Z daemon INFO INFO[0111] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0111] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0111] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0111] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0111] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0111] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0111] Adding libraries dir dir=/home/johan/.arduino15/libraries location=ide
INFO[0111] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/libraries location=platform
INFO[0111] Adding libraries dir dir=/home/johan/Arduino/libraries location=user
2023-01-04T09:27:27.049Z root INFO Executing 'arduino.languageserver.notifyBuildDidComplete' with {"buildOutputUri":"file:///tmp/arduino-sketch-54279CD43C487DA490B3D2E2F99C027B"}
2023-01-04T09:27:27.128Z daemon INFO INFO[0118] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0118] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0118] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0118] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0118] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0118] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0118] Tool required for upload tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0118] Tool required for upload tool="arduino:bossac@1.9.1-arduino2"
INFO[0118] Tool required for upload tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0118] Tool required for upload tool="arduino:openocd@0.11.0-arduino2"
INFO[0118] Tool required for upload tool="arduino:rp2040tools@1.0.6"
INFO[0118] Tool required for upload tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0118] Tool required for upload tool="builtin:mdns-discovery@1.0.6"
INFO[0118] Tool required for upload tool="builtin:serial-monitor@0.11.0"
INFO[0118] Tool required for upload tool="arduino:arduinoOTA@1.3.0"
INFO[0118] Tool required for upload tool="arduino:avrdude@6.3.0-arduino17"
INFO[0118] Tool required for upload tool="builtin:ctags@5.8-arduino11"
INFO[0118] Tool required for upload tool="builtin:serial-discovery@1.3.2"
2023-01-04T09:27:27.137Z daemon INFO INFO[0118] Performing 1200-bps touch reset on serial port /dev/ttyACM0 phase="board reset"
2023-01-04T09:27:27.368Z daemon INFO INFO[0118] from discovery builtin:serial-discovery received message type: remove, port: /dev/ttyACM0
2023-01-04T09:27:27.380Z discovery-log INFO {"eventType":"remove","port":{"matchingBoardsList":[],"port":{"address":"/dev/ttyACM0","label":"","protocol":"serial","protocolLabel":"","propertiesMap":[]}},"error":""}
2023-01-04T09:27:28.159Z daemon INFO INFO[0119] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0119] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0119] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0119] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0119] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0119] Required tool tool="arduino:rp2040tools@1.0.6"
2023-01-04T09:27:28.435Z root INFO Attached boards and available ports changed:
2023-01-04T09:27:28.444Z root INFO - Detached board: Arduino Nano RP2040 Connect [arduino:mbed_nano:nanorp2040connect] from /dev/ttyACM0 Serial Port (USB)
2023-01-04T09:27:28.444Z root INFO ------------------------------------------
2023-01-04T09:27:28.454Z root INFO Attached boards and available ports changed:
2023-01-04T09:27:28.455Z root INFO - Detached board: Arduino Nano RP2040 Connect [arduino:mbed_nano:nanorp2040connect] from /dev/ttyACM0 Serial Port (USB)
2023-01-04T09:27:28.455Z root INFO ------------------------------------------
2023-01-04T09:30:22.478Z daemon INFO INFO[0294] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0294] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0294] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0294] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0294] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0294] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0294] Adding libraries dir dir=/home/johan/.arduino15/libraries location=ide
INFO[0294] Adding libraries dir dir=/home/johan/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/libraries location=platform
INFO[0294] Adding libraries dir dir=/home/johan/Arduino/libraries location=user
2023-01-04T09:30:24.322Z root INFO Executing 'arduino.languageserver.notifyBuildDidComplete' with {"buildOutputUri":"file:///tmp/arduino-sketch-54279CD43C487DA490B3D2E2F99C027B"}
2023-01-04T09:30:24.327Z daemon INFO INFO[0295] Searching tools required for board arduino:mbed_nano:nanorp2040connect
2023-01-04T09:30:24.327Z daemon INFO INFO[0295] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0295] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0295] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0295] Required tool tool="arduino:openocd@0.11.0-arduino2"
INFO[0295] Required tool tool="arduino:rp2040tools@1.0.6"
INFO[0295] Tool required for upload tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0295] Tool required for upload tool="arduino:bossac@1.9.1-arduino2"
INFO[0295] Tool required for upload tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0295] Tool required for upload tool="arduino:openocd@0.11.0-arduino2"
INFO[0295] Tool required for upload tool="arduino:rp2040tools@1.0.6"
INFO[0295] Tool required for upload tool="builtin:mdns-discovery@1.0.6"
INFO[0295] Tool required for upload tool="builtin:serial-discovery@1.3.2"
INFO[0295] Tool required for upload tool="builtin:serial-monitor@0.11.0"
INFO[0295] Tool required for upload tool="builtin:ctags@5.8-arduino11"
INFO[0295] Tool required for upload tool="arduino:avrdude@6.3.0-arduino17"
INFO[0295] Tool required for upload tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0295] Tool required for upload tool="arduino:arduinoOTA@1.3.0"
2023-01-04T09:30:24.335Z daemon INFO INFO[0295] Performing 1200-bps touch reset on serial port /dev/ttyS4 phase="board reset"
2023-01-04T09:30:25.327Z daemon INFO INFO[0296] Searching tools required for board arduino:mbed_nano:nanorp2040connect
INFO[0296] Required tool tool="arduino:arm-none-eabi-gcc@7-2017q4"
INFO[0296] Required tool tool="arduino:bossac@1.9.1-arduino2"
INFO[0296] Required tool tool="arduino:dfu-util@0.10.0-arduino1"
INFO[0296] Required tool tool="arduino:openocd@0.11.0-arduino2"
2023-01-04T09:30:25.327Z daemon INFO INFO[0296] Required tool tool="arduino:rp2040tools@1.0.6"
2023-01-04T09:31:04.207Z daemon INFO INFO[0335] from discovery builtin:serial-discovery received message type: add, port: /dev/ttyACM0
2023-01-04T09:31:04.209Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[{"name":"Arduino Nano RP2040 Connect","fqbn":"arduino:mbed_nano:nanorp2040connect","isHidden":false}],"port":{"address":"/dev/ttyACM0","label":"/dev/ttyACM0","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x005e"],["serialNumber","06C63450185F6492"],["vid","0x2341"]]}},"error":""}
2023-01-04T09:31:04.281Z root INFO Attached boards and available ports changed:
2023-01-04T09:31:04.281Z root INFO - Attached board: Arduino Nano RP2040 Connect [arduino:mbed_nano:nanorp2040connect] on /dev/ttyACM0 Serial Port (USB)
2023-01-04T09:31:04.283Z root INFO ------------------------------------------
2023-01-04T09:31:04.294Z root INFO Attached boards and available ports changed:
2023-01-04T09:31:04.295Z root INFO - Attached board: Arduino Nano RP2040 Connect [arduino:mbed_nano:nanorp2040connect] on /dev/ttyACM0 Serial Port (USB)
2023-01-04T09:31:04.295Z root INFO ------------------------------------------
Edit: Adding udevadm info
sudo udevadm info --attribute-walk --path=(sudo udevadm info --query=path --name=/dev/ttyACM0)
looking at device '/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0':
KERNEL=="ttyACM0"
SUBSYSTEM=="tty"
DRIVER==""
ATTR{power/control}=="auto"
ATTR{power/runtime_active_time}=="0"
ATTR{power/runtime_status}=="unsupported"
ATTR{power/runtime_suspended_time}=="0"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0':
KERNELS=="2-2:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="cdc_acm"
ATTRS{authorized}=="1"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceClass}=="02"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bInterfaceProtocol}=="01"
ATTRS{bInterfaceSubClass}=="02"
ATTRS{bNumEndpoints}=="01"
ATTRS{bmCapabilities}=="6"
ATTRS{iad_bFirstInterface}=="00"
ATTRS{iad_bFunctionClass}=="02"
ATTRS{iad_bFunctionProtocol}=="00"
ATTRS{iad_bFunctionSubClass}=="02"
ATTRS{iad_bInterfaceCount}=="02"
ATTRS{physical_location/dock}=="no"
ATTRS{physical_location/horizontal_position}=="left"
ATTRS{physical_location/lid}=="no"
ATTRS{physical_location/panel}=="back"
ATTRS{physical_location/vertical_position}=="center"
ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb2/2-2':
KERNELS=="2-2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="ef"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="02"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="500mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 2"
ATTRS{bcdDevice}=="0101"
ATTRS{bmAttributes}=="c0"
ATTRS{busnum}=="2"
ATTRS{configuration}==""
ATTRS{devnum}=="21"
ATTRS{devpath}=="2"
ATTRS{idProduct}=="005e"
ATTRS{idVendor}=="2341"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Arduino"
ATTRS{maxchild}=="0"
ATTRS{physical_location/dock}=="no"
ATTRS{physical_location/horizontal_position}=="left"
ATTRS{physical_location/lid}=="no"
ATTRS{physical_location/panel}=="back"
ATTRS{physical_location/vertical_position}=="center"
ATTRS{power/active_duration}=="83584"
ATTRS{power/autosuspend}=="2"
ATTRS{power/autosuspend_delay_ms}=="2000"
ATTRS{power/connected_duration}=="83584"
ATTRS{power/control}=="on"
ATTRS{power/level}=="on"
ATTRS{power/persist}=="1"
ATTRS{power/runtime_active_time}=="83319"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{product}=="Nano RP2040 Connect"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="removable"
ATTRS{remove}=="(not readable)"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="06C63450185F6492"
ATTRS{speed}=="12"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="13"
ATTRS{version}==" 2.00"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb2':
KERNELS=="usb2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{authorized_default}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bMaxPower}=="0mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bcdDevice}=="0601"
ATTRS{bmAttributes}=="e0"
ATTRS{busnum}=="2"
ATTRS{configuration}==""
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{idProduct}=="0002"
ATTRS{idVendor}=="1d6b"
ATTRS{interface_authorized_default}=="1"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Linux 6.1.1-arch1-1 xhci-hcd"
ATTRS{maxchild}=="9"
ATTRS{power/active_duration}=="3180307"
ATTRS{power/autosuspend}=="0"
ATTRS{power/autosuspend_delay_ms}=="0"
ATTRS{power/connected_duration}=="5663750"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/runtime_active_time}=="3181790"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="2481049"
ATTRS{power/wakeup}=="disabled"
ATTRS{power/wakeup_abort_count}==""
ATTRS{power/wakeup_active}==""
ATTRS{power/wakeup_active_count}==""
ATTRS{power/wakeup_count}==""
ATTRS{power/wakeup_expire_count}==""
ATTRS{power/wakeup_last_time_ms}==""
ATTRS{power/wakeup_max_time_ms}==""
ATTRS{power/wakeup_total_time_ms}==""
ATTRS{product}=="xHCI Host Controller"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{remove}=="(not readable)"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="0000:00:14.0"
ATTRS{speed}=="480"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="539"
ATTRS{version}==" 2.00"
looking at parent device '/devices/pci0000:00/0000:00:14.0':
KERNELS=="0000:00:14.0"
SUBSYSTEMS=="pci"
DRIVERS=="xhci_hcd"
ATTRS{ari_enabled}=="0"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x0c0330"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{d3cold_allowed}=="1"
ATTRS{device}=="0x9c31"
ATTRS{dma_mask_bits}=="64"
ATTRS{driver_override}=="(null)"
ATTRS{enable}=="1"
ATTRS{irq}=="46"
ATTRS{local_cpulist}=="0-3"
ATTRS{local_cpus}=="f"
ATTRS{msi_bus}=="1"
ATTRS{msi_irqs/46}=="msi"
ATTRS{numa_node}=="-1"
ATTRS{power/control}=="on"
ATTRS{power/runtime_active_time}=="5666157"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/wakeup}=="enabled"
ATTRS{power/wakeup_abort_count}=="0"
ATTRS{power/wakeup_active}=="0"
ATTRS{power/wakeup_active_count}=="1"
ATTRS{power/wakeup_count}=="0"
ATTRS{power/wakeup_expire_count}=="1"
ATTRS{power/wakeup_last_time_ms}=="885754"
ATTRS{power/wakeup_max_time_ms}=="102"
ATTRS{power/wakeup_total_time_ms}=="102"
ATTRS{power_state}=="D0"
ATTRS{remove}=="(not readable)"
ATTRS{rescan}=="(not readable)"
ATTRS{revision}=="0x04"
ATTRS{subsystem_device}=="0x05cb"
ATTRS{subsystem_vendor}=="0x1028"
ATTRS{vendor}=="0x8086"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_time}=="0"
ATTRS{power/runtime_status}=="unsupported"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{waiting_for_supplier}=="0"
A second option also exists in the arduino IDE (automatically discovered), with 'unknown' arduino type and path /dev/ttyS4, not sure if that's related.
Edit 2:
It seems to work when I use a windows machine, using the same cable.
Edit 3:
I now managed to upload a program successfully. Not 100% sure how I fixed it. But I did the following:
kill all usb device managers (I had several running). I don't think this matters but It might be worth mentioning.
ps ax | grep udiskie
kill <pid>
ps ax | grep devmon
sudo kill <pid>
ps ax | grep udisk
sudo kill <pid>
# Then I started only udiskie, manually
udiskie
I installed the board "Arduino Mbed OS RP2040 Boards" through the board manager. I had "Arduino Mbed OS Nano Boards" before. I don't think this is the fix.
Based on
I ran
sudo ~/.arduino15/packages/arduino/hardware/mbed_rp2040/3.5.1/post_install.sh
# and
sudo ~/.arduino15/packages/arduino/hardware/mbed_nano/3.5.1/post_install.sh
I think one of those fixed it, since they seem to change udev rules in some way.
After that, in the arduino IDE, the automatically selected board looked different, now something called Pico or similar showed up on /dev/ttyACM0, and a rp2040 connect showed up on /dev/ttyS0. I tried uploading a few times, and pressing the reset button a few times, and still got the same error.
After a while though, I could select Arduino Nano RP2040 connect on /dev/ttyACM0. This time the upload succeeded! It seems to continue to work if I unplug the cable and put it back in, also if I change the code.