I tried to upload a sketch to the Opta PLC by Arduino IDE, PLC IDE or Web Editor and Create Agent following those tutorials but all of them fail with the same error.
I tried two different cables and all of my usb ports.
This is the error:
Sketch uses 134032 bytes (17%) of program storage space. Maximum is 786432 bytes.
Global variables use 59336 bytes (11%) of dynamic memory, leaving 464288 bytes for local variables. Maximum is 523624 bytes.
dfu-util 0.10-dev
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Cannot open DFU device 2341:0364 found on devnum 37 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74
In my device manager I noticed that in bootloader mode a driver is missing:
I have similar problems. A week trying to load the runtime. Until the third computer I have not succeeded. Now I try to work by modbus tcp to avoid the serial and now it connects but it doesn't let me upload new programs. It's a drama. So you can't compete with the Logo! from Siemens. What a disappointment!
I could then program the Opta after plugging it in again and switching to bootloader mode (double click the reset button)
The values could be different for you, or for different boards. You can get them by plugging in the arduino, running sudo dmesg -w, then switch the arduino to bootloader mode (will print the values).