# Arduino IDE stuck on Uploading

**URL:** <https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768>\
**Category:** IDE 2.x\
**Created:** [August 13, 2023, 7:50am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768 "2023-08-13T07:50:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 13, 2023, 7:50am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/1 "2023-08-13T07:50:52Z")

</div>

Hi Guys.  
I am currently working with Arduino Nano but I cannot upload any code on it.  
I have been working with my Arduino UNO from the past 1 month and faced no problem.  
I Recently switched to Nano when the problem began.  
Primarily when I hit upload it gives the error :  
`avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.`  
As suggested by some people on the net I tried

1. unplugging the Nano  
2.Uploading the code  
3.Plugging in the Nano  
4.Uploading the code  
Then it does not give the previous error instead it goes on an infinite uploading task which does not stop.  
I am Unable to upload even the Bare-Minimum code

---

<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:** [August 13, 2023, 12:26pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/2 "2023-08-13T12:26:57Z")

</div>

Hi @fredi999. Please tell us which USB to serial adapter chip your Nano board has. This is the largest black chip on the bottom of the board.

The chip will usually be identified by writing on the top. This might say something like " **WCH CH340G**" or " **FTDI FT232RL**".

Examples:

## [WCH CH340](http://www.wch-ic.com/products/CH340.html)

 ![CH340](https://europe1.discourse-cdn.com/arduino/original/4X/d/d/5/dd50c8d297158a9b05273837eab3c0530f65f5dd.png)

 

> **📷**
>
> [SparkFun](https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all) - [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) (cropped)

 
## [FTDI FT232R](https://ftdichip.com/products/ft232rl/)

 ![FT232RL](https://europe1.discourse-cdn.com/arduino/original/4X/b/a/6/ba672962b3e7581737fd03407b823835246e1c2e.jpeg)

 

> **📷**
>
> [ICIC-SS28-X-K232-01](https://www.flickr.com/photos/snazzyguy/15800423994/) by [oomlout](https://www.flickr.com/people/snazzyguy) - [CC BY-SA 2.0](https://creativecommons.org/licenses/by-sa/2.0/) (cropped)

 
* * *

If it isn't clear, alternatively you can provide the link to where you bought the board from and we'll see if we can determine the chip from the product listing.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 13, 2023, 1:06pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/3 "2023-08-13T13:06:50Z")

</div>

I think it is **WCH CH340G** by looking at the number of Connections it has with the board.It has no label on it and I bought it offline so I cannot provide a link to it.Moreover When I connect it to my PC the nano shows up as **USB-SERIAL CH340**

---

<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:** [August 13, 2023, 1:20pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/4 "2023-08-13T13:20:49Z")

</div>

Is COM3 indeed the Nano? Does it disapoear from the IDE and Windows device manager when disconnecting?

Have you tried the various options under tools -\> processor. Clone Nanos often implement the old boot loader.

---

<div class="post-metadata">

**Author:** ![gilshultz](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gilshultz](https://forum.arduino.cc/u/gilshultz)\
**Post date:** [August 13, 2023, 1:32pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/5 "2023-08-13T13:32:13Z")

</div>

This happens to me with an earlier version of the IDE. I close the IDE, reopen it, check in tools that the correct Nano is selected and change the boot loader. if upload does not work. If it is a china clone you most likely need the old bootloader.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 13, 2023, 2:46pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/6 "2023-08-13T14:46:17Z")

</div>

Switching the bootloader to an older version did the job.  
Thank you, everyone.  
I also had an Arduino Pro Mini with the same issue. Although switching to an older bootloader did the job for Nano I still face the same issue with the pro mini.  
Can you guys with this?  
What I don't get is that I had already tried the older version of the bootloader using the online Arduino editor and it did not work but It works with the Arduino IDE.  
does anyone know why?

---

<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:** [August 13, 2023, 4:38pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/7 "2023-08-13T16:38:17Z")

</div>

> [@fredi999](#):
>
> I also had an Arduino Pro Mini with the same issue. Although switching to an older bootloader did the job for Nano I still face the same issue with the pro mini.  
> Can you guys with this?

Does your TTL-to-USB adapter that you use with the Pro Mini provide the DTR signal? If not, you need to manually reset the board at exactly the right time.

> [@fredi999](#):
>
> What I don't get is that I had already tried the older version of the bootloader using the online Arduino editor and it did not work but It works with the Arduino IDE.  
> does anyone know why?

No idea. Try it again and see if it works now.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 13, 2023, 6:33pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/8 "2023-08-13T18:33:16Z")

</div>

> [@sterretje](#):
>
> Does your TTL-to-USB adapter that you use with the Pro Mini provide the DTR signal? If not, you need to manually reset the board at exactly the right time.

I use FT232RL as TTL-to-USB adapter. As for the DTR signal I don't know whether it provides or not.

---

<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:** [August 14, 2023, 2:33am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/9 "2023-08-14T02:33:24Z")

</div>

This is the common wiring between a FTDI adapter and a Pro Mini; image copied from [How to connect an Arduino Pro Mini to a PC via a USB to Serial module | B4X Programming Forum](https://www.b4x.com/android/forum/threads/how-to-connect-an-arduino-pro-mini-to-a-pc-via-a-usb-to-serial-module.77010/)

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/1/8/0/180a13b68a5dc96268adc4a8f511892ce2f7fd00.jpeg)

Note the grey wire.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 14, 2023, 4:59am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/10 "2023-08-14T04:59:28Z")

</div>

Yeah being wiring it up like this only

---

<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:** [August 14, 2023, 5:57am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/11 "2023-08-14T05:57:27Z")

</div>

One other point; there is a bug in IDE 2.x that prevents uploads "through" a FTDI chip when serial monitor is open. Close serial monitor.

Might only apply to Windows, not sure.

> <https://github.com/arduino/arduino-ide/issues/1783>
>
> \### Describe the problem
> 
> In order to upload to an Arduino board via a serial …port, the upload tool (e.g., \[\*\*AVRDUDE\*\*\](https://github.com/avrdudes/avrdude)) must be able to open the port. This is not possible if another process already has control of the port.
> 
> Arduino IDE's "Serial Monitor" and and "Serial Plotter" components also use the serial port of the board. Arduino IDE handles this potential conflict of port usage automagically by closing the port in Serial Monitor/Plotter when an upload process is triggered, then opening it again after the upload is finished. This means no special action is needed from the user to upload while Serial Monitor/Plotter is open.
> 
> 🐛 The upload fails with an "\`Access is denied\`" error under the following conditions:
> 
> \- The board uses an FTDI FT232R USB chip
> \- Arduino IDE is running on a Windows machine
> \- Serial Monitor or Serial Plotter is open
> 
> I've been using Arduino IDE 2.0.3 with Nano without issues when uploading on Ubuntu. Now I've tried it on Windows 11, and most of the time, it gives me this error:
> 
> \`\`\`text
> 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\\macie\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avrdude\\6.3.0-arduino17/etc/avrdude.conf"
> 
> Using Port : COM5
> Using Programmer : arduino
> Overriding Baud Rate : 115200
> avrdude: ser\_open(): can't open device "\\\\.\\COM5": Access is denied.
> \`\`\`
> 
> But I can see logs from the serial monitor in Arduino IDE -\> serial monitor. 
> 
> \### To reproduce
> 
> \#### Equipment
> 
> A board or other device that has an \[FTDI FT232R USB chip\](https://ftdichip.com/products/ft232rl/)
> 
> The \[classic \*\*Arduino Nano\*\*\](https://docs.arduino.cc/hardware/nano) is a common board that uses this chip.
> 
> FT232R modules (\[example\](https://docs.arduino.cc/retired/other/usb-serial-converter)) or cables (\[example\](https://www.sparkfun.com/products/9717)) are also often used to upload to boards such as the \[\*\*Arduino Pro Mini\*\*\](https://www.sparkfun.com/products/11113) that don't have an integrated USB chip.
> 
> The fault can be reproduced even if the FT232R-based device is not an Arduino board. In this case, the upload is expected to fail, but it would fail with a "\`not in sync\`" error instead of "\`Access is denied\`".
> 
> \#### Steps
> 
> 1. Select \*\*File \> New Sketch\*\* from the Arduino IDE menus.
> 1. Connect the Arduino board to your computer.
> 1. Select the board and port from the Arduino IDE menus.
> 1. If the Serial Monitor view is not already open, select \*\*Tools \> Serial Monitor\*\* from the Arduino IDE menus to open it.
> 1. Select \*\*Sketch \> Upload\*\* from the Arduino IDE menus.
> 1. Wait for the upload process to finish.
> 🐛 The upload fails:
> \`\`\`text
> 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\\macie\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avrdude\\6.3.0-arduino17/etc/avrdude.conf"
>    
> Using Port : COM5
> Using Programmer : arduino
> Overriding Baud Rate : 115200
> avrdude: ser\_open(): can't open device "\\\\.\\COM5": Access is denied.
> \`\`\`
> 1. Click the \*\*X\*\* icon on the "\*\*Serial Monitor\*\*" view tab in the bottom panel.
> 1. Select \*\*Sketch \> Upload\*\* from the Arduino IDE menus.
> 1. Wait for the upload process to finish.
> 🙂 The upload is successful.
> 1. Select \*\*Tools \> Serial Plotter\*\* from the Arduino IDE menus.
> 1. Select \*\*Sketch \> Upload\*\* from the Arduino IDE menus.
> 1. Wait for the upload process to finish.
> 🐛 The upload fails:
> \`\`\`text
> 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\\macie\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avrdude\\6.3.0-arduino17/etc/avrdude.conf"
>    
> Using Port : COM5
> Using Programmer : arduino
> Overriding Baud Rate : 115200
> avrdude: ser\_open(): can't open device "\\\\.\\COM5": Access is denied.
> \`\`\`
> 1. Close the "\*\*Serial Plotter\*\*" window.
> 1. Select \*\*Sketch \> Upload\*\* from the Arduino IDE menus.
> 1. Wait for the upload process to finish.
> 🐛 The upload fails:
> \`\`\`text
> 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\\macie\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avrdude\\6.3.0-arduino17/etc/avrdude.conf"
>    
> Using Port : COM5
> Using Programmer : arduino
> Overriding Baud Rate : 115200
> avrdude: ser\_open(): can't open device "\\\\.\\COM5": Access is denied.
> \`\`\`
> \*\*ⓘ\*\* This unexpected result is caused by a separate bug: https://github.com/arduino/arduino-ide/issues/1423
> 
> \### Expected behavior
> 
> Serial Monitor and Serial Plotter do not interfere with upload process.
> 
> \### Arduino IDE version
> 
> \#### Original report
> 
> 2.0.3
> 
> \#### Last verified with
> 
> 692f29f
> 
> \### Operating system
> 
> Windows
> 
> \### Operating system version
> 
> Edition	Windows 11 Pro
> Version	22H2
> Installed on	07/11/2022
> OS build	22621.963
> Experience	Windows Feature Experience Pack 1000.22638.1000.0
> 
> \### Additional context
> 
> I bisected the introduction of the fault to df8658e
> 
> \---
> 
> I have no problems uploading sketches on Arduino IDE 1.8.19 from Microsoft Store on the same system. I can quit 2.0.3, start 1.8.19, and it's working immediately.
> 
> \---
> 
> I cannot reproduce the fault on Linux (Ubuntu 22.04) or macOS (Ventura).
> 
> \---
> 
> I cannot reproduce the fault when using native USB boards (e.g., \[\*\*Leonardo\*\*\](https://docs.arduino.cc/hardware/leonardo), \[\*\*MKR\*\*\](https://docs.arduino.cc/#mkr-family)) or boards that use other models of dedicated USB chip (e.g., ATmega16U2 on Uno and Mega, WCH CH340 on derivative boards).
> 
> \<a name="workaround"\>\</a\>
> 
> \#### Workaround
> 
> \<a name="serial-monitor"\>\</a\>
> 
> \##### Serial Monitor
> 
> 1. Click the \*\*X\*\* icon on the "\*\*Serial Monitor\*\*" tab in the bottom panel of the Arduino IDE window to close the tab:
> !\[image\](https://user-images.githubusercontent.com/8572152/215050213-e6c41c1a-0eae-448a-ae91-f2acefedf793.png)
> 1. Upload the sketch.
> 1. Open \*\*Serial Monitor\*\* again if needed (by clicking the icon on the IDE toolbar or the \*\*Tools \> Serial Monitor\*\* menu item) after the upload is finished.
> 
> \<a name="serial-plotter"\>\</a\>
> 
> \##### Serial Plotter
> 
> 1. Close the "\*\*Serial Plotter\*\*" window.
> 1. If the "\*\*Serial Monitor\*\*" view is not already open, select \*\*Tools \> Serial Monitor\*\* from the Arduino IDE menus to open it.
> \*\*ⓘ\*\* We must do an open/close cycle on \*\*Serial Monitor\*\* as a workaround for \[a bug\](https://github.com/arduino/arduino-ide/issues/1423) in \*\*Serial Plotter\*\*
> 1. Click the \*\*X\*\* icon on the "\*\*Serial Monitor\*\*" tab in the bottom panel of the Arduino IDE window to close the tab:
> !\[image\](https://user-images.githubusercontent.com/8572152/215050213-e6c41c1a-0eae-448a-ae91-f2acefedf793.png)
> 1. Upload the sketch.
> 1. Open \*\*Serial Monitor\*\* and/or \*\*Serial Plotter\*\* again if needed after the upload is finished.
> 
> \#### Additional reports
> 
> \- https://forum.arduino.cc/t/brand-new-nano-wont-connect-to-latestide-software/1129473/10
> \- https://forum.arduino.cc/t/arduino-nano-not-able-to-upload-comx-port-access-denied/1081669/15
> \- https://forum.arduino.cc/t/elusive-uno-upload-error-access-is-denied/1067785/5
> \- https://forum.arduino.cc/t/port-issues-with-ide-2-0-3/1069090
> \- https://forum.arduino.cc/t/fdti-breakout-2-types-cause-usb-acess-denial/1088005
> \- https://forum.arduino.cc/t/port-access-is-denied/1089761
> \- https://forum.arduino.cc/t/cant-open-device-when-uploading-but-serial-monitor-works/1127731
> \- https://forum.arduino.cc/t/2-1-0-no-longer-disables-monitor-during-upload-update/1139065
> \- https://forum.arduino.cc/t/access-denied-when-uploading-to-arduino-nano/1139330/1
> \- https://forum.arduino.cc/t/access-denied-when-uploading-to-arduino-nano/1139330/11
> \- https://forum.arduino.cc/t/2-11-com3-access-is-denied/1143750
> \- https://forum.arduino.cc/t/cannot-upload-to-arduino-nano/1145391
> \- https://forum.arduino.cc/t/cant-upload-to-pro-mini-port-access-is-denied/1152460
> \- https://github.com/arduino/arduino-ide/issues/1937
> \- https://github.com/arduino/arduino-ide/issues/726#issuecomment-1464313325
> 
> \### Issue checklist
> 
> \- \[X\] I searched for previous reports in \[the issue tracker\](https://github.com/arduino/arduino-ide/issues?q=)
> \- \[X\] I verified the problem still occurs when using the latest \[nightly build\](https://www.arduino.cc/en/software#nightly-builds)
> \- \[X\] My report contains all necessary details

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 14, 2023, 8:49am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/12 "2023-08-14T08:49:17Z")

</div>

I had my serial monitor closed from the beginning , Still tried again and it didn't work

---

<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:** [August 14, 2023, 9:28am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/14 "2023-08-14T09:28:07Z")

</div>

Hi @fredi999. I'm going to ask you to post the full verbose output from an attempt to upload to your Pro Mini board.

* * *

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

* * *

Please do this:

1. Select **File \> Preferences...** from the Arduino IDE menus.  
The " **Preferences**" dialog will open.
2. Uncheck the box next to **Show verbose output during: `☑` compilation** in the " **Preferences**" dialog.
3. Check the box next to **Show verbose output during: ☐ upload**.
4. Click the **OK** button.
5. Attempt an upload, as you did before.
6. Wait for the upload to fail.
7. You will see a " **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 forum reply here 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.  
 ![Code tags icon on toolbar](https://europe1.discourse-cdn.com/arduino/original/4X/f/3/4/f34b0ef2ecd107da4bf127b3c0bc1c28569e7fe0.png)
10. Press **Ctrl** + **V**.  
This will [paste](https://lifehacker.com/how-to-copy-cut-and-paste-for-beginners-5801525) the error output from the upload into the code block.
11. Move the cursor outside of the code tags before you add any additional text to your reply.
12. Click the **Reply** button to post the output.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 14, 2023, 5:05pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/15 "2023-08-14T17:05:25Z")

</div>

```arduino
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:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\avrdude\include/bin/avrdude" "-CC:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\avrdude\include/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM5" -b57600 -D "-Uflash:w:C:\Users\user\AppData\Local\Temp\arduino\sketches\36E8496A6D7C895362B27282416DF449/sketch_aug14a.ino.hex:i"

avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\avrdude\include/etc/avrdude.conf"

         Using Port : COM5
         Using Programmer : arduino
         Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x58
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x58

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

```

This is what I got

---

<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:** [August 15, 2023, 2:29am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/16 "2023-08-15T02:29:53Z")

</div>

This error might be caused by having the wrong port selected from the **Tools \> Port** menu in Arduino IDE.

Please perform this experiment to verify that the port you have selected is your Arduino board:

With some boards, the port will be labeled with the board name in the menu (e.g., "**COM42 (Arduino Uno)**"). In this case, you can be fairly confident that you have identified the port. But for other boards such as your Pro Mini the port will not be labeled. You can positively identify the port using this procedure:

1. Disconnect the USB cable of the Arduino board from your computer.
2. Select **Tools \> Port** from the Arduino IDE menus.
3. Take note of the ports, if any, listed in the menu.
4. Close the **Tools** menu.  
❗ The ports list is only updated when the **Tools** menu is re-opened, so this step is essential.
5. Connect the Arduino board to your computer with a USB cable.
6. Select **Tools \> Port** from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.

Select that port from the menu and try uploading again.

If the upload still fails, or if no new port appeared after you plugged the Arduino board into your computer, add a reply here to let us know and we'll investigate the problem further.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 15, 2023, 8:49am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/17 "2023-08-15T08:49:05Z")

</div>

Yeah I am pretty sure that I am using the correct port as I did this a couple of times before.

---

<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:** [August 15, 2023, 1:54pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/18 "2023-08-15T13:54:49Z")

</div>

> [@fredi999](#):
>
> I am pretty sure

Please perform the procedure I provided above to be certain. It only takes a few seconds to do and might save a lot of time and frustration.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 15, 2023, 3:28pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/19 "2023-08-15T15:28:14Z")

</div>

I Meant I did the procedure that you suggested a lot of times before as I suspected the same issue . The port COM5 disappears when I disconnect the Arduino and reappears when I reconnect it. I did it again and same results.

---

<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:** [August 16, 2023, 2:11am UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/20 "2023-08-16T02:11:08Z")

</div>

It is possible for a short or external circuitry connected to the Arduino board to interfere with the upload process, causing this type of upload error.

Make sure the board is not sitting on anything conductive that could short the contacts on the bottom of the board. Make sure there isn't any conductive debris (e.g., strands of wire or component leads) on the board or on the surface the board is sitting on.

If you have a shield or any external circuitry or components connected to your Arduino board, try this experiment:

1. Disconnect the USB cable of the Arduino board from your computer.
2. Disconnect any shields, modules, external circuitry, etc. from your board.
3. Connect the Arduino board to your computer with a USB cable.

Now try uploading a sketch to the board again. Does the upload succeed?

This experiment will determine whether the upload error was caused by interference from your external circuitry. If so, you can then focus your attention on identifying the specific problem with the circuit and resolving it.

---

<div class="post-metadata">

**Author:** ![fredi999](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fredi999](https://forum.arduino.cc/u/fredi999)\
**Post date:** [August 25, 2023, 6:36pm UTC](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768/21 "2023-08-25T18:36:36Z")

</div>

Guys its working now. I think it was a circuit problem.I re-soldered the headers on the pro mini and now it works!! Thank you everyone for their time.

[Next page](https://forum.arduino.cc/t/arduino-ide-stuck-on-uploading/1157768.md?page=2)
