Error while uploading first sketch

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\ericl\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\ericl\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM3" -b115200 -D "-Uflash:w:C:\Users\ericl\AppData\Local\Temp\arduino\sketches\A68780F95D40E61BDA44ECD6704B25E1/Blink.ino.hex:i"

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\ericl\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM3
     Using Programmer              : arduino
     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

Do you know if your Serial Monitor is open? If it is open, be sure to close it and try uploading again.

1 Like

In the Serial Monitor it says: "Port monitor error: command 'open' failed: Serial Port not found. Could not connect to COM3 serial port."

Open the Windows device manager and use that to determine if an Arduino is connected to a COM port, and if so, which one.

1 Like

What specifically do I need to do in Device Manager?

Does the Ports category exist? if so are there any ports listed.

1 Like

Yes, there is an 'Intel(R) Active Management Technology - SOL (COM3)', nothing else in Ports(COM & LPT)

do in Device Manager?

Look to see if a COM port appears/disappears when you plug/unplug the Arduino.
If one does, note the number and inform the Arduino IDE.

If it doesn't, one possibility is that the USB cable is charge-only, not a data cable.

1 Like

No changes in ports when I remove the usb cable and "scan for hardware changes". The cable came from the kit I bought: Budget Pack for Metro 328 - with Assembled Metro ATmega328P : ID 193 : $29.95 : Adafruit Industries, Unique & fun DIY electronics and kits

Try several USB cables, until you locate a functional data cable. Since Adafruit supports their products, I suggest to post on their forum, as you may have a dead board.

1 Like

Thanks for all your help and sorry for the trouble. I realized I needed to install a driver

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