CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Oct 20, 2019 2:45 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Sep 07, 2019 10:27 am 
Offline

Joined: Sat Aug 11, 2018 7:17 am
Posts: 12
Hello everyone,
I noticed problems between the latest version of raspbian and codesys, after an update of raspbian.

defects found:
no connection pc / pi.
no webvisu.
no raspberry reboot
and freezes raspberry.

I think this stems from a conflict between the management of the codesys and rasbian I2C service.

I did the following tests:

"The reboot requests are all from the raspberry and not from the codesy interface on PC"

first test:
raspbian installed: reboot OK
then, raspbian update: reboot ok
then, raspbian upgrade: reboot ok
then, SSH, VNC, SPI, I2C services active: reboot ok.
then, installation of runtime codesys: reboot requested, the raspberry turns off but never turns on again.

second test:
raspbian installed, update, upgrade, no VNC, SPI, I2C.
the SSH service is active.
runtime installation codesys: reboot ok
installing the codesys license: reboot ok
start runtime on raspberry: reboot ok
loading a codesys program into the raspberry: reboot ok
running the codesys program in the raspberry: reboot ok
start SPI service in raspberry: reboot ok.

SPI and I2C active in the raspberry before the start of the codesys program in the raspberry:
 -no connection between the PC and the raspberry,
-and reboot the raspberry asked, the raspberry turns off but never turns on again.

SPI and I2C active in the raspberry after running the codesys program in the raspberry: reboot ok

third test:
Starting the raspberry with SPI and I2C services enabled before reboot:
running request of the codesys program on the raspberry:
no pc / raspberry connection.
no webvisu
and after that, it freezes raspberry.

fourth test:
runtime codeys installation

when the services: SSH, SPI and I2C are active on the raspberry, it is almost impossible to install the codesys runtime.
and when it's possible after several minutes of waiting,
the reboots are degraded, as before.

by enabling only SSH installation is possible.

that's what I see, I'm not a pro of lines of codes, far from it ....

if you have some ideas to follow, I'm interested.
thank you


Top
   
PostPosted: Sat Sep 07, 2019 10:51 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3495
Hi,
all this should be solved hopefully with the release of 3.5SP15Patch1 on September release.
Will send you a release candidate to check.

BR
Edwin


Top
   
PostPosted: Sat Sep 07, 2019 10:54 am 
Offline

Joined: Sat Aug 11, 2018 7:17 am
Posts: 12
hello Edwin,

I thought I was the only one to be faced with this problem.
waiting for the fix.

thanks for the answer,


Top
   
PostPosted: Sat Sep 07, 2019 12:09 pm 
Offline

Joined: Sat Aug 11, 2018 7:17 am
Posts: 12
the patch 3.5.15.10 seems to have solved the problems:
with runtime package 3.5.15.10 in raspberry
and codesys control 3.5.15.0 for the device ,3.5.15.10 wasn't in the list.

with active SPI and I2C services.
reboot raspberry from the pc: ok
reboot from raspberry: ok
PC / PI connection: ok
webvisu: ok
no raspberry freezes


Top
   
PostPosted: Sun Sep 08, 2019 3:27 pm 
Offline

Joined: Mon Nov 24, 2014 9:16 pm
Posts: 38
I see that the patch isn't in the store yet? Any ETA on this?


Top
   
PostPosted: Sun Sep 08, 2019 4:26 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3495
Hi,
19th of September is the release date for 3.5SP15Patch1

BR
Edwin


Top
   
PostPosted: Fri Sep 13, 2019 8:06 am 
Offline

Joined: Wed Mar 28, 2018 3:12 pm
Posts: 30
I will wait for the update because after having struggled 2 days to update Raspberry 3 with the new 3.5SP15 runtime that I use for my home automation, I had to go back to the 3.5SP14 version, otherwise nothing worked.

I thought it was my problem, I tried with Raspberry pi-0W, with raspberry pi3B + but enabling it i2c nothing worked anymore.

I am happy that an update will be released in the coming weeks.

Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited