Cannot Upload To Nano Every

I just got an Arduino Nano Every and when I first plugged it in the builtin LED started flashing, and it wasn't recognizing that it was plugged in. But I tried uploading a really simple servo sketch but it just said that the upload failed. So I chose a random port and it finished uploading but the servo didn't move...
How can I fix this?
Thanks!

image

Not simple enough! Various things could go wrong with that even if the code uploaded ok.

Use the blink example sketch to flash the on-board led. Change the delay() lengths each time you upload it to be sure it has uploaded.

Okay so I uploaded the code and it failed, so I chose the only available port "Port 1" and got this error

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano Every, ATMEGA328"

Sketch uses 1118 bytes (2%) of program storage space. Maximum is 49152 bytes.

Global variables use 22 bytes (0%) of dynamic memory, leaving 6122 bytes for local variables. Maximum is 6144 bytes.

Forcing reset using 1200bps open/close on port COM1

C:\Users\ \AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\ \AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega4809 -cjtag2updi -PCOM1 -b115200 -e -D -Uflash:w:C:\Users\ukuba\AppData\Local\Temp\arduino_build_538925/sketch_sep14a.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/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Users\ 

\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM1

     Using Programmer              : jtag2updi

     Overriding Baud Rate          : 115200

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

avrdude: jtagmkII_getsync(): sign-on command: status -1

An error occurred while uploading the sketch

Google the error.

One of the most usual causes of your problem is not using a good usb data cable. Do you have any others to try, and can you confirm with another Arduino it is good for loading code?

This is very unusual. What do you see in the IDE under Tools for "Port".
Are you indeed seeing "Port: COM1(ArduinoNanoEvery)"?

What do you see in Device Manager under Ports(COM & LPT)? If you disconnect and reconnect the Nano Every, does the pc make the usb connection tone and does the port come and go in the device manager?

Make certain that you are using the basic "Blink" example sketch for your testing and have no other connections to the Nano Every other than the usb connection.

Yeah i tried a different cable, it doesnt work I just tried the loopback test, and it didn't even upload, so I'm just gonna stick to the Uno for now.

Is this a new Nano Every?
Where did it come from? Is it a board from Arduino or some kind of clone?

Unlike the classic Nano board, you can't perform a loopback test on the Nano Every board. The reason is that the USB to serial bridge chip on the board is connected to a dedicated serial interface on the primary ATmega4809 microcontroller, and that serial interface is not broken out to the board's headers (a second serial interface is connected to pins 0 and 1 on the header) so there isn't an easy way to jumper the pins.

Arduino completely new 3 pack from amazon

All the Nano Everys I have purchased from Amazon have worked out of the box and Amazon is a good vendor for the Nano Every.

Do the other devices from the three pack act the same way?

If you know the cable is good, I would suspect a Windows problem. What is the Device Manager telling you?

oh, but it still didnt upload so its still broken?

I tried another from the pack and it didn't work, and since the project I'm making needs 2 arduinos, I'm going to return it anyway. But I was trying to check if the nrf24L01 I bought works with my r4 wifi, and there is no COM port with the board....

Are you certain that you haven't whacked your PC's USB port ?
Maybe shut down the PC and reboot after a few minutes (allowing the resettable fuse to 'reset').

What Port was it showing?

Was this board running Blink as well. If so, both boards were programmed successfully by Arduino before packaging and shipping.

I'd be focusing on Windows 10 usb issues and not assuming defective boards.

Huh?

Please double-check that.

They were both flashing the builtin LED when I first added power, but I couldnt upload new code

Was it also at COM1? Do you get the usb tone when you you plug/unplug the usb connector?

COM 1 yes

Do you have access to any other Win10 computer to try? I think there is an issue with USB on the computer you are using.

I dont think so, they arent mine and dont have the IDE installed

Also when I try another port don't he PC it doesn't work either