Arduino V2 wont open, stuck at boot screen

Hi Guys,

I cannot get any of the V2 Arduino versions to run. I did uninstall V1 & try V2 but to no avail. Just sticks at the pulsing Arduino icon on the opening page.

I'm running Win11 64bit

Can anyone give me any pointers pretty please.

Cheers, Shane

Hopefully this is the correct code required to help me

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.0.3
Starting backend process. PID: 21136
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/spook/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-01-05T17:24:35.838Z root INFO Backend Object.initialize: 4.7 ms [Finished 1.174 s after backend start]
2023-01-05T17:24:35.838Z root INFO Backend Object.configure: 4.0 ms [Finished 1.174 s after backend start]
2023-01-05T17:24:35.838Z root INFO Backend MessagingContribution.onStart: 1.8 ms [Finished 1.174 s after backend start]
2023-01-05T17:24:35.839Z root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 1.208 s after backend start]
2023-01-05T17:24:35.840Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.209 s after backend start]
2023-01-05T17:24:35.840Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.209 s after backend start]
2023-01-05T17:24:35.841Z root INFO Backend PluginLocalizationBackendContribution.initialize: 34.5 ms [Finished 1.209 s after backend start]
2023-01-05T17:24:35.841Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.209 s after backend start]
2023-01-05T17:24:35.842Z root INFO Backend ElectronTokenBackendContribution.configure: 1.0 ms [Finished 1.210 s after backend start]
2023-01-05T17:24:35.843Z root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.210 s after backend start]
2023-01-05T17:24:35.843Z root INFO Backend ConfigServiceImpl.onStart: 0.8 ms [Finished 1.211 s after backend start]
2023-01-05T17:24:35.844Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 1.212 s after backend start]
2023-01-05T17:24:35.844Z root INFO Backend ArduinoDaemonImpl.onStart: 1.0 ms [Finished 1.212 s after backend start]
2023-01-05T17:24:35.845Z root INFO Backend NodeFileUploadService.configure: 1.8 ms [Finished 1.213 s after backend start]
2023-01-05T17:24:35.845Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-01-05T17:24:35.845Z discovery-log INFO start
2023-01-05T17:24:35.845Z discovery-log INFO start new deferred
2023-01-05T17:24:35.845Z root INFO Backend HostedPluginLocalizationService.initialize: 0.5 ms [Finished 1.213 s after backend start]
2023-01-05T17:24:35.846Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 1.214 s after backend start]
2023-01-05T17:24:35.846Z root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 1.214 s after backend start]
2023-01-05T17:24:35.846Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.215 s after backend start]
2023-01-05T17:24:35.846Z root INFO Backend PluginApiContribution.configure: 0.6 ms [Finished 1.216 s after backend start]
2023-01-05T17:24:35.847Z root INFO Backend HostedPluginReader.configure: 0.5 ms [Finished 1.217 s after backend start]
2023-01-05T17:24:35.847Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.217 s after backend start]
2023-01-05T17:24:35.848Z root INFO Backend PlotterBackendContribution.configure: 0.9 ms [Finished 1.219 s after backend start]
2023-01-05T17:24:35.850Z root INFO Theia app listening on http://localhost:32356.
2023-01-05T17:24:35.850Z root INFO Finished starting backend application: 5.0 ms [Finished 1.221 s after backend start]
2023-01-05T17:24:35.861Z root WARN The local plugin referenced by local-dir:/c%3A/Users/spook/.arduinoIDE/plugins does not exist.
2023-01-05T17:24:35.862Z root WARN The local plugin referenced by local-dir:/c%3A/Users/spook/.arduinoIDE/extensions does not exist.
2023-01-05T17:24:35.863Z root WARN The local plugin referenced by local-dir:C:\Users\spook\.arduinoProIDE\plugins does not exist.
Restoring workspace roots: c:\Users\spook\Desktop\HelloWorld.ino
isTempSketch: false. Input was c:\Users\spook\Desktop\HelloWorld.ino
2023-01-05T17:24:35.884Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.884Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-01-05T17:24:35.884Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.884Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-01-05T17:24:35.884Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.885Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-01-05T17:24:35.885Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.885Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-01-05T17:24:35.885Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.885Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-01-05T17:24:35.886Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.886Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-01-05T17:24:35.886Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.886Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-01-05T17:24:35.886Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.887Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-01-05T17:24:35.887Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.887Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-01-05T17:24:35.887Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.887Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-01-05T17:24:35.887Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.888Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-01-05T17:24:35.888Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.888Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-01-05T17:24:35.888Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.888Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-01-05T17:24:35.889Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.889Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-01-05T17:24:35.889Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.889Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-01-05T17:24:35.890Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.890Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-01-05T17:24:35.890Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.890Z 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-05T17:24:35.891Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.891Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-01-05T17:24:35.891Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.891Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-01-05T17:24:35.892Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.892Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-01-05T17:24:35.892Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-05T17:24:35.892Z 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-05T17:24:35.919Z root INFO Resolve plugins list: 75.0 ms [Finished 1.290 s after backend start]
2023-01-05T17:24:35.927Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 7.5 ms [Finished 1.298 s after backend start]
2023-01-05T17:24:35.932Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 4.8 ms [Finished 1.303 s after backend start]
2023-01-05T17:24:35.942Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 9.8 ms [Finished 1.313 s after backend start]
2023-01-05T17:24:35.944Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 2.2 ms [Finished 1.315 s after backend start]
2023-01-05T17:24:35.945Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.9 ms [Finished 1.316 s after backend start]
2023-01-05T17:24:36.016Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 71.1 ms [Finished 1.387 s after backend start]
2023-01-05T17:24:36.035Z daemon INFO INFO[0000] Using config file: c:\Users\spook\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.29.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"32357"}

2023-01-05T17:24:36.036Z daemon INFO Daemon is running.
2023-01-05T17:24:36.126Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 110.4 ms [Finished 1.497 s after backend start]
2023-01-05T17:24:36.132Z daemon INFO INFO[0000] Loading hardware from: C:\Users\spook\AppData\Local\Arduino15\packages

2023-01-05T17:24:36.133Z daemon INFO INFO[0000] Loading package CONTROLLINO_Boards from: C:\Users\spook\AppData\Local\Arduino15\packages\CONTROLLINO_Boards\hardware

2023-01-05T17:24:36.254Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 127.3 ms [Finished 1.625 s after backend start]
2023-01-05T17:24:36.255Z daemon INFO INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="CONTROLLINO_Boards:avr@3.1.0"
INFO[0000] Loading package arduino from: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\hardware
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:avr@1.8.5"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:megaavr@1.8.7"
INFO[0000] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loading tools from dir: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@4.9.2-atmel3.5.3-arduino2"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
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:avrdude@6.3.0-arduino8"
INFO[0000] Loading package builtin from: C:\Users\spook\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\spook\AppData\Local\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.0.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.11.0"
INFO[0000] Loading package teensy from: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\hardware
INFO[0000] Adding monitor tool                           protocol=teensy tool="teensy:teensy-monitor"
INFO[0000] Loaded platform                               platform="teensy:avr@1.57.0"
INFO[0000] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools
INFO[0000] Loading tools from dir: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools
INFO[0000] Loaded tool                                   tool="teensy:teensy-compile@1.56.1"
INFO[0000] Loaded tool                                   tool="teensy:teensy-monitor@1.56.1"
INFO[0000] Loaded tool                                   tool="teensy:teensy-tools@1.56.1"
INFO[0000] Loaded tool                                   tool="teensy:teensy-tools@1.57.0"
INFO[0000] Checking signature                            index="C:\\Users\\spook\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\spook\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries" location=platform
INFO[0000] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries" location=platform
INFO[0000] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.57.0\\libraries" location=platform
INFO[0000] Loading libraries index file                  index="C:\\Users\\spook\\AppData\\Local\\Arduino15\\library_index.json"

2023-01-05T17:24:36.256Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found
2023-01-05T17:24:36.325Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 71.5 ms [Finished 1.696 s after backend start]
2023-01-05T17:24:36.377Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 51.3 ms [Finished 1.748 s after backend start]
2023-01-05T17:24:36.377Z daemon INFO INFO[0000] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir                          dir="C:\\Users\\spook\\Documents\\Arduino\\libraries" location=user

2023-01-05T17:24:36.433Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 56.3 ms [Finished 1.804 s after backend start]
2023-01-05T17:24:36.497Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 64.1 ms [Finished 1.868 s after backend start]
2023-01-05T17:24:36.549Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 51.6 ms [Finished 1.920 s after backend start]
2023-01-05T17:24:36.599Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 49.9 ms [Finished 1.970 s after backend start]
2023-01-05T17:24:36.619Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 20.0 ms [Finished 1.990 s after backend start]
2023-01-05T17:24:36.677Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 58.6 ms [Finished 2.049 s after backend start]
2023-01-05T17:24:36.744Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 66.0 ms [Finished 2.115 s after backend start]
2023-01-05T17:24:36.806Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 61.9 ms [Finished 2.177 s after backend start]
2023-01-05T17:24:36.867Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 61.1 ms [Finished 2.238 s after backend start]
2023-01-05T17:24:36.901Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 34.3 ms [Finished 2.272 s after backend start]
2023-01-05T17:24:36.948Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 46.7 ms [Finished 2.319 s after backend start]
2023-01-05T17:24:36.948Z root INFO Deploy plugins list: 75.0 ms [Finished 2.319 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-05T17:24:37.732Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 194.8 ms [Finished 1.790 s after frontend start]
2023-01-05T17:24:38.638Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-01-05T17:24:38.640Z daemon INFO INFO[0002] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-01-05T17:24:38.642Z root INFO core-client-provider [platform-index]
2023-01-05T17:24:38.977Z daemon INFO INFO[0003] Loading hardware from: C:\Users\spook\AppData\Local\Arduino15\packages

2023-01-05T17:24:38.977Z daemon INFO INFO[0003] Loading package CONTROLLINO_Boards from: C:\Users\spook\AppData\Local\Arduino15\packages\CONTROLLINO_Boards\hardware

2023-01-05T17:24:38.978Z daemon INFO INFO[0003] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0003] Loaded platform                               platform="CONTROLLINO_Boards:avr@3.1.0"

2023-01-05T17:24:38.978Z daemon INFO INFO[0003] Loading package arduino from: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\hardware

2023-01-05T17:24:38.980Z daemon INFO INFO[0003] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0003] Loaded platform                               platform="arduino:avr@1.8.5"

2023-01-05T17:24:38.981Z daemon INFO INFO[0003] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"

2023-01-05T17:24:38.981Z daemon INFO INFO[0003] Loaded platform                               platform="arduino:megaavr@1.8.7"
INFO[0003] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\tools
INFO[0003] Loading tools from dir: C:\Users\spook\AppData\Local\Arduino15\packages\arduino\tools

2023-01-05T17:24:38.982Z daemon INFO INFO[0003] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0003] Loaded tool                                   tool="arduino:avr-gcc@4.9.2-atmel3.5.3-arduino2"
INFO[0003] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
INFO[0003] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

2023-01-05T17:24:38.982Z daemon INFO INFO[0003] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0003] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino8"

2023-01-05T17:24:38.982Z daemon INFO INFO[0003] Loading package builtin from: C:\Users\spook\AppData\Local\Arduino15\packages\builtin

2023-01-05T17:24:38.983Z daemon INFO INFO[0003] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\builtin\tools
INFO[0003] Loading tools from dir: C:\Users\spook\AppData\Local\Arduino15\packages\builtin\tools
INFO[0003] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"

2023-01-05T17:24:38.983Z daemon INFO INFO[0003] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0003] Loaded tool                                   tool="builtin:serial-discovery@1.0.0"
INFO[0003] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"

2023-01-05T17:24:38.983Z daemon INFO INFO[0003] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0003] Loaded tool                                   tool="builtin:serial-monitor@0.11.0"

2023-01-05T17:24:38.984Z daemon INFO INFO[0003] Loading package teensy from: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\hardware

2023-01-05T17:24:38.985Z daemon INFO INFO[0003] Adding monitor tool                           protocol=teensy tool="teensy:teensy-monitor"
INFO[0003] Loaded platform                               platform="teensy:avr@1.57.0"

2023-01-05T17:24:38.986Z daemon INFO INFO[0003] Checking existence of 'tools' path: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools
INFO[0003] Loading tools from dir: C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools

2023-01-05T17:24:38.986Z daemon INFO INFO[0003] Loaded tool                                   tool="teensy:teensy-compile@1.56.1"
INFO[0003] Loaded tool                                   tool="teensy:teensy-monitor@1.56.1"

2023-01-05T17:24:38.986Z daemon INFO INFO[0003] Loaded tool                                   tool="teensy:teensy-tools@1.56.1"
INFO[0003] Loaded tool                                   tool="teensy:teensy-tools@1.57.0"

2023-01-05T17:24:38.991Z daemon INFO INFO[0003] Checking signature                            index="C:\\Users\\spook\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\spook\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true

2023-01-05T17:24:38.992Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found
2023-01-05T17:24:38.995Z daemon INFO INFO[0003] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries" location=platform

2023-01-05T17:24:38.997Z daemon INFO INFO[0003] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries" location=platform

2023-01-05T17:24:38.999Z daemon INFO INFO[0003] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.57.0\\libraries" location=platform
INFO[0003] Loading libraries index file                  index="C:\\Users\\spook\\AppData\\Local\\Arduino15\\library_index.json"

2023-01-05T17:24:39.119Z daemon INFO INFO[0003] Adding libraries dir                          dir="C:\\Users\\spook\\AppData\\Local\\Arduino15\\libraries" location=ide

2023-01-05T17:24:39.120Z daemon INFO INFO[0003] Adding libraries dir                          dir="C:\\Users\\spook\\Documents\\Arduino\\libraries" location=user

2023-01-05T17:24:40.962Z root ERROR Uncaught Exception:
2023-01-05T17:24:40.962Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery teensy:teensy-discovery not found

    at isIndexUpdateRequiredBeforeInit (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:378:11)
    at CoreClientProvider.evaluateErrorStatus (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:190:16)
    at ClientReadableStreamImpl.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:175:36)
    at ClientReadableStreamImpl.emit (node:events:394:28)
    at endReadableNT (node:internal/streams/readable:1331:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Sorry, @ptillisch will understand the information you provided far more than I do and hopefully will give you some better solutions.

The one thing I noticed was it looked like you have some Teensy stuff installed, but the part of it not there. teensy:teensy-discovery not found.

Wondering if maybe a virus discovery setup like Norton or the like maybe decided that it did not like it and quarantined it.?

When I get strange results like this, I often probably use too big of a sledgehammer to see if I can fix it.

In this case I would probably do something like go to my Arduino15 directory
C:\Users\ME\AppData\Local\Arduino15\packages
and delete the Teensy directory and see if that gets me up and running. If so then try to reinstall the teensy.

If that does not work, I look at some other places that gave me problems in the past:

Like for example if your
has a directory named hardware, which has some other board types installed. I would delete it or temporarily rename it and see if that helps.

LIkewise if I have a very large /libraries I have at times renamed it to some other name like libraries.save and see if that helps.

But again , hopefully larger sledgehammers than you need!

I think @KurtE is spot on here. The teensy-discovery tool should have been installed at this path when you installed the Teensy boards platform via the Arduino IDE Boards Manager:

C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools\teensy-discovery\1.57.2\teensy-discovery.exe

(the "1.57.2" part of the path might be different if you installed the Teensy platform some time ago, but just check for the highest version under the C:\Users\spook\AppData\Local\Arduino15\packages\teensy\tools\teensy-discovery\ folder)

What sometimes happens is Arduino IDE installs that tool, which makes the Boards Manager process appear to be successful, but then the antivirus software quarantines the teensy-discovery.exe file after that. Arduino IDE must execute that file during startup, so if the file has gone missing then it can't start.

The best thing to do is restore the file from quarantine and configure the antivirus software to not interfere with the installation in the future (the tool may be updated along with updates to the Teensy boards platform, so the problem may recurr later if you don't set the antivirus straight).

If that is not possible for some reason, let us know. Although inconvenient, it is possible to manually install this teensy-discovery tool in cases where fixing the antivirus is not allowed (e.g., by workplace IT policies). We can provide instructions for doing that as a last resort.

Cheers for the advice.

I've had another bit of a dabble for the past couple of hours & I can sort of get it working by deleting that Teensey folder but I use a program called Visuino for the code writing as most of my programs are far too complex for me to learn at an Arduino coding level.

Think I have sussed it, took a bit of badgering. i had to load to the teensy via Visuino rather than send to Arduino like I normally do, this must have installed/updated some library

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.