Latest Raspberry Pi Update Breaking CODESYS 3.5.16.0

sumkrnboy
2020-07-20
2023-12-22
1 2 3 > >> (Page 1 of 3)
  • sumkrnboy - 2020-07-20

    Today, I've updated the Raspberry Pi OS with the following commands:

    sudo apt-get update -y
    sudo apt-get upgrade -y
    sudo apt-get dist-upgrade -y
    

    The CODESYS runtime exits within seconds. I have tried the same on another build with similar results.

     
    πŸ‘
    3
  • eschwellinger

    eschwellinger - 2020-07-21

    hi,
    in my case this works like charm.
    Could you check if predictcable network names are enabled?
    This should be turned of under raspi-config .. you could start the plc manually by:

    sudo /etc/init.d/codesyscontrol stop

    cd /var/opt/codesys
    sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg

    open second CLI
    tail -f /tmp/codesyscontrol.log

    for Multicore you need to use:
    cd /var/opt/codesys
    sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg

    to have detailed information.

    BR
    Edwin

     

    Last edit: eschwellinger 2020-07-21
  • sumkrnboy - 2020-07-21

    Edwin,

    Predictable network interface names is already disabled.

    On the Raspberry Pi 4B, this is my output:

    pi@raspberrypi:/var/opt/codesys $ sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg                                                                                                                                        
    ********* CoDeSysControl DEMO VERSION - runs 2 hours*********
    
    PlcStart[206]: using /etc/CODESYSControl.cfg as config file
    
    machine: armv7l
    timer resolution: 1nsec
    Linux version 5.4.51-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1326 SMP Fri Jul 17 10:51:18 BST 2020
    
    
     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    
            _/_/_/_/      _/_/_/_/    _/_/_/_/_/    _/_/_/_/_/_/    _/_/_/_/_/  _/_/    _/_/    _/_/_/_/_/          _/
         _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/    _/_/  _/_/_/_/_/_/        _/_/_/
        _/_/    _/_/  _/_/    _/_/  _/_/    _/_/  _/_/          _/_/          _/_/    _/_/  _/_/              _/_/_/_/_/
       _/_/          _/_/    _/_/  _/_/    _/_/  _/_/_/_/        _/_/_/_/      _/_/_/_/      _/_/_/_/      _/_/_/_/_/_/_/
      _/_/    _/_/  _/_/    _/_/  _/_/    _/_/  _/_/                  _/_/      _/_/              _/_/      _/_/_/_/_/
     _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/      _/_/      _/_/_/_/_/_/        _/_/_/
      _/_/_/_/      _/_/_/_/    _/_/_/_/_/    _/_/_/_/_/_/  _/_/_/_/_/        _/_/      _/_/_/_/_/            _/
    
     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    
    SysTaskCreate[507]: create CMHooksTask(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CMHooksTask(tid:10702,OSprio:0) running
    SysExceptOSHookFunction[451]: setting fpu-exceptions failed
    SysEthernetOSHookFunction[128]: changed protocol filter to 0x3
    getinterfaceinfo[583]: getinterfaceinfo:3 interface(s) found
    SysDirCreate_[232]: mkdir(.pki/own/cert/):File exists
    SysDirCreate_[232]: mkdir(.pki/quarantine/):File exists
    SysDirCreate_[232]: mkdir(.pki/trusted/cert/):File exists
    SysDirCreate_[232]: mkdir(.pki/trusted/crl/):File exists
    SysDirCreate_[232]: mkdir(.pki/untrusted/):File exists
    SysDirCreate_[232]: mkdir(cert/import/):File exists
    SysDirCreate_[232]: mkdir(cert/export/):File exists
    SysDirCreate_[232]: mkdir(.pki/own/key/):File exists
    SysDirCreate_[232]: mkdir(.pki/own/key_exportable/):File exists
    SysFileGetSize_[334]: stat(.UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[334]: stat(UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[334]: stat(.UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[334]: stat(UserMgmtDB.csv):No such file or directory
    openRxSocket[596]: Opened socket for reading (can0)
    openRxSocket[602]: ioctl(SIOCGIFINDEX): No such device
    Socket_CanMiniDriver_Setup[1093]: interface can0 is not available
    SysFileDelete_[274]: unlink(.UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[334]: stat(.UserMgmtRightsDB.csv):No such file or directory
    SysFileGetSize_[334]: stat(UserMgmtRightsDB.csv):No such file or directory
    SysTaskCreate[507]: create CAAEventTask(prio:30,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CAAEventTask(tid:10705,OSprio:69) running
    SysTaskCreate[507]: create SchedProcessorLoad0(prio:64,interval:0us,stacksize:131072)
    SysTaskCreate[507]: create SchedProcessorLoad1(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad0(tid:10706,OSprio:0) running
    SysTaskCreate[507]: create SchedProcessorLoad2(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad1(tid:10707,OSprio:0) running
    SysTaskCreate[507]: create SchedProcessorLoad3(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad2(tid:10708,OSprio:0) running
    SysTaskCreate[507]: create SchedException(prio:10,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedException(tid:10710,OSprio:89) running
    SysTaskCreate[507]: create Schedule(prio:5,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad3(tid:10709,OSprio:0) running
    SysTaskFrame[428]:  Schedule(tid:10711,OSprio:94) running
    SysTaskCreate[507]: create TaskGapTask(prio:15,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  TaskGapTask(tid:10712,OSprio:84) running
    SysDirCreate_[232]: mkdir(PlcLogic/Application):File exists
    SysFileDelete_[274]: unlink(PlcLogic/Application/Application.xml):No such file or directory
    SysTaskCreate[507]: create IoMgrDiagTask(prio:192,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  IoMgrDiagTask(tid:10714,OSprio:0) running
    SysTaskCreate[507]: create ENIPScannerIOTask(prio:32,interval:10000us,stacksize:131072)
    SysTaskCreate[507]: create ENIPScannerServiceTask(prio:62,interval:20000us,stacksize:131072)
    SysTaskCreate[507]: create MainTask(prio:33,interval:4000us,stacksize:131072)
    SysTaskCreate[507]: create VISU_TASK(prio:63,interval:100000us,stacksize:131072)
    SysTaskFrame[428]:  ENIPScannerIOTask(tid:10715,OSprio:67) running
    SysTaskFrame[428]:  MainTask(tid:10717,OSprio:66) running
    SysTaskFrame[428]:  ENIPScannerServiceTask(tid:10716,OSprio:0) running
    SysTaskFrame[428]:  VISU_TASK(tid:10718,OSprio:0) running
    SysFileGetSize_[334]: stat(PlcLogic/Application/Application.boot.xml):No such file or directory
    SysTaskCreate[507]: create OPCUAServerScheduler(prio:64,interval:1000us,stacksize:131072)
    SysTaskCreate[507]: create OPCUAServerWorkerHigPrio_0(prio:95,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerScheduler(tid:10719,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerHigPrio_1(prio:95,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_0(tid:10720,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerHigPrio_2(prio:95,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_1(tid:10721,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerLowPrio(prio:128,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_2(tid:10722,OSprio:0) running
    SysTaskFrame[428]:  OPCUAServerWorkerLowPrio(tid:10723,OSprio:0) running
    SysTaskCreate[507]: create WebServerCloseChannelAfterTimeoutTask(prio:150,interval:0us,stacksize:131072)
    SysTaskCreate[507]: create BlkDrvTcp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  WebServerCloseChannelAfterTimeoutTask(tid:10724,OSprio:0) running
    SysTaskCreate[507]: create BlkDrvUdp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  BlkDrvTcp(tid:10725,OSprio:0) running
    SysTaskCreate[507]: create OPCUAClient_Network(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  BlkDrvUdp(tid:10726,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServer(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAClient_Network(tid:10727,OSprio:0) running
    SysTaskFrame[428]:  OPCUAServer(tid:10728,OSprio:0) running
    SysTaskCreate[507]: create CommCycleHook(prio:223,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CommCycleHook(tid:10729,OSprio:0) running
    SysSockConnect[965]: connect(17,10.0.1.102:502):Operation now in progress
    SysTaskCreate[507]: create CreateKeyPairTask(prio:255,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CreateKeyPairTask(tid:10731,OSprio:0) running
    SysSockMapOption[380]: unsupported socket option: 64
    SysSockMapOption[380]: unsupported socket option: 64
    SysTaskCreate[507]: create WebServerTask(prio:80,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  WebServerTask(tid:10732,OSprio:0) running
    SysSockMapOption[380]: unsupported socket option: 512
    SysSockConnect[965]: connect(25,10.0.1.101:44818):Operation now in progress
    ooops... this runtime was built for RASPBERRYPI (-8, 0x00000BB8, 0xFFFFFFFB)
    

    In the second cli, I get the following:

    pi@raspberrypi:~ $ tail -f /tmp/codesyscontrol.log
    2020-07-21T12:56:21Z, 0x00001014, 1, 1, 16777219, <Component>IoDrvEthernetIP</Co                                                                                                                                                             mponent>
    2020-07-21T12:56:21Z, 0x00001019, 1, 16842752, 0, Reset Driver
    2020-07-21T12:56:21Z, 0x00001014, 1, 1, 16777219, <Component>IoDrvEthernetIP</Co                                                                                                                                                             mponent>
    2020-07-21T12:56:21Z, 0x00000071, 2, 0, 14, !!!! Warning: Unbalanced calls to We                                                                                                                                                             bServerRequestRunning/WebServerReleaseRunning
    2020-07-21T12:56:23Z, 0x00000018, 1, 0, 5, Network interface <interface>BlkDrvTc                                                                                                                                                             p</interface> unregistered
    2020-07-21T12:56:23Z, 0x00000124, 1, 0, 0, Provider CmpOPCUAProviderIecVarAccess                                                                                                                                                              with Version 0x3051000 unregisterd at the OPC UA server.
    2020-07-21T12:56:23Z, 0x00000124, 1, 0, 0, Provider CODESYS_DefaultProvider with                                                                                                                                                              Version 0x3051000 unregisterd at the OPC UA server.
    2020-07-21T12:56:23Z, 0x00000124, 1, 0, 0, ********************** Server OPC UA                                                                                                                                                              stopped! *************************
    2020-07-21T12:56:23Z, 0x00000018, 1, 0, 5, Network interface <interface>ether 1<                                                                                                                                                             /interface> unregistered
    2020-07-21T12:56:23Z, 0x00000018, 1, 0, 5, Network interface <interface>ether 3<                                                                                                                                                             /interface> unregistered
    ;****************************************************************
    ;<loggername>/tmp/codesyscontrol.log</loggername>
    ;<logoptions>
    ;       <enable>1</enable>
    ;       <type>normal</type>
    ;       <timestamp>rtc</timestamp>
    ;       <deactivatable>0</deactivatable>
    ;       <dump>always</dump>
    ;       <filter>0x0000000f<filter>
    ;       <maxentries>1000</maxentries>
    ;       <maxfiles>1</maxfiles>
    ;       <maxfilesize>1000000</maxfilesize>
    ;</logoptions>
    ;<entries>
    ;Timestamp, CmpId, ClassId, ErrorId, InfoId, InfoText
    ;ClassId: LOG_INFO              =1
    ;ClassId: LOG_WARNING   =2
    ;ClassId: LOG_ERROR             =4
    ;ClassId: LOG_EXCEPTION =8
    ;ClassId: LOG_DEBUG             =16
    ;ClassId: LOG_PRINTF    =32
    ;ClassId: LOG_COM               =64
    ;</entries>
    ;****************************************************************
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <logoptions>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <bEnable>1</bEnable>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <type>normal</type>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <timestamp>rtc</timestamp>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <disableable>0</disableable>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <Filter>0x0000000f</Filter>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <MaxEntries>1000</MaxEntries>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <MaxFiles>1</MaxFiles>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, <MaxFileSize>1000000</MaxFileSize>
    2020-07-21T12:56:35Z, 0x00000013, 1, 0, 0, </logoptions>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 4, CODESYS Control for Raspberry Pi MC SL
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 4, OS=Linux, CPU=ARM, Arch=32Bit, Coding=C
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 6, <version>3.5.16.0</version> <builddate>Apr 28 2020</builddate>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 5, Copyright (c) 3S - Smart Software Solutions GmbH
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>CM</cmp>, <id>0x00000001</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>CmpMemPool</cmp>, <id>0x0000001e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>CmpSettings</cmp>, <id>0x0000001a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysFile</cmp>, <id>0x00000104</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysCpuHandling</cmp>, <id>0x00000101</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysCpuMultiCore</cmp>, <id>0x0000013d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysEthernet</cmp>, <id>0x0000011c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysEvent</cmp>, <id>0x00000102</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysExcept</cmp>, <id>0x00000103</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysInternalLib</cmp>, <id>0x00000107</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysModule</cmp>, <id>0x00000109</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysMsgQ</cmp>, <id>0x0000010a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysMutex</cmp>, <id>0x0000013a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysProcess</cmp>, <id>0x0000010e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemCount</cmp>, <id>0x00000139</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysSemProcess</cmp>, <id>0x00000119</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysSocket</cmp>, <id>0x00000111</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysTarget</cmp>, <id>0x00000112</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysTask</cmp>, <id>0x00000114</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysTime</cmp>, <id>0x00000115</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimeRtc</cmp>, <id>0x00000127</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, System: <cmp>SysTimer</cmp>, <id>0x00000116</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpAlarmManager</cmp>, <id>0x0000007c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpApp</cmp>, <id>0x00000002</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBACnet</cmp>, <id>0x00000400</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtil</cmp>, <id>0x00000004</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBinTagUtilIec</cmp>, <id>0x0000005c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBitmapPool</cmp>, <id>0x00000050</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAABehaviourModel</cmp>, <id>0x00004015</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAFile</cmp>, <id>0x00004008</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAMemBlockMan</cmp>, <id>0x00004003</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAANetBaseServices</cmp>, <id>0x00004018</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAARealTimeClock</cmp>, <id>0x00004014</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoClient</cmp>, <id>0x00004011</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASdoServer</cmp>, <id>0x00004017</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASegBufferMan</cmp>, <id>0x00004019</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAASerialCom</cmp>, <id>0x00004012</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAAStorage</cmp>, <id>0x0000007e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATick</cmp>, <id>0x00004009</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClient</cmp>, <id>0x00000008</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelClientIec</cmp>, <id>0x0000005d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelMgr</cmp>, <id>0x00000009</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpChannelServer</cmp>, <id>0x0000000a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCharDevice</cmp>, <id>0x00000300</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCommunicationLib</cmp>, <id>0x0000000c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpDevice</cmp>, <id>0x0000000e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpEL6751CanDrv</cmp>, <id>0x00005f0b</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpFileTransfer</cmp>, <id>0x0000005e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpIecStringUtils</cmp>, <id>0x0000007f</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpIecTask</cmp>, <id>0x00000011</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpIecVarAccess</cmp>, <id>0x00000060</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpKnxStack</cmp>, <id>0x0000004d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClient</cmp>, <id>0x00000015</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceClientIec</cmp>, <id>0x0000011d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpNameServiceServer</cmp>, <id>0x00000016</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAClient</cmp>, <id>0x00000096</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAProviderIecVarAccess</cmp>, <id>0x00000126</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAServer</cmp>, <id>0x00000124</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpOPCUAStack</cmp>, <id>0x0000008d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpOpenSSL</cmp>, <id>0x00000033</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpRasPi</cmp>, <id>0x00000089</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpRetain</cmp>, <id>0x00000017</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpRouter</cmp>, <id>0x00000018</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSecureChannel</cmp>, <id>0x00000090</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSecurityManager</cmp>, <id>0x0000008e</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSessionInformation</cmp>, <id>0x00000097</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSocketCanDrv</cmp>, <id>0x00005f0d</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpSrv</cmp>, <id>0x0000001c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpUserDBFile</cmp>, <id>0x00000098</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpUserGroupsDBFile</cmp>, <id>0x00000099</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpUserMgr</cmp>, <id>0x00000061</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpUserObjectsDBFile</cmp>, <id>0x0000009c</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpVisuServer</cmp>, <id>0x00000057</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x00000001, 1, 0, 10, <cmp>CmpWebServerHandlerV3</cmp>, <id>0x00000072</id> <ver>3.5.16.0</ver>
    2020-07-21T12:56:35Z, 0x0000013d, 1, 0, 4, MultiCore support: [activated], all cores are used
    2020-07-21T12:56:35Z, 0x0000013d, 1, 0, 4, Number of available cores: 4
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0, BACstack information
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   version = 14.3.39.1
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   __BYTE_ORDER = 1234
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   TARGET_IEEE_FP_FORMAT = 1
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   TARGET_FP_BIG_ENDIAN = 0
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   TARGET_DP_BIG_ENDIAN = 0
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   TARGET_INTEGRAL_BIG_ENDIAN = 0
    2020-07-21T12:56:35Z, 0x00000400, 1, 0, 0,   TARGET_USED_ALIGNMENT = 4
    2020-07-21T12:56:35Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>10.0.1.100</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2020-07-21T12:56:35Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 1</interface> at router <instance>0</instance> registered
    2020-07-21T12:56:35Z, 0x00000007, 1, 0, 6, Network interface: <ipaddress>192.168.0.63</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    2020-07-21T12:56:35Z, 0x00000018, 1, 0, 4, Network interface <interface>ether 3</interface> at router <instance>1</instance> registered
    2020-07-21T12:56:35Z, 0x00000009, 1, 0, 2, Running as network server
    2020-07-21T12:56:35Z, 0x00000009, 1, 0, 1, Running as network client
    2020-07-21T12:56:35Z, 0x0000000a, 1, 0, 0, <NumOfChannels>4</NumOfChannels> channels available, each of the size <BufferSize>100000</BufferSize> Bytes
    2020-07-21T12:56:35Z, 0x00000030, 1, 0, 6, Local network address: <ipaddress>10.0.1.100</ipaddress>
    2020-07-21T12:56:35Z, 0x00000018, 1, 0, 4, Network interface <interface>BlkDrvTcp</interface> at router <instance>2</instance> registered
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0, **************************************************************
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     OPC UA Server Started:
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     Hostname: raspberrypi, Port: 4840
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     URL: opc.tcp://raspberrypi:4840
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     Loopbackadapter activated.
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     All available networkadapters are used.
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0,     Multithreading activated. 3 workers used.
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0, **************************************************************
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0, Provider CODESYS_DefaultProvider with Version 0x3051000 registerd at the OPC UA server.
    2020-07-21T12:56:36Z, 0x00000124, 1, 0, 0, Provider CmpOPCUAProviderIecVarAccess with Version 0x3051000 registerd at the OPC UA server.
    2020-07-21T12:56:36Z, 0x0000013d, 1, 0, 4, Number of licensed cores for IEC-tasks: 4 from 4
    2020-07-21T12:56:36Z, 0x00001014, 1, 1, 16777229, <ConnectorID>3062842696</ConnectorID><Component>IoDrvEthernetIP</Component>
    2020-07-21T12:56:36Z, 0x00001014, 1, 1, 16777233, <NumAdapter>1</NumAdapter><Component>IoDrvEthernetIP</Component>
    2020-07-21T12:56:37Z, 0x00001019, 1, 16842752, 0, Configuration  finished
    2020-07-21T12:56:37Z, 0x00000126, 1, 0, 0, Valid license found for OPC UA IecVarAccess provider.
    2020-07-21T12:56:37Z, 0x00000002, 1, 0, 7, Retains matched to bootproject of application [<app>Application</app>]
    2020-07-21T12:56:37Z, 0x00000002, 1, 0, 6, Bootproject of application [<app>Application</app>] loaded
    2020-07-21T12:56:37Z, 0x00000018, 1, 0, 1, Setting router <instance>0</instance> address to <address>(0064)</address>
    2020-07-21T12:56:37Z, 0x00000018, 1, 0, 1, Setting router <instance>1</instance> address to <address>(003f)</address>
    2020-07-21T12:56:37Z, 0x00000018, 1, 0, 1, Setting router <instance>2</instance> address to <address>(2ddc:0a00:0164)</address>
    2020-07-21T12:56:37Z, 0x00000002, 1, 0, 10, Application [<app>Application</app>] started
    2020-07-21T12:56:37Z, 0x00001014, 1, 1, 16777223, <Component>IoDrvEthernetIP</Component>
    2020-07-21T12:56:37Z, 0x00001019, 1, 16842752, 0, Started Driver
    2020-07-21T12:56:37Z, 0x00001019, 1, 16842752, 1, Modbus/TCP Slave[0] (10.0.1.102): Connected.
    2020-07-21T12:56:37Z, 0x00000001, 1, 0, 34, CODESYS Control ready
    2020-07-21T12:56:37Z, 0x0000100c, 1, 0, 0, Visuinitialization starting.
    2020-07-21T12:56:37Z, 0x0000100c, 1, 0, 0, Visuinitialization done.
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0, **************************************************************
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,                      Web Server
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,       Root directory : $PlcLogic$/$visu$
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,       Host :       raspberrypi
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,       HTTP port  : 8080
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,       HTTPS port : 443
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0,       Connection type : REDIRECT_HTTP_TO_HTTPS
    2020-07-21T12:56:37Z, 0x00000071, 1, 0, 0, **************************************************************
    2020-07-21T12:56:40Z, 0x0000100c, 1, 0, 0, Visu_PRG: Creating Client for Extern-ID: 224498
    2020-07-21T12:56:40Z, 0x0000100c, 1, 0, 0, Visu_PRG: Creating Client successful for Extern-ID: 224498 Returned IEC-ID: 0
    
     
  • eschwellinger

    eschwellinger - 2020-07-21

    Hi,
    which version was installed before you apply these update command?
    Could just install current version:
    https://www.raspberrypi.org/downloads/raspberry-pi-os/
    I'm pretty sure this will work then.

    Best Regards
    Edwin

     
    • muzel - 2020-09-01

      hi i have same problem, pi 4b.
      i have tried both full and lite version on your link(https://www.raspberrypi.org/downloads/raspberry-pi-os/). without updating.
      codesys 3.5.16.10
      tried both standard and multicore runtime.
      codesyscontrol. disappears from "top" after 10 sec every time.

      i got it working by :
      sudo rpi-update e1050e94821a70b2e4c72b318d6c6c968552e9a2

       

      Last edit: muzel 2020-09-01
  • sumkrnboy - 2020-07-21

    Edwin,

    I have the latest version installed from the same link. If I install the runtime, it will work. If I execute the following, then the kernel gets updated and the runtime will not run anymore.

    sudo apt-get upgrade -y
    

    When I look at the logs, it seems that the licensing parameters need to be updated as it thinks that the newly updated system is no longer a Raspberry Pi.

    ooops... this runtime was built for RASPBERRYPI (-8, 0x00000BB8, 0xFFFFFFFB)
    

    This is after updating:

    Linux raspberrypi 5.4.51-v7l+ #1326 SMP Fri Jul 17 10:51:18 BST 2020 armv7l
    

    This is before updating with the same image in the link.

    Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l
    
     
  • eschwellinger

    eschwellinger - 2020-07-21

    OK we will check...

     
  • eschwellinger

    eschwellinger - 2020-07-22

    what does:
    cat /proc/cpuinfo
    report?

     
  • sumkrnboy - 2020-07-22
    pi@raspberrypi:~ $ cat /proc/cpuinfo
    processor       : 0
    model name      : ARMv7 Processor rev 3 (v7l)
    BogoMIPS        : 270.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        : 270.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        : 270.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        : 270.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        : BCM2835
    Revision        : c03112
    Serial          : 100000003c7818ea
    Model           : Raspberry Pi 4 Model B Rev 1.2
    
     
  • LooijmansR - 2020-07-22

    I can confirm this. I'm having exactly the same situation. The Codesys runtime stops within 10 seconds after starting it. I was using the trial license (2h trial).

     
  • sumkrnboy - 2020-07-22

    This issue still persists in version 3.5.16.10 as well.

     
  • LooijmansR - 2020-07-22

    I second this, and the SysEthernet library is missing for 3.5.16.10 as well.. It keeps reporting download failed.

     
    πŸ‘
    1
  • eschwellinger

    eschwellinger - 2020-07-22

    yes agree, but only PI4 seems to have this issue,
    the workaround is:
    just use 2020-05-27-raspios-buster-armhf.img without apply these updates.
    Till this will be fixed ( hopefully in Patch2)

    BR
    Edwin

     
    πŸ‘
    1
    • mrgoodcat1234 - 2020-09-25

      Hi Edwin,
      i download and flash an sd with the image [ ] 2020-05-27-raspios-buster-armhf.zip
      i installed it, everything seems ok,but the issue persist, after few second raspi stop the connection. What's wrong ?
      Thanks,
      BR
      Matteo

       
      • eschwellinger

        eschwellinger - 2020-09-25

        Just use the newest Raspberry PI OS and 3.5.16.20 runtime...?!?

         
        • mrgoodcat1234 - 2020-09-25

          see now that my codesys downloaded on 23 @19.55 was 3.5.16.10
          Downloading last version,
          thank you,
          BR

           
          • eschwellinger

            eschwellinger - 2020-09-25

            ...even more important is to have the 3.5.16.20 Raspberry Pi package ;-)πŸ˜‰

             
            • mrgoodcat1234 - 2020-09-26

              it works, ;-)
              Thank you,

               
  • nothinrandom - 2020-07-24

    This issue also happens on RPi 3B+ compute module after 30-ish seconds. I hope it's because of realtime kernel:

    $ uname -a
    Linux testPi 4.19.71-rt24-v7+ #2 SMP PREEMPT RT Mon Apr 13 17:34:00 PDT 2020 armv7l GNU/Linux

    $ sudo service codesyscontrol status
    ● codesyscontrol.service - LSB: Prepares and starts codesyscontrol
    Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
    Active: active (exited) since Thu 2020-07-23 23:18:58 PDT; 35s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 32763 ExecStop=/etc/init.d/codesyscontrol stop (code=exited, status=0/SUCCESS)
    Process: 319 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)

    $ cat /etc/os-release
    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
    NAME="Raspbian GNU/Linux"
    VERSION_ID="9"
    VERSION="9 (stretch)"
    VERSION_CODENAME=stretch
    ID=raspbian
    ID_LIKE=debian

     
    πŸ‘
    2
  • tl140 - 2020-07-30

    3.5.16.10 user here as well. No luck with getting it to run for more than 10 seconds, even with a purchased license. RPi4 B 8GB version.

     

    Last edit: tl140 2020-07-30
  • eschwellinger

    eschwellinger - 2020-07-30

    Sure just use the workaroud..

     
  • sumkrnboy - 2020-07-30

    The last kernel version that runs the runtime from the list of commits below is 4.19.118.

    https://github.com/Hexxeh/rpi-firmware/commits/master

    If you have devices already provisioned and/or deployed out in the field, you can run the following command to revert to the last working revision:

    sudo rpi-update e1050e94821a70b2e4c72b318d6c6c968552e9a2
    
     
    πŸ‘
    2
    • matt-ics - 2020-09-01

      I ran this command on my compute module 3 but it skipped the kernel. I'm still seeing the runtime stop after ~30s. Is there another way to implement this fix? I'm not very experienced when it comes to managing raspberry Pi's yet so any assistance would be much appreciated.

       
      • nothinrandom - 2020-09-01

        I was facing same issue and decided to update to the latest RPi OS that's based on Buster (https://www.raspberrypi.org/downloads/raspberry-pi-os/). CoDeSys runtime 16/16.10 works great.

        pi@raspberrypi:~ $ cat /etc/os-release
        PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
        NAME="Raspbian GNU/Linux"
        VERSION_ID="10"
        VERSION="10 (buster)"
        VERSION_CODENAME=buster
        ID=raspbian
        ID_LIKE=debian
        HOME_URL="http://www.raspbian.org/"
        SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
        BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

        pi@raspberrypi:~ $ uname -a
        Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux

         
      • eschwellinger

        eschwellinger - 2020-09-02

        seems to be an different issue,
        check:
        sudo /etc/init.d/codesyscontrol stop

        cd /var/opt/codesys
        sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg

        open second CLI
        tail -f /tmp/codesyscontrol.log

        for Multicore you need to use:
        cd /var/opt/codesys
        sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg

        we need this information

         
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.