<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/</id><updated>2022-01-27T20:49:37.139000Z</updated><subtitle>Recent posts to Raspberry Pi read only</subtitle><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#fe39/958e/7451/5aee" rel="alternate"/><published>2022-01-27T20:49:37.139000Z</published><updated>2022-01-27T20:49:37.139000Z</updated><author><name>matthew</name><uri>https://forge.codesys.com/u/matthew/</uri></author><id>https://forge.codesys.come71bc7bbd021c3f67cbc17ace4adde7d9f81285e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi yannickasselin,&lt;/p&gt;
&lt;p&gt;I'm also using the RPI CM4 in a touch screen which has eMMC and a spare SD card slot. I was going to partition the eMMC as I'm concerned the vibrations will cause issues with SD card. &lt;/p&gt;
&lt;p&gt;So you did not get it working with the partition and without a delay? I will continue and keep you updated when I find a solution &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#fe39/958e/7451" rel="alternate"/><published>2022-01-27T14:33:22.460000Z</published><updated>2022-01-27T14:33:22.460000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com64785abb6ca4059642462ab707c96b4774bbe8aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes it was working but I did not spend much time testing it.&lt;/p&gt;
&lt;p&gt;I now use some Raspberry Pi CM4 with the overlay enabled and I save my persistent variables on a usb stick instead of a second partition.&lt;/p&gt;
&lt;p&gt;I followed a quick guide to make sure my usb stick is always mounted on the same directory and so far did not need to delay the codesys runtime.&lt;/p&gt;
&lt;p&gt;Everything works fine but I am still experimenting with it.&lt;/p&gt;
&lt;p&gt;Dont't hesistate to post your findings on this topic.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#fe39/958e" rel="alternate"/><published>2022-01-26T22:48:11.901000Z</published><updated>2022-01-26T22:48:11.901000Z</updated><author><name>matthew</name><uri>https://forge.codesys.com/u/matthew/</uri></author><id>https://forge.codesys.comf46c89da6c3aecbd95c17c3056c9b0fc6211822e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi yannickasselin,&lt;/p&gt;
&lt;p&gt;Did you get this working on another partition and is it a reliable option? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#817a/2cb5" rel="alternate"/><published>2021-02-02T11:30:52.129000Z</published><updated>2021-02-02T11:30:52.129000Z</updated><author><name>raspi-user</name><uri>https://forge.codesys.com/u/raspi-user/</uri></author><id>https://forge.codesys.comb6f53f0e1762b09c7dd40cec2e17087890a23915</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;br/&gt;
You wrote "there are some problems with the softlicense".&lt;br/&gt;
Can you give some more information about it?&lt;br/&gt;
Does it mean right now (with all latest Versions of Raspberry OS, CODESYS, and Raspi packages) it is not worth trying because it will fail anyway when using a soft license?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#fe39" rel="alternate"/><published>2021-01-11T21:29:58.225000Z</published><updated>2021-01-11T21:29:58.225000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com15a062582b6ec714928abff925a89c30ff7b9a96</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With a second partition I still need to add a delay. I will try to find out how to make sure the partition or the usb stick is mounted before starting the runtime.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#1f0f" rel="alternate"/><published>2021-01-11T20:33:20.844000Z</published><updated>2021-01-11T20:33:20.844000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com47185ac98c984d582e7bbe9aaeec7c67fef701c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems to work when adding " /bin/sleep 10 " in /etc/init.d/codesyscontrol but I agree, it is probably not the best way to do it. I will try using a separate partition on the sd card instead of USB stick.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#57b5" rel="alternate"/><published>2021-01-11T19:44:38.453000Z</published><updated>2021-01-11T19:44:38.453000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com79603024c4a8e093b8ffcc1b921fc1879eaed740</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would try a sleep in the &lt;br/&gt;
    /etc/init.d/codesyscontrol&lt;br/&gt;
but I'm not sure if this is a proper solution&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#f416" rel="alternate"/><published>2021-01-11T19:03:56.198000Z</published><updated>2021-01-11T19:03:56.198000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com4fddc6fb43da2f51ebdbed2347ac4817229e97fc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I found that the placeholder is $PlcLogic$ not $PLCLogic$ There is an error in Codesys Help:&lt;br/&gt;
&lt;a href="https://help.codesys.com/webapp/ac_pm_overview;product=core_Application_Composer;version=3.5.16.0" rel="nofollow"&gt;https://help.codesys.com/webapp/ac_pm_overview;product=core_Application_Composer;version=3.5.16.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So this is working now:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
FilePath.1=/etc/, 3S.dat&lt;br/&gt;
PlcLogicPrefix=1&lt;br/&gt;
PlaceholderFilePath.1=/media/pi/DATA/PlcLogic, $PlcLogic$&lt;br/&gt;
PlaceholderFilePath.1.Volatile=1&lt;br/&gt;
PlaceholderFilePath.1.View=1&lt;/p&gt;
&lt;p&gt;But I still have a problem. I think Codesys starts before the USB stick gets mounted. So Codesys creates another folder named DATA in media/pi. I think I have seen a way to delay the start of the runtime but I cannot find it now.&lt;/p&gt;
&lt;p&gt;Is there a setting to delay the start of the runtime?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#58b9" rel="alternate"/><published>2021-01-11T17:36:31.252000Z</published><updated>2021-01-11T17:36:31.252000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com6ba72418c273e2c7b5359f4a61a84a46bc8cf1a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I do this, everything works fine. I can see the persistent variables written on USB stick:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
FilePath.1=/etc/, 3S.dat&lt;br/&gt;
PlcLogicPrefix=1&lt;br/&gt;
PlaceholderFilePath.1=/media/pi/DATA/ac_persistence, $ac_persistence$&lt;br/&gt;
PlaceholderFilePath.1.Volatile=1&lt;br/&gt;
PlaceholderFilePath.1.View=1&lt;/p&gt;
&lt;p&gt;But when I do this, nothing is written on the USB stick:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
PlcLogicPrefix=1&lt;br/&gt;
FilePath.1=/etc/, 3S.dat&lt;br/&gt;
PlaceholderFilePath=/media/pi/DATA/PlcLogic, $PLCLogic$&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi read only</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c52110ff05/?limit=25#02cb" rel="alternate"/><published>2021-01-11T17:12:11.954000Z</published><updated>2021-01-11T17:12:11.954000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com4aa06837a5319c132754940dd2485d3af61e0196</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I must be missing something. It does not seem to work. Nothing gets written on the USB stick.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>