I'm currently having an issue, and I start to get out of idea to fix it. I'm working with a Raspberry 3B and CODESYS 3.5 SP10.
I use CODESYS without any graphical user interface. Usually, after updating my raspberry with my new code, it makes restart the raspberry. The problem starts few days ago, I don’t know why. At first, everything was ok. But currently, when I upload my software into my raspberry, it’s like he can’t boot anymore. I must flash again my microSD card with a brand new Jessy.
I think it’s a configuration problem, because I can use another computer normally to flash my raspberry, but I can’t find the problem. I feel like it’s a gateway error, but everything looks normal.
Do you have any idea to help my investigation? Maybe you know this problem?
Have a good day everyone,
And thanks for helping me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Could you download the application or is even this connection the problem?
Would use current version on both sides (CODESYS and Pi) and delete the bootapplucation for the
case that a corrupt bootapplucation is causing this problem.
You'll find it here:
/var/opt/codesys/Plclogic/Application/
Cheers
plcmax
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can download the application, but I don't know if it work, because doesn't start again.
I didn't find bootapplication, even when I flash my raspberry with a working computer, the opt/ folder stay empty. But PuTTY still works, wich mean the linux system is still ok, it's more like Codesys doesn't start
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
By doing an update it worked for few weeks and now... Same problem, I really don't understand why. I guess it's my ethernet configuration the problem, because it's still works with another computer, but my settings looks simillar. I'm really confuse currently.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello ! I've checked like you told me, (i didn't even knew this log file exist, and it's full of informations, thanks you)and here is the lines with error=1 :
It looks like the task aren't created. Thanks a lot, you really help me, i had no idea where to start, and now i can go on investigations again
I'm currently using the runtime "codesyscontrol_arm_raspberry_V3.5.10.0.deb" the same I use since the beginning. It's really hard for me to upgrade this, since I have some devices used in industrial purpose. I would like to keep all my raspberry under the same version of the runtime, for tracability and homogeneity
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hm..
hard to say why this happens.(leak in the OS that you could not create tasks anymore)
But anyway if you just update the runtime by using only the Debian package (3.5.12.x) and deploy this with
your CODESYS 3.5SP10 Version to your PI - this will work!
The runtime is Interface compatible - so this works with every runtime to have a newer/current version there and
stay with the older CODESYS development system (updating this and all libs and your application means much more risk, aure I agree!)
Important - just install the Debian file ( not the 3.5SP12 Package in CODESYS)!!!
(-> Extract it from the Package)
If you stay on a spcific version - do you even stay on the same Linux Raspbian Version?
What about the security bugfixes.
From my option you should have fix cycles where update the whole system (sure man tests are then needed)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible that it's due to a bad configuration of my computer's RJ45 port ? I had to change it a bit for another project, I wonder if there is any link between it.
I try to update just the runtime, I can go back to the old one anyway, that's quite safe. I hope I can do an "apt-get install" to get it easy haha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess that the problem come from a wrong .deb file name, since I can download the one I already got. I'm looking after the file on the website, hoping it will solve everything. But I still don't know how everything broke like this, and why I don't have any task launching
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
These Debian files are part of the store package.
You could download (Raspberry Pi CODESYS Package) it and open it and extract the .deb file which
ist then the runtime plc part on the pi.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
it's seems that i'm unable to update the .deb file neither by using dpkg -i nor using the .package file. When I open it, an app start and install stuff for my PC, but nothing for in .deb format . This is clearly annoying, since thoses files are impossible to find. And in anyway we can be sure this is the problem, because i used to use same version of the lib without any problem, no problems with the others computers runnning THE SAME VERSION WITH SAME LIBS. Everything is fine but this computer. This is really strange, it never happened to me before ...
Can someone upload this file and send it to me ? To be sure that the problem is somewhere else
SeedBarrett
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
to extract the deb file out of this package you could rename it to zip.
- open it - there you find the Debian file for the runtime Installation
- copy this codesyscontrol_arm_raspberry_V3.5.12.x.deb to
"c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\Delivery\codesyscontrol_arm_raspberry_V3.5.12.x.deb"
Then you arfe able to use the Tools - Update Raspberry PI command.</yourwindowsusername>
The reason why this is different to other pc's:
1. Is it possible that you have changed the path where the Pi Package is installed to
2. or you have installed it as different user logged on to windows
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've updated this file, still the same problem. It's a bit annoying.
Edwin : I think you got something ! My session's name changed, that can be the reason. I'm changing the name back to the first one maybe ? Can my ethernet configuration be the problem too ? I had to change mine a lot, maybe I forgot to change one thing again ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
one question:
Did you execute this step? - copy this codesyscontrol_arm_raspberry_V3.5.12.x.deb to "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\Delivery\codesyscontrol_arm_raspberry_V3.5.12.x.deb"</yourwindowsusername>
I swear if you do so you could use the update tool to install the Debian package - ( if the Pi does not apear in the scan - just use it's ip address)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone
I'm currently having an issue, and I start to get out of idea to fix it. I'm working with a Raspberry 3B and CODESYS 3.5 SP10.
I use CODESYS without any graphical user interface. Usually, after updating my raspberry with my new code, it makes restart the raspberry. The problem starts few days ago, I don’t know why. At first, everything was ok. But currently, when I upload my software into my raspberry, it’s like he can’t boot anymore. I must flash again my microSD card with a brand new Jessy.
I think it’s a configuration problem, because I can use another computer normally to flash my raspberry, but I can’t find the problem. I feel like it’s a gateway error, but everything looks normal.
Do you have any idea to help my investigation? Maybe you know this problem?
Have a good day everyone,
And thanks for helping me.
Hi,
Could you download the application or is even this connection the problem?
Would use current version on both sides (CODESYS and Pi) and delete the bootapplucation for the
case that a corrupt bootapplucation is causing this problem.
You'll find it here:
/var/opt/codesys/Plclogic/Application/
Cheers
plcmax
hi plcmax,
I can download the application, but I don't know if it work, because doesn't start again.
I didn't find bootapplication, even when I flash my raspberry with a working computer, the opt/ folder stay empty. But PuTTY still works, wich mean the linux system is still ok, it's more like Codesys doesn't start
Hi,
For 3.5SP10 this is in /root/.
I would update to 3.5SP12... current version.
Best Regards
plcmax
By doing an update it worked for few weeks and now... Same problem, I really don't understand why. I guess it's my ethernet configuration the problem, because it's still works with another computer, but my settings looks simillar. I'm really confuse currently.
Hi,
check the logs on your Pi.
cat /tmp/codesyscontrol.log
is this now current Version of the Pi runtime?
Please try to use the embedded Gateway in the Pi to Login from your PC.
BR
Edwin
hello ! I've checked like you told me, (i didn't even knew this log file exist, and it's full of informations, thanks you)and here is the lines with error=1 :
It looks like the task aren't created. Thanks a lot, you really help me, i had no idea where to start, and now i can go on investigations again
I'm currently using the runtime "codesyscontrol_arm_raspberry_V3.5.10.0.deb" the same I use since the beginning. It's really hard for me to upgrade this, since I have some devices used in industrial purpose. I would like to keep all my raspberry under the same version of the runtime, for tracability and homogeneity
hm..
hard to say why this happens.(leak in the OS that you could not create tasks anymore)
But anyway if you just update the runtime by using only the Debian package (3.5.12.x) and deploy this with
your CODESYS 3.5SP10 Version to your PI - this will work!
The runtime is Interface compatible - so this works with every runtime to have a newer/current version there and
stay with the older CODESYS development system (updating this and all libs and your application means much more risk, aure I agree!)
Important - just install the Debian file ( not the 3.5SP12 Package in CODESYS)!!!
(-> Extract it from the Package)
If you stay on a spcific version - do you even stay on the same Linux Raspbian Version?
What about the security bugfixes.
From my option you should have fix cycles where update the whole system (sure man tests are then needed)
BR
Edwin
Is it possible that it's due to a bad configuration of my computer's RJ45 port ? I had to change it a bit for another project, I wonder if there is any link between it.
I try to update just the runtime, I can go back to the old one anyway, that's quite safe. I hope I can do an "apt-get install" to get it easy haha
hi,
it is easy either by the update tool in CODESYS to do up and down
or even go online by ssh and:
sudo dpkg -i codesyscontrol_arm_raspberry_V3.5.12.20.deb
sudo dpkg -i codesyscontrol_arm_raspberry_V3.5.10.x.deb
this sounds like a handle leak...
BR
Edwin
Hello, it's me again !
I tried to update my codesyscontrol, but i get an error :
I guess that the problem come from a wrong .deb file name, since I can download the one I already got. I'm looking after the file on the website, hoping it will solve everything. But I still don't know how everything broke like this, and why I don't have any task launching
These Debian files are part of the store package.
You could download (Raspberry Pi CODESYS Package) it and open it and extract the .deb file which
ist then the runtime plc part on the pi.
BR
Edwin
Hello,
it's seems that i'm unable to update the .deb file neither by using dpkg -i nor using the .package file. When I open it, an app start and install stuff for my PC, but nothing for in .deb format . This is clearly annoying, since thoses files are impossible to find. And in anyway we can be sure this is the problem, because i used to use same version of the lib without any problem, no problems with the others computers runnning THE SAME VERSION WITH SAME LIBS. Everything is fine but this computer. This is really strange, it never happened to me before ...
Can someone upload this file and send it to me ? To be sure that the problem is somewhere else
SeedBarrett
... you have the package on your pc.
to extract the deb file out of this package you could rename it to zip.
- open it - there you find the Debian file for the runtime Installation
- copy this codesyscontrol_arm_raspberry_V3.5.12.x.deb to
"c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\Delivery\codesyscontrol_arm_raspberry_V3.5.12.x.deb"
Then you arfe able to use the Tools - Update Raspberry PI command.</yourwindowsusername>
The reason why this is different to other pc's:
1. Is it possible that you have changed the path where the Pi Package is installed to
2. or you have installed it as different user logged on to windows
BR
Edwin
I've updated this file, still the same problem. It's a bit annoying.
Edwin : I think you got something ! My session's name changed, that can be the reason. I'm changing the name back to the first one maybe ? Can my ethernet configuration be the problem too ? I had to change mine a lot, maybe I forgot to change one thing again ?
Hi,
one question:
Did you execute this step?
- copy this codesyscontrol_arm_raspberry_V3.5.12.x.deb to "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\Delivery\codesyscontrol_arm_raspberry_V3.5.12.x.deb"</yourwindowsusername>
I swear if you do so you could use the update tool to install the Debian package - ( if the Pi does not apear in the scan - just use it's ip address)
BR
Edwin