Nano Every fails to upload sketch

I bought two brand new Arduino Every boards recently.
I have been using one regularly to develop a simple sketch with no problems.
I made some changes to the sketch as usual and went to upload.
Got this message

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Windows reports something like unrecognised device and nothing shows in Device Manager/Ports etc.

Tried the second Nano and no problems uploading. COM 3 shows in Device Manager.

Looks like £14 Nano has had it. Pretty p**d off as absolutely nothing done to hardware.
The broken Nano is still working with the last sketch loaded, but can't communicate.
Flaky USB chip?
Don't know how I stand with the seller, established Arduino reseller.
Is there any way to establish what might be wrong? Something failed? Any way to use it?
Wary of buying any more as never in many years of supporting Arduino, have never had this sort of failure so quickly.

Thanks

If it were me in that situation, the first thing I'd do is cool down, turn on verbose output during upload, get a useful error message and see if that told me anything. Getting angry at a bump in the road is not a useful reaction.

You can always contact the vendor, they may be able to help you and possibly offer a replacement.

Restarting the computer can help when it fails to recognize a Nano Every.

Please don't tell me to cool down.
I don't need that sort of advice.
I already have verbose turned on.
I've seen more bumps in the road than you've had hot dinners.

Thanks Cattledog.
I'll give it a go.
I'm not optimistic as nothing has changed.
The second Every was recognised straight away.
I can try the non-cooperative one on another PC.
I'll report back tomorrow.

Good luck with your debugging.

I said what I'd do. You might wish to reflect on that.

Hi @tigger. I'm going to ask you to provide the full verbose output from an upload attempt.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compile in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  8. Open a reply here on this forum topic by clicking the "Reply" button.
  9. Click the <CODE/> 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.
  10. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the "Reply" button to publish the post.

Here it is

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\pg\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": The system cannot find the file specified.



avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Much shorter than normal. I hadn't seen the copyright stuff before, so immediate thought was some sort of hacking.

Personally, I think the Every is shot. I'm going to try it on another PC and will report.

Bought some real cheapo Nano's recently as well.
Neither of those would load. Othe CH340 chipped clones have been alright, but I don't really know what's on these Nano's as there are no markings on it at all.

I've got some genuine, hopefully, CH340 chips and will replace the duff ones.

If the Every has gone, I'm sure it's nothing to do with the way I'm using it. Win 11 new Dell PC, powered USB hub.

Worked for many uploads, the Every, then fails.

The project is to replace a bathroom fan run-on timer - too many failed commercial units - so hopefully fit and forget.

Very expensive AEG washing machine failed as well this week, so not pleased. Out of warranty. Stuffed full of complex looking processors and an impressive motor control board with no less than 8 TO220 power devices in a row. No means of finding fault, so off to the scrap heap. Next one will be clockwork.

Reflect?
No thanks.
I spent decades solving industrial problems in conditions that few people wouldn't encounter in a lifetime and wouldn't like it if they did. Reflecting got you nowhere.

Depending on the exact issue but this might help you sort it out: Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port - #49 by ptillisch.

Just an update.

As promised, tried the same Every on another PC. No problems at all, recognised, visible in Device Manager.

Loaded Blink, works fine.

I don't think it's the original computer USB port as I have other devices, Picoscope etc., running successfully.

I can't fully test it by shutting down the PC it was running on as it's busy all the time. I have noticed in the past, again with Arduino boards (Mega 2560), the COM port just seems to run out of steam and won't communicate. Usually unplugging the port and plugging in again restores communication, but the Every won't be having that.

At least it's not totally fried.

I'll take a look at @ptillisch post. Cattledog was right about restarting.

Thanks

Ref the CH340 problem, but for some reason, I had to install the CH340 driver. In the past, I have never had to do that.

I got the driver from the CH340 manufacturer site, so I guess it's the latest one.

I'll have a go another day as I need to get back to what I was originally doing with the Every. It can be hard work sometimes.