<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry jammed (infinite loop) - how to stop</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/</id><updated>2020-02-27T17:03:29.625000Z</updated><subtitle>Recent posts to Raspberry jammed (infinite loop) - how to stop</subtitle><entry><title>Raspberry jammed (infinite loop) - how to stop</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/?limit=25#31e6" rel="alternate"/><published>2020-02-27T17:03:29.625000Z</published><updated>2020-02-27T17:03:29.625000Z</updated><author><name>juhataipale</name><uri>https://forge.codesys.com/u/juhataipale/</uri></author><id>https://forge.codesys.com6f2c92199f166f3d487e0f608b346f9d547c9af8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
I would recommend to Login by ssh (use putty for this).&lt;br/&gt;
then execute:&lt;br/&gt;
sudo -s&lt;br/&gt;
rm /root/app*&lt;br/&gt;
(this removes the boot application)&lt;br/&gt;
then a restart of the plc is needed&lt;br/&gt;
sudo service codesyscontrol stop&lt;br/&gt;
sudo service codesyscontrol start&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thank you Edwin,&lt;/p&gt;
&lt;p&gt;Tried the commands above, but "No such file"...&lt;/p&gt;
&lt;p&gt;root@raspberrypi:/home/pi# rm /root/app&lt;em&gt;&lt;br/&gt;
rm: cannot remove ‘/root/app&lt;/em&gt;’: No such file or directory&lt;/p&gt;
&lt;p&gt;"app*" I need to replace with my application name or just type like that?&lt;/p&gt;
&lt;p&gt;//EDIT: Okay,  got it running when realize the application name was the default "Application.app" not my project name...&lt;/p&gt;
&lt;p&gt;Another thing I realized now is that it is still not possible to connect from codesys to Pi by IP-address, but only with that "target name" = &lt;span&gt;[0001.A067]&lt;/span&gt;.&lt;br/&gt;
Beside that got it working again, THANK YOU!&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Juha&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry jammed (infinite loop) - how to stop</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/?limit=25#3fe4" rel="alternate"/><published>2020-02-27T17:03:28.680000Z</published><updated>2020-02-27T17:03:28.680000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com36df00750d813c2bf3472ec27076d9a1e07f908c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend to Login by ssh (use putty for this).&lt;br/&gt;
then execute:&lt;/p&gt;
&lt;p&gt;sudo -s&lt;br/&gt;
rm /root/app*&lt;/p&gt;
&lt;p&gt;(this removes the boot application)&lt;/p&gt;
&lt;p&gt;then a restart of the plc is needed&lt;/p&gt;
&lt;p&gt;sudo service codesyscontrol stop&lt;br/&gt;
sudo service codesyscontrol start&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry jammed (infinite loop) - how to stop</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/4b7b629e45/?limit=25#1572" rel="alternate"/><published>2020-02-27T17:03:26.015000Z</published><updated>2020-02-27T17:03:26.015000Z</updated><author><name>juhataipale</name><uri>https://forge.codesys.com/u/juhataipale/</uri></author><id>https://forge.codesys.com647555a7d3c46871d284f95249f198c1005e0fe1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I am a newbie with Structure Text and something happened during my testing.&lt;br/&gt;
I was doing a WHILE loop and my best guess is that I created an infinite loop and my raspberry is now messed up...&lt;br/&gt;
After downloading the program and RUN -&amp;gt; I got response that there is no connection.&lt;/p&gt;
&lt;p&gt;I am not able to establish a connection between codesys (my computer) and raspberry via "gateway".&lt;br/&gt;
Ping is going through anyway and I can access PI with SSH.&lt;/p&gt;
&lt;p&gt;So how can I stop the program, or can I just delete the program somehow...&lt;/p&gt;
&lt;p&gt;/edit:&lt;br/&gt;
Just to add, before this everything worked always OK.&lt;br/&gt;
I tried to access the files now via FileZilla FTP, but can not connect. Don't know if this is related problem or not.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-Juha&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>