# Progamming error

**URL:** <https://forum.arduino.cc/t/progamming-error/1459363>\
**Category:** Uploading\
**Created:** [September 12, 2026, 9:22am UTC](https://forum.arduino.cc/t/progamming-error/1459363 "2026-09-12T09:22:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakshhadadisrihari](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jakshhadadisrihari](https://forum.arduino.cc/u/jakshhadadisrihari)\
**Post date:** [September 12, 2026, 9:22am UTC](https://forum.arduino.cc/t/progamming-error/1459363/1 "2026-09-12T09:22:15Z")

</div>

avrdude: verification error; content mismatch

avrdude: verification error; content mismatch

This error is coming when i plug my Arduino UNO SMD into the port COM4 on my Windows 7 Laptop with Arduino IDE 1.8.19....

Sometimes the COM4 port is not detected at all.

When I plug the board into COM3, The error

avrdude: ser\_open(): can't open device "//./COM3": would come.

Now after uploading it a couple of times the error the error

avrdude: ser\_open(): can't open device "//./COM3": The semaphore timeout period has expired will come.

Please can you give the solution fast the project is due after 2 days...

---

<div class="post-metadata">

**Author:** ![GolamMostafa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/golammostafa/32/239011_2.png) [@GolamMostafa](https://forum.arduino.cc/u/GolamMostafa)\
**Post date:** [September 12, 2026, 9:32am UTC](https://forum.arduino.cc/t/progamming-error/1459363/2 "2026-09-12T09:32:13Z")

</div>

**1.** Coonect your Arduino UNO with PC using a USB Port.  
**2.** Do the following and chcek that the UNO has been assigned COM Port.  
start ---\> Device Manager ---\> Ports ---\> COM4 (mine one)

**3.** Open IDE and do the following:  
Tools ---\> Port ---\> slect COM4

**4.** Open Blink sketch and upload it. The onboard LED (L) should start bink.

---

<div class="post-metadata">

**Author:** ![gcjr](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gcjr/32/314015_2.png) [@gcjr](https://forum.arduino.cc/u/gcjr)\
**Post date:** [September 12, 2026, 9:37am UTC](https://forum.arduino.cc/t/progamming-error/1459363/3 "2026-09-12T09:37:24Z")

</div>

> [@jakshhadadisrihari](#):
>
> Sometimes the COM4 port is not detected at all.

you can identify the port the Uno is on by selecting Tools-\>Port without tht Uno plugged in and then reselecting Tools-\>Port with it plugged in.

Select the port that came up when the UNO was plugged in

---

<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:** [September 12, 2026, 11:05am UTC](https://forum.arduino.cc/t/progamming-error/1459363/4 "2026-09-12T11:05:01Z")

</div>

Your topic does not indicate a "programming" problem but an "upload" problem; there is a difference when it comes to the Arduino forum 😃 Therefore your topic has been moved to a more suitable category of the forum.

---

<div class="post-metadata">

**Author:** ![loveforcircuits](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loveforcircuits/32/1127286_2.png) [@loveforcircuits](https://forum.arduino.cc/u/loveforcircuits)\
**Post date:** [September 12, 2026, 12:35pm UTC](https://forum.arduino.cc/t/progamming-error/1459363/5 "2026-09-12T12:35:08Z")

</div>

Select the correct COM port. With the Arduino connected to your computer, open Device Manager. Check which COM port is assigned to your Arduino.

---

<div class="post-metadata">

**Author:** ![BitSeeker](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bitseeker/32/1241632_2.png) [@BitSeeker](https://forum.arduino.cc/u/BitSeeker)\
**Post date:** [September 12, 2026, 6:36pm UTC](https://forum.arduino.cc/t/progamming-error/1459363/6 "2026-09-12T18:36:19Z")

</div>

> [@jakshhadadisrihari](#):
>
> avrdude: verification error; content mismatch

The above means that avrdude wrote the output, but when it read back what had been written to verify it had been written correctly, what it received back did not match what had been sent.

I don't know what you mean by:

> [@jakshhadadisrihari](#):
>
> When I plug the board into COM3,

The board is usually plugged into a USB port. It may not always get assigned to the same COM port number. With IDE 1.8.x , if it was left open with serial monitor running, it might hold onto the port being used and next time the board is plugged in it comes up under a different port number. Close Serial Monitor before plugging in the board again. Post #5 already indicates how to determine which COM port has been assigned by Windows.

I suspect this and taken together with the semaphore error might point to a faulty or intermittent USB cable but its difficult to diagnose with messages in isolation from their context. Could you post the complete error output please? Use the \<CODE/\> icon at the top or bottom of the post editor window to mark the error text as it makes reading long lines much easier.

---

<div class="post-metadata">

**Author:** ![jakshhadadisrihari](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jakshhadadisrihari](https://forum.arduino.cc/u/jakshhadadisrihari)\
**Post date:** [September 13, 2026, 5:22am UTC](https://forum.arduino.cc/t/progamming-error/1459363/7 "2026-09-13T05:22:23Z")

</div>

Guys another problem has occured..

My circuit is turning on and of repeatedly when I give it power supply..

What should i do...

I am using this adapter......

 ![IMG_20260913_104922](https://europe1.discourse-cdn.com/arduino/original/4X/6/d/1/6d146693145153d142f90274ab4e49ea35a90977.jpeg)

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [September 13, 2026, 5:55am UTC](https://forum.arduino.cc/t/progamming-error/1459363/8 "2026-09-13T05:55:17Z")

</div>

You did not participate in the first problem. Explain what was wrong and how you fixed the problem.

---

<div class="post-metadata">

**Author:** ![kmin](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kmin/32/1147370_2.png) [@kmin](https://forum.arduino.cc/u/kmin)\
**Post date:** [September 13, 2026, 6:23am UTC](https://forum.arduino.cc/t/progamming-error/1459363/9 "2026-09-13T06:23:18Z")

</div>

> [@jakshhadadisrihari](#):
>
> My circuit is turning on and of repeatedly when I give it power supply..

It points to faulty circuit or insufficient power adapter.  
But you haven't posted anything about that circuit..
