# cannot upload Arduino UNO ATMEGA 328P: avrdude: ser\_open(): can't open device

**URL:** <https://forum.arduino.cc/t/cannot-upload-arduino-uno-atmega-328p-avrdude-ser_open-cant-open-device/584869>\
**Category:** Uploading\
**Created:** [April 9, 2019, 2:42am UTC](https://forum.arduino.cc/t/cannot-upload-arduino-uno-atmega-328p-avrdude-ser_open-cant-open-device/584869 "2019-04-09T02:42:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meghamb](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@meghamb](https://forum.arduino.cc/u/meghamb)\
**Post date:** [April 9, 2019, 2:42am UTC](https://forum.arduino.cc/t/cannot-upload-arduino-uno-atmega-328p-avrdude-ser_open-cant-open-device/584869/1 "2019-04-09T02:42:32Z")

</div>

avrdude: ser\_open(): can't open device "\.\COM4": The system cannot find the file specified.

I tried different COM ports, still no luck

any help appreciated

---

<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:** [April 10, 2019, 12:13pm UTC](https://forum.arduino.cc/t/cannot-upload-arduino-uno-atmega-328p-avrdude-ser_open-cant-open-device/584869/2 "2019-04-10T12:13:01Z")

</div>

Make sure you have selected the port of your Arduino board from the **Tools \> Port** menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:

- Unplug your Arduino board from the computer.
- Tools \> Port
- Note the ports, if any, listed in the menu.
- Close the Tools menu
- Plug your Arduino board into the computer.
- Tools \> Port - The new port listed in the menu is your Arduino board.

---

<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:** [May 6, 2021, 6:08pm UTC](https://forum.arduino.cc/t/cannot-upload-arduino-uno-atmega-328p-avrdude-ser_open-cant-open-device/584869/3 "2021-05-06T18:08:42Z")

</div>

Closed on May 6, 2021, 6:08pm UTC


