Page 1 of 1

RevPi+CodesysRunTime+MySQL Library

Posted: 27 May 2020, 12:31
by PaoloMoraschetti
Hello Kunbus Team,

i've a problem with my RevPi 3,i bought the run time license for codesys (Codesys Control for Rasberry Pi MC SL) and a license for MySQL Labrary. I wrote the code to read and write Data from/to an SQL (SQL Server 2014).
It works properly for a couple of hours but after this time the RevPi stop to work and i can't able to ping the Rev both from codesys and from my pc. If i want to reset this problem i've to turn the power off,after a reboot i can ping the rev again. In this case all the log from codesys i deleted and i can't able to discover where is the problem.
Can someone help me?

Re: RevPi+CodesysRunTime+MySQL Library

Posted: 27 May 2020, 18:19
by dirk
Hi PaoloMoraschetti, this seems like the known "freeze" bug please try to update your system:

sudo apt update
sudo apt upgrade -y

Then make a reboot with

sudo reboot

There may be an error message from the TeamViewer respository which indicates that the signature expired. Look at this picture here:
viewtopic.php?f=8&t=1732&sid=7bcac34067 ... 8aa4#p6520

You may ignore this error.

And after reboot you can run "uname -a" to check the updated kernel version.

Then just test it again.

Re: RevPi+CodesysRunTime+MySQL Library

Posted: 28 May 2020, 09:54
by PaoloMoraschetti
Thank you Dirk for your answer, i'm tring the command that you suggest me but i've this error:

Err:1 http://archive.raspberrypi.org/debian stretch/main armhf libbluray2 armhf 1:1.0.2-1

when i try to use command sudo apt upgrade -y

These are the packages that the prompt suggest me to download:

galculator leafpad libbluetooth3 libmicrodns0 libpng-tools
libprotobuf-lite10 libproxy-tools libqt5x11extras5 libva-wayland1 libxcb-xv0
lxappearance lxappearance-obconf lxhotkey-core lxhotkey-gtk xarchiver
zlib1g-dev


Thank you!