Upload to Opta and communication errors with PLC IDE

After ignoring the Opta for a long time, I am making a second attempt to program the Opta with the PLC IDE 1.0.3. But unfortunately it is a disappointment again and I end up with one problem after another. Even if I can communicate with the Opta and download the program, I get one error message after another. But apparently the program was downloaded and started anyway. but communication with the Opta is no longer possible. After closing the PLC IDE a few times, communication with the Opta is restored, but then the program stops and I get 'not running' in the status bar. I can then start again. Download the program again and close the PLC IDE a few times. I was wondering if I'm the only one who experiences that the Opta is extremely unstable. The Opta is sold as Pro but cannot be used with such unstable errors in professional installations, not even in a hobby project.
error1
error2


error4

Hi there ! Im having the same issue when it comes to "GetCRCFromTarget error reading par: 12293" but previously i have been working with opta in other different minute projects. Apparently code reaches Opta but it is impossible to connect to it and when it does it is shown "No Code" in the bars of status.

I have the identical issue. I've now bricked 2 Optas with this exact error. I've tried a lot of different things including QSPIFormat, Firmware Update, countless different versions of restart. Basically can program Arduino core in Arduino IDE, but as soon as i try to program in the PLC IDE, the above error. @PMarquinez, any suggestions?

I'm also having this exact issue. I have also tried many things including rolling back the MbedOS, updating Wifi firmware.

Notably, I have tried the QSPIFormat Example in Arduino IDE (which appears to execute without issue) however if I try the memory formatting tutorial (described in this forum post * https://forum.arduino.cc/t/opta-sill-not-connecting-to-plc-ide/1230775/25.) I find that the program fails with the flashing red light on the OPTA after the "Erasing the QSPIF..." stage. The next stage is formatting the Wifi Partition so can only assume ther's an issue writing to this part of the QSPI?

I found another post about the QSPIF entering a read only state due to an internal pin going to a low state and failing in that position permanently unless is manually written to. But would expect this would also prevent the QSPIF being erased as well and throw an error as part of that part of the program...
(unbrick-recover-readonly-flash-arduino-opta/unlockOptaNORFlash.cpp at master · ddmesh/unbrick-recover-readonly-flash-arduino-opta · GitHub)

I'm seriously at a loss now and concerned my OPTA is bricked. If there is any experience out there I would appreciate some pointers!

PLC IDE 1.0.8
Arduino IDE 2.3.4

I have olso problem with PLC IDE

I have a PLC Finder OPTA RS485 controller (8A.04-8310)
With Arduino PLC everything works. I can upload programs, and they work properly.
I have a problem with Arduino PLC IDE.
The bootloader loads correctly. The additional COM port appears in the device manager.
COM port and communication parameters set correctly. When trying to connect, the software freezes. Only disconnecting the cable or resetting the PLC helps.

When i run the folowing scripts on Arduino IDE i have following messages

STM32H747_manageBootloader\

On botloader mode
19:42:34.168 -> Magic Number (validation): a0
19:42:34.168 -> Bootloader version: 25
19:42:34.168 -> Clock source: External oscillator
19:42:34.168 -> USB Speed: USB 1.1/Full-Speed (12 Mbps)
19:42:34.168 -> Has Ethernet: Yes
19:42:34.168 -> Has WiFi module: Yes
19:42:34.168 -> RAM size: N/A
19:42:34.168 -> QSPI size: 16 MB
19:42:34.168 -> Has Video output: No
19:42:34.168 -> Has Crypto chip: Yes
19:42:34.168 -> Secure info version: 1
19:42:34.168 -> Secure board revision: 0.1
19:42:34.168 -> Secure vid: 0x35d1
19:42:34.168 -> Secure pid: 0x164
19:42:34.168 -> Secure mac: a8:61:a:50:ff:ef
19:42:34.168 ->
19:42:34.168 -> The latest version of the bootloader is already installed (v25).
19:42:34.168 -> Do you want to update the bootloader anyway? Y/[n]
19:42:47.537 -> Flashed 1%
.
.
19:42:48.005 -> Flashed 98%
19:42:48.005 -> Flashed 99%
19:42:48.005 -> Flashed 100%
19:42:48.005 -> Flashed 100%
19:42:48.005 ->
19:42:48.005 -> Flashed 100%
19:42:48.005 ->
19:42:48.005 -> Bootloader update complete. It's now safe to reboot or disconnect your board.

QSPIFormat

19:48:10.212 -> Available partition schemes:
19:48:10.212 ->
19:48:10.212 -> Partition scheme 1
19:48:10.212 -> Partition 1: WiFi firmware and certificates 1MB
19:48:10.212 -> Partition 2: OTA and user data 13MB
19:48:10.212 ->
19:48:10.212 -> Partition scheme 2
19:48:10.212 -> Partition 1: WiFi firmware and certificates 1MB
19:48:10.212 -> Partition 2: OTA 5MB
19:48:10.212 -> Partition 3: User data 8MB
19:48:10.212 ->
19:48:10.212 -> Do you want to use partition scheme 1? Y/[n]
19:48:10.212 -> If No, partition scheme 2 will be used.
19:48:15.030 ->
19:48:15.030 -> WARNING! Running the sketch all the content of the QSPI flash will be erased.
19:48:15.030 -> Do you want to proceed? Y/[n]
19:48:16.933 -> Error formatting WiFi partition

memory_partitioning
20:02:59.125 -> Erasing the QSPIF
20:03:13.032 -> Done
20:03:13.441 -> Formatting WiFi partition... Error formatting WiFi partition

unlockOptaNORFlash
20:09:58.232 -> start
20:09:58.232 -> ---- current status ----
20:09:58.232 -> readStatusRegister()
20:09:58.232 -> Status Register 1: 0x00
20:09:58.232 -> Write in Progress (WIP): 0
20:09:58.232 -> Write Enable Latch (WEL): 0
20:09:58.232 -> *BP0: 0
20:09:58.232 -> *BP1: 0
20:09:58.232 -> *BP2: 0
20:09:58.232 -> *BP3: 0
20:09:58.232 -> *BP4: 0
20:09:58.232 -> *Status Register Protect (SRP0): 0
20:09:58.246 -> Status Register 2: 0x42
20:09:58.246 -> *Status Register Protect (SRP1): 0
20:09:58.246 -> *Quad Enable (QE): 1
20:09:58.246 -> SUS2: 0
20:09:58.246 -> LB1: 0
20:09:58.246 -> LB2: 0
20:09:58.246 -> LB3: 0
20:09:58.246 -> CMP: 1
20:09:58.246 -> SUS2: 0
20:09:58.246 -> Status Register 3: 0x00
20:09:58.246 -> DRV0: 0
20:09:58.246 -> DRV1: 0
20:09:58.246 ->
20:09:58.246 -> ---- write enable + checking WEL bit ----
20:09:58.246 -> _writeEnable()
20:09:58.246 -> readStatusRegister()
20:09:58.246 -> Status Register 1: 0x02
20:09:58.246 -> Write in Progress (WIP): 0
20:09:58.246 -> Write Enable Latch (WEL): 1
20:09:58.246 -> *BP0: 0
20:09:58.246 -> *BP1: 0
20:09:58.246 -> *BP2: 0
20:09:58.246 -> *BP3: 0
20:09:58.246 -> *BP4: 0
20:09:58.246 -> *Status Register Protect (SRP0): 0
20:09:58.279 -> Status Register 2: 0x42
20:09:58.279 -> *Status Register Protect (SRP1): 0
20:09:58.279 -> *Quad Enable (QE): 1
20:09:58.279 -> SUS2: 0
20:09:58.279 -> LB1: 0
20:09:58.279 -> LB2: 0
20:09:58.279 -> LB3: 0
20:09:58.279 -> CMP: 1
20:09:58.279 -> SUS2: 0
20:09:58.279 -> Status Register 3: 0x00
20:09:58.279 -> DRV0: 0
20:09:58.279 -> DRV1: 0
20:09:58.279 ->
20:09:58.279 -> ---- reset flash protection ----
20:09:58.279 -> resetFlashProtection()
20:09:58.279 -> _writeEnable()
20:09:58.279 -> ---- verify status register ----
20:09:58.279 -> readStatusRegister()
20:09:58.279 -> Status Register 1: 0x00
20:09:58.279 -> Write in Progress (WIP): 0
20:09:58.279 -> Write Enable Latch (WEL): 0
20:09:58.279 -> *BP0: 0
20:09:58.279 -> *BP1: 0
20:09:58.279 -> *BP2: 0
20:09:58.279 -> *BP3: 0
20:09:58.279 -> *BP4: 0
20:09:58.279 -> *Status Register Protect (SRP0): 0
20:09:58.279 -> Status Register 2: 0x42
20:09:58.279 -> *Status Register Protect (SRP1): 0
20:09:58.279 -> *Quad Enable (QE): 1
20:09:58.312 -> SUS2: 0
20:09:58.312 -> LB1: 0
20:09:58.312 -> LB2: 0
20:09:58.312 -> LB3: 0
20:09:58.312 -> CMP: 1
20:09:58.312 -> SUS2: 0
20:09:58.312 -> Status Register 3: 0x00
20:09:58.312 -> DRV0: 0
20:09:58.312 -> DRV1: 0
20:09:58.312 ->
20:09:58.312 -> ---end---

Installed software:
Arduino IDE 2.3.4 64bit
Arduino Mbed OS Opta Boards 4.2.4
Arduino PLC IDE 1.0.8 64bit

I tested with Windows 11 pro 23H2, and on WIndows 10 in other PC

Usb serial driver:
Microsoft
21.06.2006
10.0.22621.4391