Latest Raspberry Pi Update Breaking CODESYS 3.5.16.0

Runtime
sumkrnboy
2020-07-20
2 days ago
<< < 1 2 (Page 2 of 2)
  • bego

    bego - 2020-08-03

    Hi, I have the same problem after the update of the OS.

    Maybe a noob questions, when I re-image the pi will my bought licence (soft container) be lost?

     
  • aseitzinger

    aseitzinger - 2020-08-04

    bego, normally you can reinstall the license with the restore-function. If it does not work (happened to me once), look at this doc:
    https://faq.codesys.com/pages/viewpage.action?pageId=1310825
    Backing up the license update file from โ€œc:\Program Data\CODESYS\Licenses\license ticket numberโ€ (on the PC where you have licensed the PI)

     
    ๐Ÿ‘
    1
  • sumkrnboy

    sumkrnboy - 2020-08-25

    This just affects the Raspberry Pi 4B at the moment, I have tried the new Raspberry Pi OS image and I ran into the same issue.

    If I revert to the older kernel in this build, via the method described in the link below, the runtime software runs without issue.

    https://forge.codesys.com/forge/talk/Runtime/thread/4d43247a3a/#9bcd

     
    ๐Ÿ‘
    1

    Last edit: sumkrnboy 2020-08-25
  • elsabz

    elsabz - 2020-08-04

    Hi same problem form me:
    RPI 4 with last raspberrypi OS and before i see this post i try the classic command:

    sudo apt-get update
    sudo apt-get upgrade
    

    without any benefit, always the same: it is not online on the network and if I do the RUN command I see it for about 10 seconds and then it disappears on its own.

    Hopefully it will be fixed soon
    thank you

     

    Last edit: elsabz 2020-08-04
  • elsabz

    elsabz - 2020-08-04
    pi@raspberrypi:~ $ cat /proc/cpuinfo
    processor   : 0
    model name  : ARMv7 Processor rev 3 (v7l)
    BogoMIPS    : 135.00
    Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part    : 0xd08
    CPU revision    : 3
    
    processor   : 1
    model name  : ARMv7 Processor rev 3 (v7l)
    BogoMIPS    : 135.00
    Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part    : 0xd08
    CPU revision    : 3
    
    processor   : 2
    model name  : ARMv7 Processor rev 3 (v7l)
    BogoMIPS    : 135.00
    Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part    : 0xd08
    CPU revision    : 3
    
    processor   : 3
    model name  : ARMv7 Processor rev 3 (v7l)
    BogoMIPS    : 135.00
    Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part    : 0xd08
    CPU revision    : 3
    
    Hardware    : BCM2711
    Revision    : c03112
    Serial      : ****************
    Model       : Raspberry Pi 4 Model B Rev 1.2
    pi@raspberrypi:~ $ 
    
     
  • phenixrb

    phenixrb - 2020-08-22

    Hello ,
    I have the same problem after the update of the raspberry pi 4 ....

     
  • eschwellinger

    eschwellinger - 2020-08-22

    ...use the workaround.๐Ÿ˜‰

     
  • phenixrb

    phenixrb - 2020-08-22

    I have a raspberry pi 3 B + with a codesys license,
    that works fine, I haven't updated, just in case.
    for the raspberry pi 4 , I use it just for tests actually ,
    so I will wait for a patch from codesys.
    thank you

     
  • dav3

    dav3 - 2020-08-23

    Any fix expectable? My Pi is running on ssd, not booting with the old versions.

    Edit: Get it booting now. Fix would be still nice to keep the OS up to date.

     

    Last edit: dav3 2020-08-23
  • jonte

    jonte - 2020-08-25

    With the new software (2020-08-20) my pi 3 B + without a
    codesys license, is running.

     codesyscontrol.service - LSB: Prepares and starts codesyscontrol
       Loaded: loaded (/etc/init.d/codesyscontrol; generated)
       Active: active (running) since Tue 2020-08-25 14:56:13 CEST; 13min ago
         Docs: man:systemd-sysv-generator(8)
      Process: 464 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0
        Tasks: 20 (limit: 2065)
       CGroup: /system.slice/codesyscontrol.service
               โ””โ”€513 /opt/codesys/bin/codesyscontrol.bin /etc/CODESYSControl.cfg
    
    aug 25 14:56:11 raspONE systemd[1]: Starting LSB: Prepares and starts codesyscon
    aug 25 14:56:12 raspONE codesyscontrol[464]: License backup created
    aug 25 14:56:13 raspONE codesyscontrol[464]: codesyscontrol started
    aug 25 14:56:13 raspONE systemd[1]: Started LSB: Prepares and starts codesyscont
    

    Jonte

     

    Related

    Talk.ru: 1

  • baldeep

    baldeep - 2020-09-10

    Dear Helpers,

    i have a strange problem. I have 6 Raspberry Pi's 4B and all are running same Software. all of them have licences. Strangely 3 RPi stops after 2 hours.
    Starting Log entry is :-

    No Runtime License - running in Demo Mode (~120 minutes)
    Though license Manager states also that they have multicore licenses.
    i tried following
    -RPi updates install
    -Codesys Package reinstall
    -License reinstall

    please help me.
    regards,
    baldeep

     
  • eschwellinger

    eschwellinger - 2020-09-10

    are you working with images? ( to distribute the version to all this PI's?
    Check the content of the cmact_licenses directory with the CODESYS file browser.
    There should be only on license in there.. expect that you have two ( one from the original PI - now broken license the other correct licensed) But this does not work then.
    If you work with sd images keep in mind that you need to delete this directory restart the Pi and license then this PI after doing this.
    Maybe I'm wrong but you need to check.
    Regards

     
    • baldeep

      baldeep - 2020-09-11

      Dear Mr. Schwellinger,
      your hint was exactly correct.
      Sincere Regards and Thanks a lot
      Baldeep Singh

       
  • ondrej

    ondrej - 2020-09-11

    Hello everyone.

    Can anyone show me, if it's even currently possible, how to setup my raspberry 4 4GB to run latest Codesys runtime and USB boot. I specifically bought a SSD for stability and reliability of the application that I'm developing. I had SD cards die on me several times.

    Thank you, for any kind of support.

     
    • Morberis

      Morberis - 2020-09-11

      Unfortunately I don't think you'll be able to use a version of Rasbian that supports and works correctly with USB boot on the Pi 4 until the new Codesys update is out.

       
    • dav3

      dav3 - 2020-09-12

      Hi,
      what worked for me is:
      Setup the Pi so that it is able to boot from SSD (with the bootloader that is stable for USB-boot).Keep the SD-card with the newer image.
      Then you put the last image with 4.19 Kernel (should be "2020-05-27-raspios") on SSD.
      The last step is to copy the .dat and .elf files from the SD-card to the boot partition on SSD and displace the files that are already there.
      Don't do apt-get upgrade!!!

       
      ๐Ÿ‘
      2
      • wimm

        wimm - 2020-09-16

        Hi,
        Where can i get the 2020-05-27 raspios?

         
      • ondrej

        ondrej - 2020-09-16

        Hello @dav3.
        Thank you, so much! This procedure works. I used Raspberry Pi imager to get latest OS. I put that on SD, did update, upgrade and stable bootloader using this guide: https://www.jeffgeerling.com/blog/2020/im-booting-my-raspberry-pi-4-usb-ssd

        Then I downloaded the "2020-05-27-raspios" image. Again, I used Raspberry Pi imager to burn the image to the SSD.
        The, I extracted the .elf and .dat files form the SD, copied them over on the SSD and voilร !

        Thanks again! :)

         
<< < 1 2 (Page 2 of 2)

Log in to post a comment.