The Linux ARM64 runtime doesn't work with the latest Raspberry Pi OS 64-bit image. pi@raspberrypi:~ $ uname -a Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux pi@raspberrypi:~ $ sudo dpkg -i codesyscontrol_linuxarm64_4.6.0.0_arm64.deb dpkg: error processing archive codesyscontrol_linuxarm64_4.6.0.0_arm64.deb (--install): package architecture (arm64) does not match system (armhf) Errors were encountered while processing: codesyscontrol_linuxarm64_4.6.0...
The Linux ARM64 doesn't work with the latest Raspberry Pi OS 64-bit image. pi@raspberrypi:~ $ uname -a Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux pi@raspberrypi:~ $ sudo dpkg -i codesyscontrol_linuxarm64_4.6.0.0_arm64.deb dpkg: error processing archive codesyscontrol_linuxarm64_4.6.0.0_arm64.deb (--install): package architecture (arm64) does not match system (armhf) Errors were encountered while processing: codesyscontrol_linuxarm64_4.6.0.0_arm64...
Download the file and overwrite the following file: /opt/codesys/scripts/init-functions Restart the CODESYS Control service: sudo service codesyscontrol restart After 30 seconds or so, check the status of the service to see that it is still running: sudo service codesyscontrol status
That fixed it. When can we expect an official fixed release?
With a fresh install of the latest Raspberry Pi OS image, https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf-lite.zip it will work fine and run, however, after running the previously mentioned update and upgrade commands, it it fail to load after restart. This behavior was observed in both the Raspberry Pi 3B as well as 4B (4GB).
This was a fresh install. I performed the following: sudo apt-get update sudo apt-get upgrade After the above commands, the runtime terminates.
On the latest Raspberry Pi OS 32-bit image with updates performed and kernel as shown below, CODESYS Control for Raspberry PI runtime exits after about 30 seconds. Linux raspberrypi 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l β codesyscontrol.service - LSB: Prepares and starts codesyscontrol Loaded: loaded (/etc/init.d/codesyscontrol; generated) Active: active (exited) since Fri 2022-01-21 12:01:11 PST; 31s ago Docs: man:systemd-sysv-generator(8) Process: 5053 ExecStart=/etc/init.d/codesyscontrol...
I have tried both methods with dual key (one in PLC, one in IDE) with same firm and product codes. That one fails. The other one with creating the boot application with the dongle plugged into the IDE also fails.