I am a Newbie. Comm error between my lap top and the Arduino.

Hello

I'm new to Arduino and I need your help.

I am at the beginning stage of trying to upload to the board. The error message I get below indicates that access is denied to the COM4 port. I have followed the trouble shooting steps but I am still not having any success.

Any help you could send me would be greatly appreciated.

Thank you in advance for any tips you can send me.

Jonny

Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328P"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b57600 -D -Uflash:w:C:\Users\jonny\AppData\Local\Temp\arduino_build_74068/sketch_jan25a.ino.hex:i

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

System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

An error occurred while uploading the sketch
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: ser_open(): can't open device "\.\COM4": Access is denied.

avrdude done. Thank you.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

20190125_103139 (1).jpg

(deleted)

(deleted)

Access Denied generally indicates that another program has the serial port open. Exit that program or tell it to disconnect from the port.

Very rarely, we see reports of people who have some sort of "modem manager" software, or other software installed designed to connect to some serial device, which runs in the background, assumes any serial port is the type of device that it's designed to talk to, and automatically connects to it and starts trying to talk to it as if it is that type of device. This is quite unusual nowadays, as very few people have anything related to old school modems on their computer....

Thank you to every one who responded to me. I followed spycatcher2k's advice, this seems to have solved my problem.

"Select UNO from the boards menu (The hint is the work UNO on your board).

Close the IDE.
Restart your computer.
Start the IDE.
Open and upload 'Blink' from the examples menu."

Jonny