# Unable to upload sketch all of a sudden

**URL:** <https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610>\
**Category:** Opta\
**Created:** [November 28, 2024, 12:42am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610 "2024-11-28T00:42:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zm1868179](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/zm1868179/32/1071263_2.png) [@zm1868179](https://forum.arduino.cc/u/zm1868179)\
**Post date:** [November 28, 2024, 12:42am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/1 "2024-11-28T00:42:46Z")

</div>

Nothing has changed recently with my programming computer but all of a sudden i am unable to upload sketches to the opta form the PLC IDE.

I made 1 small code change to the sketch but everything it goes to upload it now fails with cannot download sketch error code 1

the log shows no DFU Device found error code 74 no DFU device found however if i switch to the Audino IDE i can upload just fine. Anyone seeing this recently?

---

<div class="post-metadata">

**Author:** ![zm1868179](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/zm1868179/32/1071263_2.png) [@zm1868179](https://forum.arduino.cc/u/zm1868179)\
**Post date:** [November 28, 2024, 7:15am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/2 "2024-11-28T07:15:50Z")

</div>

Just an update for anyone else who has this issue the PLC IDE editor 1.0.7 does not function on Windows 11 24H2 it will say it cannot find the dfu device when it comes time to write the sketch.

Only the initialization sketch will write write. You will not be able to flash your program to the PLC. Attempting to do so will blank your PLC without the ability to write your program back to the PLC unless you go to a different non-windows 11 24h2 PC.

Didn't realize my PC updated to 24h2 also did a clean install of 24h2 in another PC and installed the PLC editor the same thing occurred. Clean install of Windows 11 23h2 and it worked fine.

Did rollback on my original PC and it worked again. Arduino needs to find the bug and issue an update version of the PLC editor to work on Windows 11 24h2

---

<div class="post-metadata">

**Author:** ![darrag212](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/darrag212/32/1090728_2.png) [@darrag212](https://forum.arduino.cc/u/darrag212)\
**Post date:** [November 28, 2024, 7:24am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/3 "2024-11-28T07:24:17Z")

</div>

Hi [zm1868179](https://forum.arduino.cc/u/zm1868179),  
I don't have much experience in PLC IDE, but when i had trouble with uploading sketch on IDE I had to play with drivers (Zadig) or double-press reset button, so PLC went into bootloader mode (COM changes, so you also need to adjust it manually, but it works).  
Hope it'll be some useful info.

---

<div class="post-metadata">

**Author:** ![kinul](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kinul/32/1126741_2.png) [@kinul](https://forum.arduino.cc/u/kinul)\
**Post date:** [January 10, 2025, 11:40am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/4 "2025-01-10T11:40:56Z")

</div>

So you say it might be a Windows problem/compatibility issue? I recently [posted a similar behaviour](https://forum.arduino.cc/t/plc-programs-load-ok-sketch-not/1340430)

Now I'll have to try with another OS. I hope it will work

---

<div class="post-metadata">

**Author:** ![lcard](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@lcard](https://forum.arduino.cc/u/lcard)\
**Post date:** [February 12, 2025, 4:36pm UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/5 "2025-02-12T16:36:29Z")

</div>

I've run into the same issue. Downgrading from Windows 11 to 10 resolved the sketch uploading problem. It would be good to get this resolved on Windows 11.

---

<div class="post-metadata">

**Author:** ![manchuino](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/manchuino/32/239113_2.png) [@manchuino](https://forum.arduino.cc/u/manchuino)\
**Post date:** [March 26, 2025, 9:22am UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/6 "2025-03-26T09:22:47Z")

</div>

Hi all,  
Can you please uninstall your current version of the PLC IDE and install the 1.0.8? It is available from [Software](https://www.arduino.cc/en/software/) as usual.

Thanks,  
G.

---

<div class="post-metadata">

**Author:** ![cobriskie](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cobriskie/32/1126967_2.png) [@cobriskie](https://forum.arduino.cc/u/cobriskie)\
**Post date:** [March 29, 2025, 5:49pm UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/7 "2025-03-29T17:49:11Z")

</div>

I have installed 1.0.8 PLC IDE and same issue. I am using Windows 10. I can upload code and it programs. I have a simple counter that I watch and toggles an LED. I can change the rollover value and see it work. Every time I program I receive the DFU Device found error code 74 and cannot download sketch error code 1. This is slightly important since is holds the IP address information I am trying to set. Any help would be appreciated.

 ![PLCFAIL](https://europe1.discourse-cdn.com/arduino/original/4X/9/d/3/9d3212a9c579908e7d1c3d9ef3d2ca606344c079.png)

---

<div class="post-metadata">

**Author:** ![bensend](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/bensend/32/1151698_2.png) [@bensend](https://forum.arduino.cc/u/bensend)\
**Post date:** [March 31, 2025, 1:56pm UTC](https://forum.arduino.cc/t/unable-to-upload-sketch-all-of-a-sudden/1326610/8 "2025-03-31T13:56:42Z")

</div>

to get your ip address you can open up the standard Arduino ide and open the serial monitor. then press the reset button on the opta and it should read out a boot up script that includes the ip address

or if you can connect to the watch window you can drag it into the watch

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/9/c/f9cf037cf869a772bc2e31b4b6a4d7cd3b4e85b6.png)
