I deleted everything in /var/opt/codesys/PlcLogic and now it downloads. But now I have a problem with the license. This license software used by Codesys has countless issues. This time I forgot to backup the license file before re-imaging my device. When I try to activate the license from my repository, it gives an error.
I hope there are plans in the near future to move to a reliable licensing software.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Something is very unstable with this kernel and Codesys version. It was working well, so I shutdown the device and took it to the office. Now it is back to the same error in the fist post. I tried deleting the boot project files again, but this time it did not fix it. It keeps closing out on the "ooops... this runtime was built for RASPBERRYPI (-25, 0x00000BB8, 0xFFFFFFFB)" error.
I downloaded a very basic program to the device and it runs for about 10 seconds before dumping out of Codesys on the mentioned error.
Before the kernel update, it ran for several days on the exact same piece of hardware.
What could be causing the run-time to think it is not a Raspberry Pi?
If this helps, this is the beginning of the debug information:
Codesys was working fine on 4.14-RT, but it looks like I'm facing similar issue for 4.19-RT on a regular RPI 3B+. Are you reading from /tmp/codesysedge_debug.log? Nothing unusual shows up from its status except that Codesys exists 10-20 seconds after starting:
$ service codesyscontrol status
β codesyscontrol.service - LSB: Prepares and starts codesyscontrol
Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
Active: active (exited) since Sun 2020-06-21 01:44:57 PDT; 9h ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/codesyscontrol.service
Jun 21 01:44:56 RevPi21689 systemd[1]: Starting LSB: Prepares and starts codesyscontrol...
Jun 21 01:44:56 RevPi21689 codesyscontrol[7841]: License backup created
Jun 21 01:44:57 RevPi21689 codesyscontrol[7841]: codesyscontrol started
Jun 21 01:44:57 RevPi21689 systemd[1]: Started LSB: Prepares and starts codesyscontrol.
I updated a BB-400 (based on Pi Compute Module 3+) to the latest RT PREEMPT OS
4.19.71-rt24-v7+ #1 SMP PREEMPT RT Fri Sep 27 17:22:14 EDT 2019 armv7l GNU/Linux
Codesys Version 3.5.15.10
When I try to download a program to Codesys, it abruptly stops. These are the last few lines of the debug log:
UPDATE:
I deleted everything in /var/opt/codesys/PlcLogic and now it downloads. But now I have a problem with the license. This license software used by Codesys has countless issues. This time I forgot to backup the license file before re-imaging my device. When I try to activate the license from my repository, it gives an error.
I hope there are plans in the near future to move to a reliable licensing software.
Something is very unstable with this kernel and Codesys version. It was working well, so I shutdown the device and took it to the office. Now it is back to the same error in the fist post. I tried deleting the boot project files again, but this time it did not fix it. It keeps closing out on the "ooops... this runtime was built for RASPBERRYPI (-25, 0x00000BB8, 0xFFFFFFFB)" error.
I downloaded a very basic program to the device and it runs for about 10 seconds before dumping out of Codesys on the mentioned error.
Before the kernel update, it ran for several days on the exact same piece of hardware.
What could be causing the run-time to think it is not a Raspberry Pi?
If this helps, this is the beginning of the debug information:
I also noticed it says "DEMO VERSION", but I just bought another license today and activated it. (second license for this same device)
Codesys was working fine on 4.14-RT, but it looks like I'm facing similar issue for 4.19-RT on a regular RPI 3B+. Are you reading from /tmp/codesysedge_debug.log? Nothing unusual shows up from its status except that Codesys exists 10-20 seconds after starting:
$ service codesyscontrol status
β codesyscontrol.service - LSB: Prepares and starts codesyscontrol
Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
Active: active (exited) since Sun 2020-06-21 01:44:57 PDT; 9h ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/codesyscontrol.service
Jun 21 01:44:56 RevPi21689 systemd[1]: Starting LSB: Prepares and starts codesyscontrol...
Jun 21 01:44:56 RevPi21689 codesyscontrol[7841]: License backup created
Jun 21 01:44:57 RevPi21689 codesyscontrol[7841]: codesyscontrol started
Jun 21 01:44:57 RevPi21689 systemd[1]: Started LSB: Prepares and starts codesyscontrol.
Related
Talk.ru: 1
Hi Arj,
have a look here
https://forge.codesys.com/forge/talk/Runtime/thread/dc9a3f8223/