Upload does nothing

I have the start of a sketch that uploads in IDE 1.8.16

// ask_transmitter.pde
// -*- mode: C++ -*-
// Simple example of how to use RadioHead to transmit messages
// with a simple ASK transmitter in a very simple way.
// Implements a simplex (one-way) transmitter with an TX-C1 module
// Tested on Arduino Mega, Duemilanova, Uno, Due, Teensy, ESP-12

#include <RH_ASK.h>
#ifdef RH_HAVE_HARDWARE_SPI
#include <SPI.h> // Not actually used but needed to compile
#endif

RH_ASK driver;
// RH_ASK driver(2000, 4, 5, 0); // ESP8266 or ESP32: do not use pin 11 or 2
// RH_ASK driver(2000, 3, 4, 0); // ATTiny, RX on D3 (pin 2 on attiny85) TX on D4 (pin 3 on attiny85), 
// RH_ASK driver(2000, PD14, PD13, 0); STM32F4 Discovery: see tx and rx on Orange and Red LEDS

void setup(){ 
  
#ifdef RH_HAVE_SERIAL
    Serial.begin(9600);    // Debugging only
    Serial.println(F("Starting"));
#endif
    if (!driver.init())
#ifdef RH_HAVE_SERIAL
         Serial.println(F("init failed"));
#else
  ;
#endif
}

int i = 0;

void loop()
{
    const char *msg = "h";

    driver.send((uint8_t *)msg, strlen(msg));
    driver.waitPacketSent();
    Serial.print(".");
    i++;
    delay(2000);
    
}

I have a clone Arduio Nano.

In IDE 2.0.0- beta.12 the Board Information returns
BN: Arduino Nano
VID:
PID:

This proves the COM port can talk to the Nano if nothing else.

The sketch compiles:

Sketch uses 7042 bytes (22%) of program storage space. Maximum is 30720 bytes.
Global variables use 598 bytes (29%) of dynamic memory, leaving 1450 bytes for local variables. Maximum is 2048 bytes.

--------------------------
Compilation complete.

Arduino Nano on COM4 is showing in bottom right hand corner of screen.
(This is the same port I can successfully upload with in the IDE 1.8.16)

Notifications say:
Done compiling.

When I hit the upload button, or Sketch|Upload or do a +U nothing happens -
no error message,
no flashing light on Nano,
no notification messages -
as if I had not issued the Upload command.

Any ideas?

BTW - I really love the look of the interface. I have been struggling to use
Atmel Microchip Studio 7 but its Arduino import wizard is real flaky.
I dislike the lack of intelligent editor on Arduino IDE 1.8 so Arduino IDE 2.0.0
looks like the solution for me - if I can get it to fly.

Nothing at all on the serial monitor?

Ooo - I thought it was working but alas no.

On the serial monitor the Nano was outputting the text Starting and then the dots from the loop() structure.
I got excited but this was the state of the sketch when I loaded it using IDE 1.8.16. This proves the sketch loaded under IDE 1.8.16.

So I changed the text string on start up in the setup() structure. Sadly this was not reflected in the output after commanding an upload.

More on the 'does nothing'...

If I press the reset key on the Nano - I see the text "Starting" followed by the "." every 2000ms

If I press the upload button, it does not even cause a board reset.

Looking closely at the Verify button. It goes from normal brightness to bright when you hover over it and then dark when you click it to command a compile check.

In comparison the Upload button goes from normal brightness to bright when you hover over it but does not change to dark when you click it. Nothing is happening.

Hi @petercj. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.

Please do this:

  1. Select File > Preferences from the Arduino IDE's menus.
  2. Check the checkbox next to Show verbose output during: [] upload.
  3. Click the OK button.
  4. Attempt an upload, as you did before.
  5. After the upload fails or hangs, right click on the black "Output" pane at the bottom of the Arduino IDE 2.x window.
  6. From the context menu, click Copy All. This copies the full output to the clipboard.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  9. Press Ctrl+V. This will paste the error output from the upload into the code block.
  10. Move the cursor outside of the code tags before you add any additional text to your reply.
  11. Click the Reply button to post the output.

In some cases, a failed upload can hang for a long time. Arduino IDE 2.x does not provide as good of feedback to the user, so sometimes the tool output printed to the console window is the only indication that anything is happening. Without verbose output enabled, you might not even get that. If we are lucky, the verbose output will give us some clue about what is happening.

1 Like

I'm having the/a same/similar issue as @petercj. This morning I downloaded the 2.0.0-rc1 release and that's where the issue started for me. A windows restart was performed after installation. I wanted to switch permanently to IDE 2.0 because now the serial plotter is implemented.

The issue I'm experiencing: any sketch (empty or filled) will upload using IDE 1.8.16 perfectly fine. When I switch to IDE 2.0, the same sketch will compile fine (when using the dedicated button for it). However, when I want to upload a sketch to my arduino mega (it is selected and on COM3), nothing happens and the "output display" remains empty. That is, it doesn't even initiate the compiling of the sketch. So, no message to copy through the verbose output. Let me know if someone finds a solution, for now I'll switch back to IDE 1.8.16.

Many thanks!

OK, that is unfortunate. We can try another approach to getting information about the problem:

  1. Start File Explorer (AKA "Windows Explorer").
  2. Open the Arduino IDE's installation folder
    (usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type & ".\Arduino IDE".
  6. Press Enter.
    Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  7. Wait for the Arduino IDE to finish starting.
  8. Attempt an upload.
  9. Switch back to the PowerShell window.
  10. Right click on the title bar of the PowerShell window.
  11. Click Edit > Select All.
    This will select all the text in the PowerShell window.
  12. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  13. In this Arduino forum thread, click on the reply field.
  14. Click the </> button on the forum toolbar.
    This will add the forum's code tags markup (```) to your reply, making it easier for us to read.
  15. Press Ctrl+V. This will paste the output between the code tags.
  16. Move the cursor outside of the code tags before you add any additional text to your reply.
  17. Click the "Reply" button.
1 Like

Hi, same Problem.

PowerShell 7.2.0
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS C:\Users\Nick\AppData\Local\Programs\Arduino IDE> & "./Arduino IDE"
PS C:\Users\Nick\AppData\Local\Programs\Arduino IDE>
Starting backend process. PID: 40384
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/Nick/.theia'
root ERROR (node:40384) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
root INFO Theia app listening on http://localhost:50291.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Nick/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Nick/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\Nick\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.1" from "C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 311.8 ms
root WARN Backend ConfigServiceImpl.onStart is slow, took: 1151.6 ms
daemon INFO Starting daemon from C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
root WARN Backend AuthenticationServiceImpl.onStart is slow, took: 170.2 ms
daemon INFO Using config file: c:\Users\Nick\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.20.1
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO Starting daemon on TCP address 127.0.0.1:50051
daemon INFO Daemon is now listening on 127.0.0.1:50051...
daemon INFO Daemon is running.
root INFO Git askpass helper is listening on http://127.0.0.1:50305.
daemon INFO Adding libraries dir [dir: c:\Users\Nick\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root WARN Frontend CommonFrontendContribution.configure is slow, took: 482.7 ms
root INFO Using Git [2.29.2.windows.2] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/sinon
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
root INFO Updating index: package_esp32_dev_index.json completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\Nick\AppData\Local\Temp\837493771.sig: The system cannot find the file specified., index: C:\Users\Nick\AppData\Local\Temp\837493771, signaturefile: C:\Users\Nick\AppData\Local\Temp\837493771.sig]
daemon INFO URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
daemon INFO Updating index [url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json]
daemon INFO Checking signature [error: opening signature file: open C:\Users\Nick\AppData\Local\Temp\017462389.sig: The system cannot find the file specified., index: C:\Users\Nick\AppData\Local\Temp\017462389, signaturefile: C:\Users\Nick\AppData\Local\Temp\017462389.sig]
daemon INFO Updating libraries index
root WARN Frontend keybindings.onStart is slow, took: 107.7 ms
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
daemon INFO Checking signature [index: c:\Users\Nick\AppData\Local\Arduino15\package_index.json, signaturefile: c:\Users\Nick\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Checking signature [error: opening signature file: open c:\Users\Nick\AppData\Local\Arduino15\package_esp32_dev_index.json.sig: The system cannot find the file specified., index: c:\Users\Nick\AppData\Local\Arduino15\package_esp32_dev_index.json, signaturefile: c:\Users\Nick\AppData\Local\Arduino15\package_esp32_dev_index.json.sig]
daemon INFO Loading hardware from: c:\Users\Nick\AppData\Local\Arduino15\packages
daemon INFO Loading package arduino from: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig: The system cannot find the file specified., index: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json, signaturefile: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.4",Latest:"1.8.4",Name:"Arduino AVR Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package builtin from: C:\Users\Nick\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\Nick\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\Nick\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loading package esp32 from: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"esp32:esp32",Installed:"2.0.1-RC1",Latest:"2.0.1",Name:"esp32"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\tools
daemon INFO Loading tools from dir: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\tools
daemon INFO Loaded tool [tool: Version: 3.1.0 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 3.0.0-gnu12-dc7f933 Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: x86_64-mingw32]]
daemon INFO Loaded tool [tool: Version: 0.2.3 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: i386-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: gcc8_4_0-esp-2021r1 Systems: [OS: x86_64-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: x86_64-apple-darwin, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: gcc8_4_0-esp-2021r1 Systems: [OS: x86_64-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: x86_64-apple-darwin, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: gcc8_4_0-esp-2021r1 Systems: [OS: x86_64-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: x86_64-apple-darwin, OS: i686-mingw32]]
daemon INFO Adding libraries dir [dir: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1-RC1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Nick\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 6034.3 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 402.6 ms
root INFO Board config changed:
root INFO Board config changed:
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:serial-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b] Waiting for backend deployment took: 631.1 ms [Finished 13.421 s after frontend start]
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b] Sync of 5 plugins took: 530.3 ms [Finished 13.952 s after frontend start]
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: add, port: COM7
root INFO Attached boards and available ports changed:
root INFO  - Attached board: UM FeatherS2 [esp32:esp32:feathers2] on COM7 COM7
root INFO ------------------------------------------
root INFO Board config changed:
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716) starting instance
root INFO <<< The layout has been successfully restored.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][marus25.cortex-debug]: Loaded contributions.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.cpp]: Loaded contributions.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.json]: Loaded contributions.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.json-language-features]: Loaded contributions.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b] Load contributions of 5 plugins took: 234.6 ms [Finished 17.077 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 235.9 ms
root INFO Finished loading frontend application after 17.175 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): initializing(cortex-debug@0.3.10 with C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 45716] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): initializing(vscode-arduino-tools@0.0.2-beta.1 with C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): initializing(cpp@1.52.1 with C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): initializing(json@1.46.1 with C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): initializing(json-language-features@1.46.1 with C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): PluginManagerExtImpl/loadPlugin(C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO [hosted-plugin: 45716] PLUGIN_HOST(45716): PluginManagerExtImpl/loadPlugin(C:\Users\Nick\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][marus25.cortex-debug]: Started plugin.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][arduino.vscode-arduino-tools]: Started plugin.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.cpp]: Started plugin.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.json]: Started plugin.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b][vscode.json-language-features]: Started plugin.
root INFO [a80d1c2b-73c2-4a9f-94a7-ba1e9d1dee3b] Start of 5 plugins took: 1853.8 ms [Finished 18.945 s after frontend start]
root INFO Starting language server: esp32:esp32:feathers2
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Nick\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Nick\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board esp32:esp32:feathers2
daemon INFO Required tool [tool: {ToolName:"esptool_py",ToolVersion:"3.1.0",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"mklittlefs",ToolVersion:"3.0.0-gnu12-dc7f933",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"mkspiffs",ToolVersion:"0.2.3",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"riscv32-esp-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"xtensa-esp32-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"xtensa-esp32s2-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Adding libraries dir [dir: C:\Program Files (x86)\Arduino\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1-RC1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: c:\Users\Nick\Documents\Arduino\libraries, location: user]
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Nick\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Nick\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board esp32:esp32:feathers2
daemon INFO Required tool [tool: {ToolName:"esptool_py",ToolVersion:"3.1.0",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"mklittlefs",ToolVersion:"3.0.0-gnu12-dc7f933",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"mkspiffs",ToolVersion:"0.2.3",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"riscv32-esp-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"xtensa-esp32-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Required tool [tool: {ToolName:"xtensa-esp32s2-elf-gcc",ToolVersion:"gcc8_4_0-esp-2021r1",ToolPackager:"esp32"}]
daemon INFO Adding libraries dir [dir: C:\Program Files (x86)\Arduino\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Nick\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1-RC1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: c:\Users\Nick\Documents\Arduino\libraries, location: user]

was the output before i pressed the upload button
no ouput afterwards, seems as the button has just no function at all

1 Like

Hi @ptillisch . Thanks for response, will comply next thing but before I do, I thought you'd be interested to know that with IDE 1.8.16, the Board Information for the same Nano, connected to the same COM port yielded:

BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it

Also in IDE 1.8.16, I had to select Board: as "Arduino Nano" but with Processor: "ATmega328P (Old Bootloader)" or I'd get a bunch of not in sync errors as below

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

The IDE 2.0 has no sub selection of processor.

BTW - I can upload using IDE 1.8.16 (run from a non installed instance of arduino.exe from the zip file download) while IDE 2.0 is running (so long as I shut down the IDE 2.0 Serial Monitor).

OK, back to what you asked me to do - but I'll shut down IDE 1.8.16 first

Hi @ptillisch
Here's the requested output


I know you will be sceptical - there is no output at all, as if the Upload command did not launch. Sensing your scepticism, I also clicked on "Show verbose output during compile" .

I did a compile with the following to prove I can use the tools:

Using board 'nano' from platform in folder: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4
Using core 'arduino' from platform in folder: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4
Detecting libraries used...
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\eightanaloginputs" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp" -o nul
Alternatives for RH_ASK.h: [RadioHead@1.120]
ResolveLibrary(RH_ASK.h)
  -> candidates: [RadioHead@1.120]
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\eightanaloginputs" "-ID:\\Users\\Peter\\Documents\\Arduino\\libraries\\RadioHead" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\eightanaloginputs" "-ID:\\Users\\Peter\\Documents\\Arduino\\libraries\\RadioHead" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\libraries\\SPI\\src" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp" -o nul
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHCRC.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHDatagram.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHEncryptedDriver.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHGenericDriver.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHGenericSPI.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHHardwareSPI.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHMesh.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHReliableDatagram.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHRouter.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RHSoftwareSPI.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_ABZ.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_ASK.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_E32.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_LoRaFileOps.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_MRF89.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_NRF24.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_NRF51.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_NRF905.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_RF22.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_RF24.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_RF69.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_RF95.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_Serial.cpp
Using cached library dependencies for file: D:\Users\Peter\Documents\Arduino\libraries\RadioHead\RH_TCP.cpp
Using cached library dependencies for file: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SPI\src\SPI.cpp
Generating function prototypes...
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\eightanaloginputs" "-ID:\\Users\\Peter\\Documents\\Arduino\\libraries\\RadioHead" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\libraries\\SPI\\src" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp" -o "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\eightanaloginputs" "-ID:\\Users\\Peter\\Documents\\Arduino\\libraries\\RadioHead" "-IC:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\libraries\\SPI\\src" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp" -o "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp.o"
Compiling libraries...
Compiling library "RadioHead"
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHNRFSPIDriver.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHHardwareSPI.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHMesh.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHCRC.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHGenericDriver.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHDatagram.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_ABZ.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHGenericSPI.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHReliableDatagram.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHEncryptedDriver.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHRouter.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHSPIDriver.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RHSoftwareSPI.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_ASK.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_E32.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_CC110.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_LoRaFileOps.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_MRF89.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_NRF24.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_NRF51.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_NRF905.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_RF22.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_RF69.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_RF24.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_Serial.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_RF95.cpp.o
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\RadioHead\RH_TCP.cpp.o
Compiling library "SPI"
Using previously compiled file: C:\Users\Peter\AppData\Local\Temp\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\libraries\SPI\SPI.cpp.o
Compiling core...
Using precompiled core: C:\Users\Peter\AppData\Local\Temp\arduino-core-cache\core_arduino_avr_nano_cpu_atmega328old_b7bb48e507f447625c49e883d65f7886.a
Linking everything together...
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.elf" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\sketch\\My_ask_transmitter.ino.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHCRC.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHDatagram.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHEncryptedDriver.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHGenericDriver.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHGenericSPI.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHHardwareSPI.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHMesh.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHNRFSPIDriver.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHReliableDatagram.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHRouter.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHSPIDriver.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RHSoftwareSPI.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_ABZ.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_ASK.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_CC110.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_E32.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_LoRaFileOps.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_MRF89.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_NRF24.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_NRF51.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_NRF905.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_RF22.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_RF24.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_RF69.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_RF95.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_Serial.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\RadioHead\\RH_TCP.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/..\\arduino-core-cache\\core_arduino_avr_nano_cpu_atmega328old_b7bb48e507f447625c49e883d65f7886.a" "-LC:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D" -lm
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.elf" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.eep"
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.elf" "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.hex"
Using library RadioHead at version 1.120 in folder: D:\Users\Peter\Documents\Arduino\libraries\RadioHead 
Using library SPI at version 1.0 in folder: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries\SPI 
"C:\\Users\\Peter\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\Peter\\AppData\\Local\\Temp\\arduino-sketch-3660C500E2DAE64E2DC36A118576654D/My_ask_transmitter.ino.elf"
Sketch uses 7046 bytes (22%) of program storage space. Maximum is 30720 bytes.
Global variables use 598 bytes (29%) of dynamic memory, leaving 1450 bytes for local variables. Maximum is 2048 bytes.

--------------------------
Compilation complete.

BTW
I did command another upload and waited 2 minutes (ref your "a failed upload can hang for a long time" comment) - nothing appeared in the output screen. IDE 2.0 was not 'hung' as it could perform a compile OK.

In terms of seriousness, OK it's a hassle but I have a workaround by using IDE 1.8.16 to do the upload.

Thanks for your interest.

Hi @ptillisch
OK here's the PowerShell output (I did a 'Get Board Information' before I attempted the Upload to prove I was successfully connected to the Nano on COM4)

PS C:\Users\Peter\AppData\Local\Programs\arduino-ide> & ".\Arduino IDE".
PS C:\Users\Peter\AppData\Local\Programs\arduino-ide>
Starting backend process. PID: 12128
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/Peter/.theia'
root ERROR (node:12128) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
root INFO Theia app listening on http://localhost:49715.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Peter/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Peter/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\Peter\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json\extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 50.6 ms
root WARN Backend ConfigServiceImpl.onStart is slow, took: 103.4 ms
daemon INFO Starting daemon from C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
daemon INFO Using config file: c:\Users\Peter\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.20.1
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO Starting daemon on TCP address 127.0.0.1:50051
daemon INFO Daemon is now listening on 127.0.0.1:50051...
daemon INFO Daemon is running.
daemon INFO Checking if CLI is Bundled into the IDE
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Git askpass helper is listening on http://127.0.0.1:49727.
root WARN Frontend CommonFrontendContribution.configure is slow, took: 433.7 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/sinon
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root ERROR Error: Git installation not found.
    at C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\find-git-exec\lib\find-git-exec.js:69:69
    at async DefaultGitInit.init (C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\theia\git\git-init.js:22:49)
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\Peter\AppData\Local\Temp\390184479.sig: The system cannot find the file specified., index: C:\Users\Peter\AppData\Local\Temp\390184479, signaturefile: C:\Users\Peter\AppData\Local\Temp\390184479.sig]
daemon INFO Updating libraries index
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
daemon INFO Checking signature [index: C:\Users\Peter\AppData\Local\Arduino15\package_index.json, signaturefile: C:\Users\Peter\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Loading hardware from: C:\Users\Peter\AppData\Local\Arduino15\packages
daemon INFO Loading package ATTinyCore from: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"ATTinyCore:avr",Installed:"1.5.2",Latest:"1.5.2",Name:"ATTinyCore"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\tools
daemon INFO Loaded tool [tool: Version: 2.5-azd1b]
daemon INFO Loading package MicroCore from: C:\Users\Peter\AppData\Local\Arduino15\packages\MicroCore\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"MicroCore:avr",Installed:"2.2.0",Latest:"2.2.0",Name:"MicroCore"}]
daemon INFO Loading package RobotCing from: C:\Users\Peter\AppData\Local\Arduino15\packages\RobotCing\hardware
daemon INFO Loading package arduino from: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.4",Latest:"1.8.4",Name:"Arduino AVR Boards"}]
daemon INFO Checking signature [error: opening signature file: open C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json.sig: The system cannot find the file specified., index: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json, signaturefile: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:mbed_nano",Installed:"2.6.1",Latest:"2.6.1",Name:"Arduino Mbed OS Nano Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7-2017q4 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 4.8.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 5.4.0-atmel3.6.1-arduino2 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.0.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino18 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 1.9.1-arduino2 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.10.0-arduino1 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 0.11.0-arduino2 Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-linux-gnu, OS: i686-mingw32, OS: i386-apple-darwin11, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
root ERROR loading platform release RobotCing:avr@4.0.0: loading boards: skipping loading of boards RobotCing:avr:atmega8, RobotCing:avr:atmega328, RobotCing:avr:atmega32u4: malformed custom board options
daemon INFO Loading package atflash from: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"atflash:avr",Installed:"0.1.0",Latest:"0.1.0",Name:"ATtiny/ATmega Standalone"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\tools
daemon INFO Loaded tool [tool: Version: 0.1.0]
daemon INFO Loading package attiny from: C:\Users\Peter\AppData\Local\Arduino15\packages\attiny\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"attiny:avr",Installed:"1.0.2",Latest:"1.0.2",Name:"ATtiny Microcontrollers"}]
daemon INFO Loading package builtin from: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.2.1]
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loading package digistump from: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\hardware
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\tools
daemon INFO Loading package diy_attiny from: C:\Users\Peter\AppData\Local\Arduino15\packages\diy_attiny\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"diy_attiny:avr",Installed:"2020.10.10",Latest:"2020.10.10",Name:"DIY ATtiny"}]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\hardware\avr\0.1.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\diy_attiny\hardware\avr\2020.10.10\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\MicroCore\hardware\avr\2.2.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\RobotCing\hardware\avr\4.0.0\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:serial-discovery
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: add, port: COM4
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 3208.1 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 186.8 ms
root INFO Board config changed:
root INFO Board config changed:
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028) starting instance
root INFO Attached boards and available ports changed:
root INFO  - New port is available on COM4 COM4
root INFO ------------------------------------------
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144] Waiting for backend deployment took: 437.4 ms [Finished 7.410 s after frontend start]
root INFO Board config changed:
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144] Sync of 5 plugins took: 552.0 ms [Finished 7.962 s after frontend start]
root INFO <<< The layout has been successfully restored.
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][marus25.cortex-debug]: Loaded contributions.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.cpp]: Loaded contributions.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.json]: Loaded contributions.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.json-language-features]: Loaded contributions.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144] Load contributions of 5 plugins took: 141.8 ms [Finished 9.375 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 143.0 ms
root INFO Finished loading frontend application after 9.419 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): initializing(cortex-debug@0.3.10 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15028] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): initializing(vscode-arduino-tools@0.0.2-beta.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): initializing(cpp@1.52.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): initializing(json@1.46.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): initializing(json-language-features@1.46.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): PluginManagerExtImpl/loadPlugin(C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO [hosted-plugin: 15028] PLUGIN_HOST(15028): PluginManagerExtImpl/loadPlugin(C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][marus25.cortex-debug]: Started plugin.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][arduino.vscode-arduino-tools]: Started plugin.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.cpp]: Started plugin.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.json]: Started plugin.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144][vscode.json-language-features]: Started plugin.
root INFO [dadfecdd-f4b1-4605-a10b-1fe7f6a8d144] Start of 5 plugins took: 1063.0 ms [Finished 10.447 s after frontend start]
root INFO Starting language server: arduino:avr:nano
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\arduino-1.8.16\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
daemon INFO Resolving include RH_ASK.h for arch avr
daemon INFO   found better lib [lib: RadioHead, prio: 3EB]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\arduino-1.8.16\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
daemon INFO Resolving include RH_ASK.h for arch avr
daemon INFO   found better lib [lib: RadioHead, prio: 3EB]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]

Nothing was added to the PowerShell output when I commanded the Upload (although there were some interesting errors in the start up process)
I did this again with IDE 2.0 on half my PC screen while PowerShell was on the other just to make sure I wasn't missing any activity.

Contrast this with additional output on a compile - OK I had to reconnect the Nano after Arduino started. Then I tried an Upload - nothing - then a compile

PS C:\Users\Peter\AppData\Local\Programs\arduino-ide> & ".\Arduino IDE".
PS C:\Users\Peter\AppData\Local\Programs\arduino-ide>
Starting backend process. PID: 12612
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/Peter/.theia'
root ERROR (node:12612) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
root INFO Theia app listening on http://localhost:49789.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Peter/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Peter/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\Peter\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json\extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 48.9 ms
root WARN Backend ConfigServiceImpl.onStart is slow, took: 105.5 ms
daemon INFO Starting daemon from C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
daemon INFO Using config file: c:\Users\Peter\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.20.1
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO Starting daemon on TCP address 127.0.0.1:50051
daemon INFO Daemon is now listening on 127.0.0.1:50051...
daemon INFO Daemon is running.
daemon INFO Checking if CLI is Bundled into the IDE
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Git askpass helper is listening on http://127.0.0.1:49801.
root WARN Frontend CommonFrontendContribution.configure is slow, took: 447.1 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/sinon
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root ERROR Error: Git installation not found.
    at C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\find-git-exec\lib\find-git-exec.js:69:69
    at async DefaultGitInit.init (C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\theia\git\git-init.js:22:49)
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\Peter\AppData\Local\Temp\969032031.sig: The system cannot find the file specified., index: C:\Users\Peter\AppData\Local\Temp\969032031, signaturefile: C:\Users\Peter\AppData\Local\Temp\969032031.sig]
daemon INFO Updating libraries index
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
daemon INFO Checking signature [index: C:\Users\Peter\AppData\Local\Arduino15\package_index.json, signaturefile: C:\Users\Peter\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Loading hardware from: C:\Users\Peter\AppData\Local\Arduino15\packages
daemon INFO Loading package ATTinyCore from: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"ATTinyCore:avr",Installed:"1.5.2",Latest:"1.5.2",Name:"ATTinyCore"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\tools
daemon INFO Loaded tool [tool: Version: 2.5-azd1b]
daemon INFO Loading package MicroCore from: C:\Users\Peter\AppData\Local\Arduino15\packages\MicroCore\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"MicroCore:avr",Installed:"2.2.0",Latest:"2.2.0",Name:"MicroCore"}]
daemon INFO Loading package RobotCing from: C:\Users\Peter\AppData\Local\Arduino15\packages\RobotCing\hardware
daemon INFO Loading package arduino from: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.4",Latest:"1.8.4",Name:"Arduino AVR Boards"}]
daemon INFO Checking signature [error: opening signature file: open C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json.sig: The system cannot find the file specified., index: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json, signaturefile: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:mbed_nano",Installed:"2.6.1",Latest:"2.6.1",Name:"Arduino Mbed OS Nano Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7-2017q4 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 4.8.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 5.4.0-atmel3.6.1-arduino2 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.0.1-arduino5 Systems: [OS: arm-linux-gnueabihf, OS: i386-apple-darwin11, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino18 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 1.9.1-arduino2 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.10.0-arduino1 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 0.11.0-arduino2 Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-linux-gnu, OS: i686-mingw32, OS: i386-apple-darwin11, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package atflash from: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"atflash:avr",Installed:"0.1.0",Latest:"0.1.0",Name:"ATtiny/ATmega Standalone"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\tools
daemon INFO Loaded tool [tool: Version: 0.1.0]
root ERROR loading platform release RobotCing:avr@4.0.0: loading boards: skipping loading of boards RobotCing:avr:atmega8, RobotCing:avr:atmega328, RobotCing:avr:atmega32u4: malformed custom board options
daemon INFO Loading package attiny from: C:\Users\Peter\AppData\Local\Arduino15\packages\attiny\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"attiny:avr",Installed:"1.0.2",Latest:"1.0.2",Name:"ATtiny Microcontrollers"}]
daemon INFO Loading package builtin from: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.2.1]
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loading package digistump from: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\hardware
daemon INFO Checking existence of 'tools' path: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\tools
daemon INFO Loading tools from dir: C:\Users\Peter\AppData\Local\Arduino15\packages\digistump\tools
daemon INFO Loading package diy_attiny from: C:\Users\Peter\AppData\Local\Arduino15\packages\diy_attiny\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"diy_attiny:avr",Installed:"2020.10.10",Latest:"2020.10.10",Name:"DIY ATtiny"}]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\atflash\hardware\avr\0.1.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\MicroCore\hardware\avr\2.2.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.6.1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\diy_attiny\hardware\avr\2020.10.10\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\RobotCing\hardware\avr\4.0.0\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:serial-discovery
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.1" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: add, port: COM4
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 2796.1 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 181.0 ms
root INFO Board config changed:
root INFO Board config changed:
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660) starting instance
root INFO Attached boards and available ports changed:
root INFO  - New port is available on COM4 COM4
root INFO ------------------------------------------
root INFO [22c298b9-5eff-41c0-8020-348311803ab6] Waiting for backend deployment took: 433.7 ms [Finished 7.015 s after frontend start]
root INFO Board config changed:
root INFO Board config changed:
root INFO [22c298b9-5eff-41c0-8020-348311803ab6] Sync of 5 plugins took: 573.0 ms [Finished 7.588 s after frontend start]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root INFO <<< The layout has been successfully restored.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][marus25.cortex-debug]: Loaded contributions.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.cpp]: Loaded contributions.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.json]: Loaded contributions.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.json-language-features]: Loaded contributions.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6] Load contributions of 5 plugins took: 169.0 ms [Finished 9.353 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 170.3 ms
root INFO Finished loading frontend application after 9.399 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): initializing(cortex-debug@0.3.10 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15660] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): initializing(vscode-arduino-tools@0.0.2-beta.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): initializing(cpp@1.52.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): initializing(json@1.46.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): initializing(json-language-features@1.46.1 with C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): PluginManagerExtImpl/loadPlugin(C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 15660] PLUGIN_HOST(15660): PluginManagerExtImpl/loadPlugin(C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][marus25.cortex-debug]: Started plugin.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][arduino.vscode-arduino-tools]: Started plugin.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.cpp]: Started plugin.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.json]: Started plugin.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6][vscode.json-language-features]: Started plugin.
root INFO [22c298b9-5eff-41c0-8020-348311803ab6] Start of 5 plugins took: 977.6 ms [Finished 10.339 s after frontend start]
root INFO Starting language server: arduino:avr:nano
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\arduino-1.8.16\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'C:\Users\Peter\AppData\Local\Programs\arduino-ide\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
daemon INFO Resolving include RH_ASK.h for arch avr
daemon INFO   found better lib [lib: RadioHead, prio: 3EB]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\arduino-1.8.16\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
daemon INFO Resolving include RH_ASK.h for arch avr
daemon INFO   found better lib [lib: RadioHead, prio: 3EB]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]
daemon INFO from discovery builtin:serial-discovery received message type: remove, port: COM4
root INFO Attached boards and available ports changed:
root INFO  - Port is no longer available on COM4 COM4
root INFO ------------------------------------------
daemon INFO from discovery builtin:serial-discovery received message type: add, port: COM4
root INFO Attached boards and available ports changed:
root INFO  - New port is available on COM4 COM4
root INFO ------------------------------------------
root INFO Board config changed:
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() C:\Users\Peter\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\arduino-1.8.16\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Peter\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: D:\Users\Peter\Documents\Arduino\libraries, location: user]
daemon INFO Resolving include RH_ASK.h for arch avr
daemon INFO   found better lib [lib: RadioHead, prio: 3EB]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]

Interestingly I get the same response using a genuine Arduino Uno connected to my COM7.
This compiles the Example Blink sketch but does nothing when I try to Upload.
So it's not board dependent - must be some place where the start up process controls the code round the Upload command

1 Like

Not having experienced the above problem I decide to try uploading again.

I downloaded the latest nightly (arduino-ide_nightly-20211201_Windows_64bit, the zip file) extracted and tried to upload a simple Blink like sketch to my UNO. Just as above it compiles, selecting "Verify", but plays dead selecting "Upload". I cannot upload using this version (does not compile either when clicking "Upload" - the button seems to be unresponsive).

Opened the same sketch in my previous version (arduino-ide_nightly-20211028_Windows_64bit) and everything works as expected, clicking "Upload" it compiles and uploads.

The serial monitor works as expected in both versions.

Seems like something got screwed between then and now.

Willem.

Same experience. After installing beta 12 over beta 11 upload almost (!!) always fails without any messages.
I tried to remove all traces of the installation (user\local\program\Arduino Ide, \user.arduinoIDE, even cleaned registry entries containing "Arduino IDE") and installed again: nothing happens, the upload button seems completely 'dead'.

I guess the best is to ignore this version and wait for the next.

Both my versions are beta.12 (nightlies), only about a month apart.

Willem.

Greetings all. Just downloaded the Beta 2 and ran into the same problem. Really like the look of the new version. Anyhow, I tried it on both my main desktop and then the laptop. Both running windows 10. Complies just fine but won't upload. A loaded sketch that I was going to modify runs and prints to the monitor window fine so I know the connection is good. Also board info returns what is expected. Oddly enough, I loaded the Beta on my Mac and same result...no upload but console monitor is working. Both laptop and desktop will upload just fine with the earlier 1.x version.

Randy

Had the same issue, got it to work after I disabled bluetooth, which got rid of 2 unused serial ports.
EDIT: it's not working again, only managed to upload once.

I can try that on the laptop and Mac. No BT on the desktop but I do have other devices connected on other serial devices connected to it by USB port.

Well a little progress. After disabling Blue Tooth and removing the wireless mouse, no change. I then enabled verbose on compile and upload. Again nothing. Either from the button, CTL-U, or click the upload menu item. Still no response. For whatever reason I clicked on Upload Using Programmer and it took off compiling the sketch. Of course it blew up because I don't have the programmer. Well then I clicked the upload button and it compiled, showed verbose output, and uploaded. Hmmmm...... Made a change and hit upload again. Worked like a charm. Loaded the blink sketch for grins. Nothing on upload. Upload Using Programmer. Compiled and blew up because of no programmer. Clicked upload button and bingo. Went back to the sketch I was working on and repeated Upload Using Programmer first then upload and it's working. Not sure why this sequence but it seems to work.

Randy

Interesting workoround :grinning: :+1:

Same issue here with Nano Every on windows 11 with beta12.
The Port COMx does not connect after starting the IDE. Only after removing and connecting de USB cable when the IDE is started the port can be connected