# Code upload problem

**URL:** <https://forum.arduino.cc/t/code-upload-problem/1124762>\
**Category:** Uploading\
**Created:** [May 9, 2023, 5:16am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762 "2023-05-09T05:16:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![afridy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/afridy/32/962494_2.png) [@afridy](https://forum.arduino.cc/u/afridy)\
**Post date:** [May 9, 2023, 5:16am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/1 "2023-05-09T05:16:28Z")

</div>

using arduino ide updated version 2.1.0 and also old version 1.18.19 .....code cann't upload to the board....  
i'm also try the arduino online editor.......  
tried arduino nano, uno , and esp8266, arduino pro mini.....  
"Failed uploading: no upload port provided"  
find serial port number from device manager.....  
not working....  
also tried update the serial port driver....  
but not working...

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [May 9, 2023, 5:20am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/2 "2023-05-09T05:20:00Z")

</div>

I moved your topic to an appropriate forum category @afridy.

In the future, please take some time to pick the [forum category](https://forum.arduino.cc/categories) that best suits the subject of your topic. There is an " **About the \_\_\_\_\_ category**" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in [the " **How to get the best out of this forum**" guide](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966). The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

---

<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:** [May 9, 2023, 5:29am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/3 "2023-05-09T05:29:58Z")

</div>

Hi @afridy

> [@afridy](#):
>
> "Failed uploading: no upload port provided"

Did you select a port from the **Tools \> Port** menu in Arduino IDE?

> [@afridy](#):
>
> find serial port number from device manager.....  
> not working....

I'm not sure I understood correctly what you mean by this. Do you see a serial port for your board in the Windows "Device Manager"?

---

<div class="post-metadata">

**Author:** ![afridy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/afridy/32/962494_2.png) [@afridy](https://forum.arduino.cc/u/afridy)\
**Post date:** [May 9, 2023, 9:34am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/4 "2023-05-09T09:34:13Z")

</div>

Yes, select port from Tools\>port  
but now working

---

<div class="post-metadata">

**Author:** ![afridy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/afridy/32/962494_2.png) [@afridy](https://forum.arduino.cc/u/afridy)\
**Post date:** [May 9, 2023, 9:35am UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/5 "2023-05-09T09:35:45Z")

</div>

yes ....  
then select that port from tools\>port  
but still not working

---

<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:** [May 9, 2023, 5:23pm UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/6 "2023-05-09T17:23:41Z")

</div>

> [@afridy](#):
>
> still not working

It will not be possible for us to help you with that problem based on such a vague description. Please provide a detailed explanation of what you mean by this, including:

- What did you do?
- What were the results you expected from doing that thing?
- What were the results you observed that did not match your expectations?
  - Make sure to include the full and exact text of any error or warning message you might have encountered.

---

<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:** [May 9, 2023, 6:33pm UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/7 "2023-05-09T18:33:33Z")

</div>

> [@afridy](#):
>
> find serial port number from device manager.....  
> not working....

If that means that windows does not see your boards, they will also not be available in the IDE.

If that is the case, is there a common denominator? Cable? TTL-to-USB converter?

Did it work before?

> [@afridy](#):
>
> then select that port from tools\>port  
> but still not working

Which port did you choose? Does it disappear when you disconnect? If not, the port that you use is not the Arduino.

---

<div class="post-metadata">

**Author:** ![apf1979](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/apf1979/32/966781_2.png) [@apf1979](https://forum.arduino.cc/u/apf1979)\
**Post date:** [May 9, 2023, 6:39pm UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/8 "2023-05-09T18:39:48Z")

</div>

> [@afridy](#):
>
> tried arduino nano, uno , and esp8266, arduino pro mini.....

Are these boards you selected to try with the board you have, or are different boards you have that you tried communicating with? What board exactly do you have?

---

<div class="post-metadata">

**Author:** ![ginomoto](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ginomoto/32/963264_2.png) [@ginomoto](https://forum.arduino.cc/u/ginomoto)\
**Post date:** [May 10, 2023, 7:36pm UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/9 "2023-05-10T19:36:49Z")

</div>

I also had a problem with the upload to the Arduino Uno board, in my case it was a USB port on the front of the case, I changed it to a USB port on the back and it's working fine, it's just a suggestion, I hope I could help, good luck.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 6, 2023, 7:36pm UTC](https://forum.arduino.cc/t/code-upload-problem/1124762/10 "2023-11-06T19:36:55Z")

</div>

Closed on November 6, 2023, 7:36pm UTC

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