PLC programs load ok, Sketch not

Hi,

Issue: I have an OPTA Lite, connected on COM3/COM4. It connects to PLC IDE on COM3.
When I try to upload a project, it uploads only the "plc" programs and it fails to upload the Sketch.

Waiting for upload port...
No upload port found, using COM3 as fallback
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
No DFU capable USB device available

Failed uploading: uploading error: exit status 74

After this, it disconnects and I can't reconnect unless I close PLC IDE.
When I reconnect, It said SOURCE OK, but the code in sketch is not the one I modified, but the old one.
So far, so bad.

What I tried:

  • New project, far less complex
  • New barebones project
  • memory partitioning
  • unlockOptaNORFlash

What kind of worked:

  • upload from Arduino IDE "blink.ino". It works without a problem, but it doesn't help me that much.
  • up until today, everything worked fine.

Other errors:
(I hope the images are visible) After I try to upload and it fails, I have 2 users connected to COM3.

The weird part is both of them have the same process ID, so I suppose PLC IDE is trying to connect twice? There's also a lot of traffic.

*LE: after some tinkering, I think it can't open the 2nd port, for communication. Then it is reverting back to COM3, which is already used. Any ideas?

I have tried everything I could find online, but without avail. Any ideas?


I have this exact same issue. Everything has been fine up until about 2 weeks ago. My assumption at this point is that there was a Windows update that messed things up. My old laptop running Windows 10 has no issues connecting.

At this point I've read a lot of threads stating the same thing. I'll try to use a friend's laptop with win 10 and I'll update here of it works.

It might be a workaround, but tbh, OPTA doesn't justify its price.

I am in the process of trying to install a VM to see if that will fix the problem as well. I know a lot of places do this for other PLCs and firewalls, not sure it will be the fix for this though...

Try this solution suggested here:
https://forum.arduino.cc/t/anomalous-behavior-when-uploading-programs-to-opta-plc-using-arduino-plc/1335778/5?u=kkothimbakam

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