# Can't upload anything on Arduino Nano Every

**URL:** <https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623>\
**Category:** Nano Every\
**Created:** [February 27, 2023, 5:30pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623 "2023-02-27T17:30:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lankerst](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lankerst](https://forum.arduino.cc/u/lankerst)\
**Post date:** [February 27, 2023, 5:30pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/1 "2023-02-27T17:30:11Z")

</div>

Can't upload any sketch on arduino nano every, because of an error:

avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description  
avrdude: jtagmkII\_reset(): timeout/error communicating with programmer (status -1)  
avrdude: initialization failed, rc=-1  
Double check connections and try again, or use -F to override  
this check.

avrdude: jtagmkII\_close(): timeout/error communicating with programmer (status -1)  
avrdude: jtagmkII\_close(): timeout/error communicating with programmer (status -1)  
Failed uploading: uploading error: exit status 1

Any thoughts how to fix it?

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [February 27, 2023, 5:59pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/2 "2023-02-27T17:59:51Z")

</div>

> Can't upload any sketch on arduino nano every, because of an error

What OS and what IDE version are you using?

> avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description

This message is normal and does not indicate an issue.

If you are loading over USB, then at the end of the compiling you should see a message like this

```arduino
Sketch uses 3017 bytes (6%) of program storage space. Maximum is 49152 bytes.
Global variables use 177 bytes (2%) of dynamic memory, leaving 5967 bytes for local variables. Maximum is 6144 bytes.
Performing 1200-bps touch reset on serial port COM9
"C:\Users\YourName\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\YourName\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega4809 -cjtag2updi -PCOM9 -b115200 -e -D "-Uflash:w:C:\Users\YourName\AppData\Local\Temp\arduino-sketch-C9CE475480A4AC17AE4E1828E62F9009/integer_read_write.ino.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m" {upload.extra_files}

```

It is the 1200 bps touch which puts the Nano Every into the programming mode.

If you go to Preferences in the ide window you can enable verbose output upload can you post the complete message you receive.

---

<div class="post-metadata">

**Author:** ![lankerst](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lankerst](https://forum.arduino.cc/u/lankerst)\
**Post date:** [February 27, 2023, 6:18pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/3 "2023-02-27T18:18:16Z")

</div>

I am using Windows 10, IDE 2.0.3 (also tried 1.8.1.9).

Received message:

Performing 1200-bps touch reset on serial port COM3

avrdude: Version 6.3-20190619  
Copyright (c) 2000-2005 Brian "C:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega4809 -cjtag2updi -PCOM3 -b115200 -e -D "-Uflash:w:C:\Users\nikit\AppData\Local\Temp\arduino-sketch-8571B255817263B56A74F836EE64EFB4/sketch\_feb27a.ino.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m" {upload.extra\_files}  
Dean, [http://www.bdmicro.com/](http://www.bdmicro.com/)  
Copyright (c) 2007-2014 Joerg Wunsch

```
     System wide configuration file is "C:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port : COM3
     Using Programmer : jtag2updi
     Overriding Baud Rate : 115200

```

avrdude: ser\_open(): can't open device "\.\COM3": �������� � �������.

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [February 27, 2023, 6:37pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/4 "2023-02-27T18:37:52Z")

</div>

Have you tried a different USB cable?  
Have you reset the computer?  
Does the Nano Every show under Ports in the device manager?

---

<div class="post-metadata">

**Author:** ![lankerst](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lankerst](https://forum.arduino.cc/u/lankerst)\
**Post date:** [February 28, 2023, 7:09am UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/5 "2023-02-28T07:09:35Z")

</div>

Tried 3 cables  
Reseted computer  
Yes, it shows COM3 (Arduino Nano Every).

Also got new information:

Performing 1200-bps touch reset on serial port COM3  
"C:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega4809 -cjtag2updi -PCOM3 -b115200 -e -D "-Uflash:w:C:\Users\nikit\AppData\Local\Temp\arduino-sketch-5906C46E78B8D9A73595B476A73CE17D/sketch\_feb28a.ino.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m" {upload.extra\_files}

avrdude: Version 6.3-20190619  
Copyright (c) 2000-2005 Brian Dean, [http://www.bdmicro.com/](http://www.bdmicro.com/)  
Copyright (c) 2007-2014 Joerg Wunsch

```
     System wide configuration file is "C:\Users\nikit\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

```

```cpp
         Using Port : COM3
         Using Programmer : jtag2updi
         Overriding Baud Rate : 115200
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
  boot-loader FW version: 1
  firmware version: 1.07
  hardware version: 1
S_MCU:
  boot-loader FW version: 1
  firmware version: 6.07
  hardware version: 1
Serial number: 00:00:00:00:00:00
Device ID: JTAGICE mkII
         AVR Part : ATmega4809
         Chip Erase delay : 0 us
         PAGEL : P00
         BS2 : P00
         RESET disposition : dedicated
         RETRY pulse : SCK
         serial program mode : yes
         parallel program mode : yes
         Timeout : 0
         StabDelay : 0
         CmdexeDelay : 0
         SyncLoops : 0
         ByteDelay : 0
         PollIndex : 0
         PollValue : 0x00
         Memory Detail :

                                  Block Poll Page Polled
           Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
           prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00
           fuses 0 0 0 0 no 9 0 0 0 0 0x00 0x00
           fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           data 0 0 0 0 no 0 0 0 0 0 0x00 0x00
           usersig 0 0 0 0 no 64 64 0 0 0 0x00 0x00
           flash 0 0 0 0 no 49152 128 0 0 0 0x00 0x00
           eeprom 0 0 0 0 no 256 64 0 0 0 0x00 0x00

         Programmer Type : JTAGMKII_PDI
         Description : JTAGv2 to UPDI bridge
         M_MCU hardware version: 1
         M_MCU firmware version: 1.07
         S_MCU hardware version: 1
         S_MCU firmware version: 6.07
         Serial number: 00:00:00:00:00:00
         Vtarget : 5.0 V

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_reset(): timeout/error communicating with programmer (status -1)
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)
avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

```

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [February 28, 2023, 7:40pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/6 "2023-02-28T19:40:26Z")

</div>

> Tried 3 cables  
> Reseted computer  
> Yes, it shows COM3 (Arduino Nano Every).

In most cases this would have fixed things. Do you have any other Arduino and can confirm that the usb cable works correctly with it?

Everything from this last download report looks correct until

> avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description  
> avrdude: jtagmkII\_reset(): timeout/error communicating with programmer (status -1)  
> avrdude: initialization failed, rc=-1

Which should be

> avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description  
> avrdude: AVR device initialized and ready to accept instructions

This means that the jtag to updi programmer software in the samd11 chip which handles the usb interface is either not getting the 1200 bps touch to trigger the programming mode, or the firmware in the samd11 is corrupted.

Since you are using the Arduino IDE with Windows 10, I think the problem is likely to be with the samd11 chip itself and not with the 1200 bps touch.

Is this a new board which has never worked, or did it once work properly?  
Is it an official Nano Every from Arduino, or is it a clone? Some clones use an atMega 4808. and not the 4809 of the official nano every.

With the board connected to usb and you select "Get board info" in the ide Tools, what do you see? You may need 2.0.4 (or 1.8.19) to see the correct information. I'm thinking that if you get this information back, the usb to ttl part of the samd11 is working correctly.  
 ![Board Info](https://europe1.discourse-cdn.com/arduino/original/4X/e/0/f/e0f7f0b7c90bee05dcf60af1f7314a8ab7b8c20d.jpeg)

If this is a new board and can be returned to the vendor I would recommend that.

If it once worked and you want to try and fix it there are ways to reprogram the samd11 with the correct firmware in a file called MuxTOBin. I have never done this and is an advanced procedure. [https://github.com/arduino/ArduinoCore-megaavr/issues/51#issuecomment-522905679](https://github.com/arduino/ArduinoCore-megaavr/issues/51#issuecomment-522905679)  
[https://www.avrfreaks.net/s/topic/a5C3l000000UbGqEAK/t157060](https://www.avrfreaks.net/s/topic/a5C3l000000UbGqEAK/t157060)

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [March 1, 2023, 3:55am UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/7 "2023-03-01T03:55:58Z")

</div>

> [@cattledog](#):
>
> With the board connected to usb and you select "Get board info" in the ide Tools, what do you see? You may need 2.0.4 (or 1.8.19) to see the correct information. I'm thinking that if you get this information back, the usb to ttl part of the samd11 is working correctly.

I seem to remember that I've read that 1.8.x and 2.0.x work differently. 1.8.x (and other legacy IDEs) communicate with the board, 2.0.x pulls the information from the boards.txt file. @ptillisch can advise if I'm talking nonsense or if this information is correct.

To play it safe, use the legacy IDE for this test.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [March 1, 2023, 4:27am UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/8 "2023-03-01T04:27:49Z")

</div>

> [@sterretje](#):
>
> 1.8.x and 2.0.x work differently. 1.8.x (and other legacy IDEs) communicate with the board, 2.0.x pulls the information from the boards.txt file.

That was the behavior up to 2.0.3. As of Arduino IDE 2.0.4, the **Tools \> Get Board Info** feature works the same as it did in Arduino IDE 1.x, showing data for the selected port:

> <https://github.com/arduino/arduino-ide/pull/1803>
>
> \### Motivation
> 
> 
> As requested in #1435, IDE2 shows the board info based on th…e \`Tools\` \> \`Port\` and \*not\* \`Tools\` \> \`Board\`.
> This PR makes the board's serial number (SN) available via the board details.
> 
> \### Change description
> 
> 
> Expected behavioral change:
> 
> - IDE shows the SN if available.
> - IDE shows the \`Network port, can't obtain info.\` message when a network port is selected.
> - IDE shows the \`Native serial port, can't obtain info.\` message when no \`matching\_boards\` can be found for the currently selected port. For example, I installed the core for ESP8266MOD, compiled against the \`NodeMCU 0.9 (ESP-12 Module)\` board on the \`/dev/cu.usbserial-0001\` \`serial\` port, compile upload works, but as this board is not recognized as the \`matching\_boards\` of a port (\`board list --format json\`), it cannot show the details.
> 
> 
> Examples:
> 
> https://user-images.githubusercontent.com/1405703/211012954-900eafac-8581-4051-9d41-3f9b83b4af91.mp4
> 
> https://user-images.githubusercontent.com/1405703/211013035-82aa3d4c-1be2-4f35-ad34-3d3d6fe8f900.mp4
> 
> Locally discovered boards for the examples:
> 
> \`\`\`json
> \[
> {
> "matching\_boards": \[
> {
> "name": "Arduino MKR1000",
> "fqbn": "arduino:samd:mkr1000"
> }
> \],
> "port": {
> "address": "192.168.0.104",
> "label": "Arduino at 192.168.0.104",
> "protocol": "network",
> "protocol\_label": "Network Port",
> "properties": {
> ".": "mkr1000",
> "auth\_upload": "yes",
> "board": "mkr1000",
> "hostname": "Arduino.local.",
> "port": "65280",
> "ssh\_upload": "no",
> "tcp\_check": "no"
> }
> }
> },
> {
> "matching\_boards": \[
> {
> "name": "Arduino Uno",
> "fqbn": "arduino:avr:uno"
> }
> \],
> "port": {
> "address": "/dev/cu.usbmodem14401",
> "label": "/dev/cu.usbmodem14401",
> "protocol": "serial",
> "protocol\_label": "Serial Port (USB)",
> "properties": {
> "pid": "0x0043",
> "serialNumber": "551313237373514130C1",
> "vid": "0x2341"
> }
> }
> },
> {
> "port": {
> "address": "/dev/cu.BLTH",
> "label": "/dev/cu.BLTH",
> "protocol": "serial",
> "protocol\_label": "Serial Port"
> }
> },
> {
> "port": {
> "address": "/dev/cu.Bluetooth-Incoming-Port",
> "label": "/dev/cu.Bluetooth-Incoming-Port",
> "protocol": "serial",
> "protocol\_label": "Serial Port"
> }
> },
> {
> "port": {
> "address": "/dev/cu.usbserial-0001",
> "label": "/dev/cu.usbserial-0001",
> "protocol": "serial",
> "protocol\_label": "Serial Port (USB)",
> "properties": {
> "pid": "0xEA60",
> "serialNumber": "0001",
> "vid": "0x10C4"
> }
> }
> },
> {
> "port": {
> "address": "/dev/cu.SLAB\_USBtoUART",
> "label": "/dev/cu.SLAB\_USBtoUART",
> "protocol": "serial",
> "protocol\_label": "Serial Port (USB)",
> "properties": {
> "pid": "0xEA60",
> "serialNumber": "0001",
> "vid": "0x10C4"
> }
> }
> },
> {
> "matching\_boards": \[
> {
> "name": "Arduino MKR1000",
> "fqbn": "arduino:samd:mkr1000"
> }
> \],
> "port": {
> "address": "/dev/cu.usbmodem14301",
> "label": "/dev/cu.usbmodem14301",
> "protocol": "serial",
> "protocol\_label": "Serial Port (USB)",
> "properties": {
> "pid": "0x804E",
> "serialNumber": "94A3397C5150435437202020FF150838",
> "vid": "0x2341"
> }
> }
> }
> \]
> \`\`\`
> 
> - MKR1000 on serial,
> - MKR1000 on network,
> - UNO on serial,
> - ESP8266MOD on serial
> 
> \### Other information
> 
> 
> Closes #1489
> Closes #1435
> 
> 
> \### Reviewer checklist
> 
> \* \[\] PR addresses a single concern.
> \* \[\] The PR has no duplicates (please search among the \[Pull Requests\](https://github.com/arduino/arduino-ide/pulls) before creating one)
> \* \[\] PR title and description are properly filled.
> \* \[\] Docs have been added / updated (for bug fixes / features)

---

<div class="post-metadata">

**Author:** ![dposit](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dposit](https://forum.arduino.cc/u/dposit)\
**Post date:** [May 8, 2023, 11:34pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/9 "2023-05-08T23:34:45Z")

</div>

I have the same problem: New Nano Every board, puchased from Arduino. I am in contact with them now, but trying to figure out what the problem is and if you were able to solve problem.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [May 9, 2023, 4:37am UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/10 "2023-05-09T04:37:18Z")

</div>

Please provide the details about the upload (enable verbose output during upload under file → preferences in the IDE) like OP did in post #3 as well as the screenshot in post #6.

---

<div class="post-metadata">

**Author:** ![dposit](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dposit](https://forum.arduino.cc/u/dposit)\
**Post date:** [May 9, 2023, 2:58pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/11 "2023-05-09T14:58:39Z")

</div>

Some details: 1)Using Windows 10; 2) IDE:2.1.0; 3) This circuit works with the UNO chip (so circuit is good); 4)  
This is an authentic NANO board that is brand new.  
The messages:

1. Sketch uses 11903 bytes (24%) of program storage space. Maximum is 49152 bytes.

Global variables use 250 bytes (4%) of dynamic memory, leaving 5894 bytes for local variables. Maximum is 6144 bytes.

Performing 1200-bps touch reset on serial port COM4

1. avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description

avrdude: AVR device initialized and ready to accept instructions  
It states that this is not a big problem, but there is no output on the LCD (should be showing message with humidity and temperature settings  
When I checked Preferences and enable Verbose output, both Compile and Upload are checked

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [May 9, 2023, 3:38pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/12 "2023-05-09T15:38:53Z")

</div>

> [@dposit](#):
>
> but there is no output on the LCD

Bug in your program? Not necessarily the part that you wrote, might be in a library? Libraries are compiled differently for Uni and Nano Every. Please post your code.

Can you upload e.g. blink or other simple examples and do they behave as expected?

I do not have a Nano Every to check the exact behaviour of the upload.

---

<div class="post-metadata">

**Author:** ![dposit](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dposit](https://forum.arduino.cc/u/dposit)\
**Post date:** [May 9, 2023, 4:11pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/13 "2023-05-09T16:11:36Z")

</div>

Good point. Even though the program ran on the UNO, the libraries could be the problem. Here is the libraries that my program is trying to use:

#include \<DHT.h\>  
#include \<JSON.h\>  
#include \<LiquidCrystal.h\>  
I did notice that for each invoking of a library there seems to be an alternative. Here is an example of DHT to show what I mean.  
Detecting libraries used...  
"C:\Users\Dominic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/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=atmega4809 -DF\_CPU=16000000L -DARDUINO=10607 -DARDUINO\_AVR\_NANO\_EVERY -DARDUINO\_ARCH\_MEGAAVR -DAVR\_NANO\_4809\_328MODE -DMILLIS\_USE\_TIMERB3 -DNO\_EXTERNAL\_I2C\_PULLUP "-IC:\Users\Dominic\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\cores\arduino/api/deprecated" "-IC:\Users\Dominic\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\cores\arduino" "-IC:\Users\Dominic\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.8\variants\nona4809" "C:\Users\Dominic\AppData\Local\Temp\arduino\sketches\B4A71C9AA578FD01246B496014AE5D54\sketch\Humidity\_and\_temp.ino.cpp" -o nul  
Alternatives for DHT.h: [DHT sensor library@1.4.4]  
ResolveLibrary(DHT.h)  
-\> candidates: [DHT sensor library@1.4.4]

Is this a problem (i.e, alternative library)? It seems like it gets resolved???

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [May 9, 2023, 4:46pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/14 "2023-05-09T16:46:19Z")

</div>

> [@dposit](#):
>
> for each invoking of a library there seems to be an alternative. Here is an example of DHT to show what I mean.

The message is not very clear, but this is actually saying that only one library was found matching the `#include` directive for `DHT.h`. If multiple libraries were found matching the `#include` directive, you would see multiple elements in the square bracketed list. So don't worry about this message. It is normal and expected and doesn't indicate any problem.

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [May 9, 2023, 7:56pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/15 "2023-05-09T19:56:19Z")

</div>

> [@sterretje](#):
>
> Can you upload e.g. blink or other simple examples and do they behave as expected?

Please answer this question.

---

<div class="post-metadata">

**Author:** ![anon85221860](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon85221860](https://forum.arduino.cc/u/anon85221860)\
**Post date:** [May 9, 2023, 8:07pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/16 "2023-05-09T20:07:24Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/0/7/2/072a9283234bd58c9e9d8326222836ea4aef3a13.png)

---

<div class="post-metadata">

**Author:** ![dposit](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dposit](https://forum.arduino.cc/u/dposit)\
**Post date:** [May 9, 2023, 11:41pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/17 "2023-05-09T23:41:16Z")

</div>

Not really sure what you are asking

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [May 10, 2023, 12:01am UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/18 "2023-05-10T00:01:23Z")

</div>

Can you load simple code to the board (like the Blink example sketch)?

The output you posted from the verbose upload was not complete, there is much more output missing, and I'm not clear if you are getting a normal response, or if you are not able to upload.

This the full output of a successful upload

```plaintext
avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\yourName\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port : COM9
         Using Programmer : jtag2updi
         Overriding Baud Rate : 115200
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
  boot-loader FW version: 1
  firmware version: 1.07
  hardware version: 1
S_MCU:
  boot-loader FW version: 1
  firmware version: 6.07
  hardware version: 1
Serial number: 00:00:00:00:00:00
Device ID: JTAGICE mkII
         AVR Part : ATmega4809
         Chip Erase delay : 0 us
         PAGEL : P00
         BS2 : P00
         RESET disposition : dedicated
         RETRY pulse : SCK
         serial program mode : yes
         parallel program mode : yes
         Timeout : 0
         StabDelay : 0
         CmdexeDelay : 0
         SyncLoops : 0
         ByteDelay : 0
         PollIndex : 0
         PollValue : 0x00
         Memory Detail :

                                  Block Poll Page Polled
           Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
           prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00
           fuses 0 0 0 0 no 9 0 0 0 0 0x00 0x00
           fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
           data 0 0 0 0 no 0 0 0 0 0 0x00 0x00
           usersig 0 0 0 0 no 64 64 0 0 0 0x00 0x00
           flash 0 0 0 0 no 49152 128 0 0 0 0x00 0x00
           eeprom 0 0 0 0 no 256 64 0 0 0 0x00 0x00

         Programmer Type : JTAGMKII_PDI
         Description : JTAGv2 to UPDI bridge
         M_MCU hardware version: 1
         M_MCU firmware version: 1.07
         S_MCU hardware version: 1
         S_MCU firmware version: 6.07
         Serial number: 00:00:00:00:00:00
         Vtarget : 5.0 V

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.15s

avrdude: Device signature = 0x1e9651 (probably m4809)
avrdude: erasing chip
avrdude: reading input file "C:\Users\RICHAR~1\AppData\Local\Temp\arduino_build_373291/Blink.ino.hex"
avrdude: writing flash (1382 bytes):

Writing | ################################################## | 100% 1.04s

avrdude: 1382 bytes of flash written
avrdude: verifying flash memory against C:\Users\RICHAR~1\AppData\Local\Temp\arduino_build_373291/Blink.ino.hex:
avrdude: load data flash data from input file C:\Users\RICHAR~1\AppData\Local\Temp\arduino_build_373291/Blink.ino.hex:
avrdude: input file C:\Users\RICHAR~1\AppData\Local\Temp\arduino_build_373291/Blink.ino.hex contains 1382 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.21s

avrdude: verifying ...
avrdude: 1382 bytes of flash verified
avrdude: reading input file "0x01"
avrdude: writing fuse2 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse2 written
avrdude: verifying fuse2 memory against 0x01:
avrdude: load data fuse2 data from input file 0x01:
avrdude: input file 0x01 contains 1 bytes
avrdude: reading on-chip fuse2 data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of fuse2 verified
avrdude: reading input file "0xC9"
avrdude: writing fuse5 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse5 written
avrdude: verifying fuse5 memory against 0xC9:
avrdude: load data fuse5 data from input file 0xC9:
avrdude: input file 0xC9 contains 1 bytes
avrdude: reading on-chip fuse5 data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of fuse5 verified
avrdude: reading input file "0x00"
avrdude: writing fuse8 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse8 written
avrdude: verifying fuse8 memory against 0x00:
avrdude: load data fuse8 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse8 data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of fuse8 verified

avrdude done. Thank you.

```

---

<div class="post-metadata">

**Author:** ![dposit](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dposit](https://forum.arduino.cc/u/dposit)\
**Post date:** [May 10, 2023, 7:24pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/19 "2023-05-10T19:24:48Z")

</div>

I ran the blink sketch and the LED blinks but I get same output. Here is some of the output:  
avrdude: Version 6.3-20190619  
Copyright (c) 2000-2005 Brian Dean, [http://www.bdmicro.com/](http://www.bdmicro.com/)  
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Users\Dominic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

Using Port : COM4  
Using Programmer : jtag2updi  
Overriding Baud Rate : 115200  
JTAG ICE mkII sign-on message:  
Communications protocol version: 1  
M\_MCU:  
boot-loader FW version: 1  
firmware version: 1.07  
hardware version: 1  
S\_MCU:  
boot-loader FW version: 1  
firmware version: 6.07  
hardware version: 1  
Serial number: 00:00:00:00:00:00  
Device ID: JTAGICE mkII  
AVR Part : ATmega4809  
Chip Erase delay : 0 us  
PAGEL : P00  
BS2 : P00  
RESET disposition : dedicated  
RETRY pulse : SCK  
serial program mode : yes  
parallel program mode : yes  
Timeout : 0  
StabDelay : 0  
CmdexeDelay : 0  
SyncLoops : 0  
ByteDelay : 0  
PollIndex : 0  
PollValue : 0x00  
Memory Detail :

Block Poll Page Polled  
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack

* * *

signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00  
prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00  
fuses 0 0 0 0 no 9 0 0 0 0 0x00 0x00  
fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00  
data 0 0 0 0 no 0 0 0 0 0 0x00 0x00  
usersig 0 0 0 0 no 64 64 0 0 0 0x00 0x00  
flash 0 0 0 0 no 49152 128 0 0 0 0x00 0x00  
eeprom 0 0 0 0 no 256 64 0 0 0 0x00 0x00

Programmer Type : JTAGMKII\_PDI  
Description : JTAGv2 to UPDI bridge  
M\_MCU hardware version: 1  
M\_MCU firmware version: 1.07  
S\_MCU hardware version: 1  
S\_MCU firmware version: 6.07  
Serial number: 00:00:00:00:00:00  
Vtarget : 5.0 V

avrdude: jtagmkII\_initialize(): Cannot locate "flash" and "boot" memories in description  
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.27s

avrdude: Device signature = 0x1e9651 (probably m4809)  
avrdude: erasing chip  
avrdude: reading input file "C:\Users\Dominic\AppData\Local\Temp\arduino\sketches\E0DC067A1D08B72623EFB8D763E9CFDC/Blink.ino.hex"  
avrdude: writing flash (1118 bytes):

Writing | ################################################## | 100% 0.84s

avrdude: 1118 bytes of flash written  
avrdude: reading input file "0x01"  
avrdude: writing fuse2 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse2 written  
avrdude: reading input file "0xC9"  
avrdude: writing fuse5 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse5 written  
avrdude: reading input file "0x00"  
avrdude: writing fuse8 (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of fuse8 written

avrdude done. Thank you.

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [May 10, 2023, 7:37pm UTC](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623/20 "2023-05-10T19:37:27Z")

</div>

> [@dposit](#):
>
> I ran the blink sketch and the LED blinks but I get same output. Here is some of the output:

That is the output from a successful upload.

"Can't upload anything on Arduino Nano Every" is no longer accurate.

Are you still having issues with code and the Nano Every? If so, can you please post the complete code and any errors you are seeing.

[Next page](https://forum.arduino.cc/t/cant-upload-anything-on-arduino-nano-every/1095623.md?page=2)
