Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Pi Runtime Crash on boot

2020-08-10
2024-03-01
  • jamesonline - 2020-08-10

    I am running the latest version of CODESYS V3.5 SP16 Patch 1 (64-BIT) on my laptop
    I have a Raspberry Pi 4B 1GB platform running CODESYS V3.5.16.10 that has been installed..a few times as well as APT updates and upgrades

    The issue that I am having is the CODESYS runtime on the Pi will stop running after ~10s - ~30s. I cannot download without first starting the runtime and it will crash soon afterwards. I have also attempted opening a new project and downloading a blank project

    I have attempted to follow the codesyscontrol.bin file below and received this message

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

    Please let me know the best path to proceed as I have been looking for a week..

    I do not have a license and was hoping to use the 2 hour demo.

    I have been able to make this work with a Raspberry Pi Zero with no issues!

    pi@raspberrypi:~ $ 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)) #1327 SMP Thu Jul 23 11:04:39 BST 2020
    
    
     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    
            _/_/_/_/      _/_/_/_/    _/_/_/_/_/    _/_/_/_/_/_/    _/_/_/_/_/  _/_/    _/_/    _/_/_/_/_/          _/
         _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/    _/_/  _/_/_/_/_/_/        _/_/_/
        _/_/    _/_/  _/_/    _/_/  _/_/    _/_/  _/_/          _/_/          _/_/    _/_/  _/_/              _/_/_/_/_/
       _/_/          _/_/    _/_/  _/_/    _/_/  _/_/_/_/        _/_/_/_/      _/_/_/_/      _/_/_/_/      _/_/_/_/_/_/_/
      _/_/    _/_/  _/_/    _/_/  _/_/    _/_/  _/_/                  _/_/      _/_/              _/_/      _/_/_/_/_/
     _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/  _/_/_/_/_/_/      _/_/      _/_/_/_/_/_/        _/_/_/
      _/_/_/_/      _/_/_/_/    _/_/_/_/_/    _/_/_/_/_/_/  _/_/_/_/_/        _/_/      _/_/_/_/_/            _/
    
     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    
    SysTaskCreate[507]: create CMHooksTask(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CMHooksTask(tid:31311,OSprio:0) running
    SysExceptOSHookFunction[451]: setting fpu-exceptions failed
    SysEthernetOSHookFunction[128]: changed protocol filter to 0x3
    getinterfaceinfo[583]: getinterfaceinfo:2 interface(s) found
    SysSockBind[674]: bind(6,192.168.1.95:1740):Address already in use
    SysDirOpen_[109]: opendir(./cmact_licenses):No such file or directory
    SysDirOpen_[109]: opendir(./cmact_licenses):No such file or directory
    SysDirOpen_[109]: opendir(./cmact_licenses):No such file or directory
    SysDirOpen_[109]: opendir(./cmact_licenses):No such file or directory
    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
    SysSockBind[674]: bind(8,0.0.0.0:11740):Address already in use
    SysFileGetSize_[334]: stat(3SLicense.wbb):No such file or directory
    SysSockBind[674]: bind(8,192.168.1.95:4840):Address already in use
    SysSockBind[674]: bind(8,127.0.0.1:4840):Address already in use
    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(.pki/own/key/c06ad2814ccb6269018ffc70b40099d58967c079.key):No such file or directory
    SysFileGetSize_[334]: stat(.pki/own/key_exportable/c06ad2814ccb6269018ffc70b40099d58967c079.key):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:31327,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:31328,OSprio:0) running
    SysTaskCreate[507]: create SchedProcessorLoad2(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad1(tid:31329,OSprio:0) running
    SysTaskCreate[507]: create SchedProcessorLoad3(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad2(tid:31330,OSprio:0) running
    SysTaskCreate[507]: create SchedException(prio:10,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  SchedProcessorLoad3(tid:31331,OSprio:0) running
    SysTaskFrame[428]:  SchedException(tid:31332,OSprio:89) running
    SysTaskCreate[507]: create Schedule(prio:5,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  Schedule(tid:31333,OSprio:94) running
    SysTaskCreate[507]: create TaskGapTask(prio:15,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  TaskGapTask(tid:31334,OSprio:84) running
    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:31336,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerHigPrio_1(prio:95,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_0(tid:31337,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerHigPrio_2(prio:95,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_1(tid:31338,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServerWorkerLowPrio(prio:128,interval:1000us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAServerWorkerHigPrio_2(tid:31339,OSprio:0) running
    SysTaskFrame[428]:  OPCUAServerWorkerLowPrio(tid:31340,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:31341,OSprio:0) running
    SysTaskCreate[507]: create BlkDrvUdp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  BlkDrvTcp(tid:31342,OSprio:0) running
    SysTaskCreate[507]: create OPCUAClient_Network(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  BlkDrvUdp(tid:31343,OSprio:0) running
    SysTaskCreate[507]: create OPCUAServer(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  OPCUAClient_Network(tid:31344,OSprio:0) running
    SysTaskFrame[428]:  OPCUAServer(tid:31345,OSprio:0) running
    SysTaskCreate[507]: create CommCycleHook(prio:223,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CommCycleHook(tid:31346,OSprio:0) running
    SysTaskCreate[507]: create CreateKeyPairTask(prio:255,interval:0us,stacksize:131072)
    SysTaskFrame[428]:  CreateKeyPairTask(tid:31347,OSprio:0) running
    SysSockBind[674]: bind(10,192.168.1.95:4840):Address already in use
    SysSockBind[674]: bind(10,127.0.0.1:4840):Address already in use
    SysSockBind[674]: bind(10,192.168.1.95:4840):Address already in use
    SysSockBind[674]: bind(10,127.0.0.1:4840):Address already in use
    SysSockBind[674]: bind(10,192.168.1.95:4840):Address already in use
    SysSockBind[674]: bind(10,127.0.0.1:4840):Address already in use
    ooops... this runtime was built for RASPBERRYPI (-8, 0x00000BB8, 0xFFFFFFFB)
    
     

Log in to post a comment.