codesys v3.5.8.0 on raspi 2 with stock debian

Stefan
2016-01-23
2024-10-17
  • Stefan - 2016-01-23

    Hi,

    I'm trying to get codesys to run on my raspberry pi 2.

    This is what i'm using:

    raspberry pi 2:

    stock debian (installed with debootstrap)

    uname -a
    Linux raspi2-00 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

    codesys control v3.5.8.0
    codesys v3.5 SP8

    when i start codesyscontrol.bin from the command line, everything works for +30 seconds. In this half minute, everything seems to work. I can connect, i can upload, ...

    after 30 seconds, i get:

    ooops... this runtime was built for raspberry pi (-22, 0x00000BB8, 0xFFFFFFFB)
    PlcStartRasPI[796]: ERROR: Ptrace CONT FAILED (errno 3 No such process)
    PlcStartRasPI[802]: Parent kill
    Killed
    

    I've seen this error for old versions of the control soft in combination with raspi2, but all those posts suggest that the problem is fixed with the latest version.
    Am i getting this error because i run stock debian instead of raspbian? I would really like to stick with stock debian...

    The fact that everything runs suggest that it must be possible. To me, it looks like an simple (unnecessary?) check kills the process where it shouldn't.

    Any ideas?

     
  • Stefan - 2016-01-23

    full console log:

    root@raspi2-00:/etc# codesyscontrol.bin
    PlcStartRasPI[784]: fork parent: 909
    PlcStartRasPI[760]: fork child: ppid: 908
    ********* CoDeSysControl DEMO VERSION - runs 2 hours*********
    machine: armv7l
    timer resolution: 1nsec
    Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015
    SysFileGetSize_[254]: stat(.UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[254]: stat(UserMgmtDB.csv):No such file or directory
    SysFileGetSize_[254]: stat(.UserMgmtRightsDB.csv):No such file or directory
    SysFileGetSize_[254]: stat(UserMgmtRightsDB.csv):No such file or directory
    SysEthernetOSHookFunction[100]: changed protocol filter to 0x3
    SysDirOpen_[117]: opendir(./cmact_licenses):No such file or directory
    SysDirOpen_[117]: opendir(./cmact_licenses):No such file or directory
    _[394]: setting fpu-exceptions failed
    SysFileGetSize_[254]: stat(3SLicense.wbb):No such file or directory
    Socket_CanMiniDriver_Setup[1007]: registering can interface 0
    openRxSocket[576]: Opened socket for reading (can0)
    openRxSocket[582]: ioctl(SIOCGIFINDEX): No such device
    SysTaskCreate[296]: create SchedProcessorLoad(prio:64,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  SchedProcessorLoad(tid:916,OSprio:0) running
    SysTaskCreate[296]: create SchedException(prio:31,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  SchedException(tid:917,OSprio:68) running
    SysTaskCreate[296]: create Schedule(prio:5,interval:1000us,stacksize:131072)
    SysTaskFrame[230]:  Schedule(tid:918,OSprio:94) running
    SysTaskCreate[296]: create CAAEventTask(prio:30,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  CAAEventTask(tid:919,OSprio:69) running
    SysTaskCreate[296]: create BlkDrvTcp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  BlkDrvTcp(tid:920,OSprio:0) running
    SysTaskCreate[296]: create BlkDrvUdp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  BlkDrvUdp(tid:921,OSprio:0) running
    SysTaskCreate[296]: create OPCUAServer(prio:128,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  OPCUAServer(tid:922,OSprio:0) running
    SysTaskCreate[296]: create GwCommDrvTcp(prio:95,interval:0us,stacksize:131072)
    SysTaskFrame[230]:  GwCommDrvTcp(tid:923,OSprio:0) running
    =======================================================================
    1453573896: Cmp=CM, Class=1, Error=0, Info=4, pszInfo= CODESYS Control V3
    1453573896: Cmp=CM, Class=1, Error=0, Info=5, pszInfo= Copyright (c) 3S - Smart Software Solutions GmbH
    1453573896: Cmp=CM, Class=1, Error=0, Info=6, pszInfo= <version>3.5.8.0</version> <builddate>Dec  8 2015</builddate>
    =======================================================================
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CM</cmp>, <id>0x00000001</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpMemPool</cmp>, <id>0x0000001e</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpLog</cmp>, <id>0x00000013</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>CmpSettings</cmp>, <id>0x0000001a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysFile</cmp>, <id>0x00000104</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysCpuHandling</cmp>, <id>0x00000101</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>_</cmp>, <id>0x00000103</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMem</cmp>, <id>0x00000108</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysOut</cmp>, <id>0x0000010b</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysModule</cmp>, <id>0x00000109</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysCom</cmp>, <id>0x00000100</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysDir</cmp>, <id>0x0000011b</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysEvent</cmp>, <id>0x00000102</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysInternalLib</cmp>, <id>0x00000107</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSem</cmp>, <id>0x0000010f</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSocket</cmp>, <id>0x00000111</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTarget</cmp>, <id>0x00000112</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTask</cmp>, <id>0x00000114</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTime</cmp>, <id>0x00000115</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTimeRtc</cmp>, <id>0x00000127</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysTimer</cmp>, <id>0x00000116</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysFileStream</cmp>, <id>0x00000120</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysShm</cmp>, <id>0x00000110</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMsgQ</cmp>, <id>0x0000010a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSemProcess</cmp>, <id>0x00000119</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysEthernet</cmp>, <id>0x0000011c</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysMutex</cmp>, <id>0x0000013a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysSemCount</cmp>, <id>0x00000139</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= System: <cmp>SysProcess</cmp>, <id>0x0000010e</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpApp</cmp>, <id>0x00000002</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAppBP</cmp>, <id>0x00000073</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAppForce</cmp>, <id>0x00000074</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAsyncMgr</cmp>, <id>0x0000005f</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChecksum</cmp>, <id>0x0000000b</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpDevice</cmp>, <id>0x0000000e</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpEventMgr</cmp>, <id>0x0000005b</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpFileTransfer</cmp>, <id>0x0000005e</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecStringUtils</cmp>, <id>0x0000007f</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecTask</cmp>, <id>0x00000011</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpMonitor</cmp>, <id>0x00000014</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpMonitor2</cmp>, <id>0x00000032</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoDrvC</cmp>, <id>0x00000066</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoDrvIec</cmp>, <id>0x0000005a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIoMgr</cmp>, <id>0x00000012</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRetain</cmp>, <id>0x00000017</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRouter</cmp>, <id>0x00000018</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpSchedule</cmp>, <id>0x00000019</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpSrv</cmp>, <id>0x0000001c</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBlkDrvTcp</cmp>, <id>0x00000030</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBlkDrvUdp</cmp>, <id>0x00000007</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBinTagUtil</cmp>, <id>0x00000004</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelMgr</cmp>, <id>0x00000009</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelServer</cmp>, <id>0x0000000a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceServer</cmp>, <id>0x00000016</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCommunicationLib</cmp>, <id>0x0000000c</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCoreDump</cmp>, <id>0x00000083</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpIecVarAccess</cmp>, <id>0x00000060</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpPlcShell</cmp>, <id>0x00000128</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpTraceMgr</cmp>, <id>0x00000070</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceClient</cmp>, <id>0x00000015</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelClient</cmp>, <id>0x00000008</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAAsyncMan</cmp>, <id>0x00004007</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAABehaviourModel</cmp>, <id>0x00004015</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAACallback</cmp>, <id>0x00004001</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAADTUtil</cmp>, <id>0x00004013</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAFile</cmp>, <id>0x00004008</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAMemBlockMan</cmp>, <id>0x00004003</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAANetBaseServices</cmp>, <id>0x00004018</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAARealTimeClock</cmp>, <id>0x00004014</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASegBufferMan</cmp>, <id>0x00004019</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASerialCom</cmp>, <id>0x00004012</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATick</cmp>, <id>0x00004009</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATickUtil</cmp>, <id>0x00004010</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATimer</cmp>, <id>0x00004016</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAATypes</cmp>, <id>0x00004006</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpChannelClientIec</cmp>, <id>0x0000005d</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpNameServiceClientIec</cmp>, <id>0x0000011d</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBinTagUtilIec</cmp>, <id>0x0000005c</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpUserDB</cmp>, <id>0x00000064</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpUserMgr</cmp>, <id>0x00000061</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCryptMD5</cmp>, <id>0x0000006a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCharDevice</cmp>, <id>0x00000300</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpRasPi</cmp>, <id>0x00000089</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpBitmapPool</cmp>, <id>0x00000050</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpDynamicText</cmp>, <id>0x00000051</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpVisuHandler</cmp>, <id>0x00000054</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpVisuServer</cmp>, <id>0x00000057</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpOPCUA</cmp>, <id>0x00000125</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpWebServer</cmp>, <id>0x00000071</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpWebServerHandlerV3</cmp>, <id>0x00000072</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAAStorage</cmp>, <id>0x0000007e</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpAlarmManager</cmp>, <id>0x0000007c</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpGateway</cmp>, <id>0x0000000f</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpGwCommDrvTcp</cmp>, <id>0x00000010</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCodeMeter</cmp>, <id>0x0000007a</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASdoClient</cmp>, <id>0x00004011</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAASdoServer</cmp>, <id>0x00004017</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpCAACanL2</cmp>, <id>0x00004004</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= <cmp>CmpEL6751CanDrv</cmp>, <id>0x00005f0b</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= Dynamic: <cmp>CmpOpenSSL</cmp>, <id>0x00000033</id> <ver>3.5.8.0</ver>
    1453573896: Cmp=CM, Class=1, Error=0, Info=10, pszInfo= Dynamic: <cmp>CmpSocketCanDrv</cmp>, <id>0x00005f0d</id> <ver>3.5.8.0</ver>
    1453573897: Cmp=CM, Class=16, Error=0, Info=24, pszInfo= Call CH_INIT...
    1453573897: Cmp=SysFile, Class=1, Error=0, Info=1, pszInfo= PlcLogicPrefix=0: Execute online command ResetOrginDevice to enable backup/restore feature
    1453573897: Cmp=CmpRouter, Class=16, Error=0, Info=19, pszInfo= <instances>7</instances> router instances configured, first parallel router offset <offset>8</offset>
    1453573897: Cmp=CM, Class=16, Error=0, Info=25, pszInfo= CH_INIT done
    1453573897: Cmp=CM, Class=16, Error=0, Info=26, pszInfo= Call CH_INIT2...
    1453573897: Cmp=CmpBlkDrvUdp, Class=1, Error=0, Info=6, pszInfo= Network interface: <ipaddress>172.16.2.109</ipaddress>, subnetmask <subnetmask>255.255.255.0</subnetmask>
    1453573897: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>ether 1</interface> at router <instance>0</instance> registered
    1453573897: Cmp=CmpChannelMgr, Class=1, Error=0, Info=2, pszInfo= Running as network server
    1453573897: Cmp=CmpChannelMgr, Class=1, Error=0, Info=1, pszInfo= Running as network client
    1453573897: Cmp=CmpChannelServer, Class=1, Error=0, Info=0, pszInfo= <NumOfChannels>4</NumOfChannels> channels available, each of the size <BufferSize>100000</BufferSize> Bytes
    1453573897: Cmp=CM, Class=16, Error=0, Info=27, pszInfo= CH_INIT2 done
    1453573897: Cmp=CM, Class=16, Error=0, Info=47, pszInfo= Call CH_INIT201...
    1453573897: Cmp=CM, Class=16, Error=0, Info=48, pszInfo= CH_INIT201 done
    1453573897: Cmp=CM, Class=16, Error=0, Info=28, pszInfo= Call CH_INIT3...
    1453573897: Cmp=CmpBlkDrvTcp, Class=1, Error=0, Info=6, pszInfo= Local network address: <ipaddress>172.16.2.109</ipaddress>
    1453573897: Cmp=CmpRouter, Class=1, Error=0, Info=4, pszInfo= Network interface <interface>BlkDrvTcp</interface> at router <instance>1</instance> registered
    1453573897: Cmp=CmpCodeMeter, Class=16, Error=16, Info=0, pszInfo= CmpCodeMeter: Could not create initial empty softcontainer (.wbb-file) due to missing definition-wbb-file!
    1453573897: Cmp=CM, Class=16, Error=0, Info=29, pszInfo= CH_INIT3 done
    1453573897: Cmp=CM, Class=16, Error=0, Info=74, pszInfo= Call CH_INIT_SYSTEM_TASKS...
    1453573897: Cmp=CM, Class=16, Error=0, Info=75, pszInfo= CH_INIT_SYSTEM_TASKS done
    1453573897: Cmp=CM, Class=16, Error=0, Info=30, pszInfo= Call CH_INIT_TASKS...
    1453573897: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <instance>0</instance> address to <address>(006d)</address>
    1453573897: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <instance>1</instance> address to <address>(2ddc:ac10:026d)</address>
    1453573897: Cmp=CM, Class=16, Error=0, Info=31, pszInfo= CH_INIT_TASKS done
    1453573897: Cmp=CM, Class=16, Error=0, Info=32, pszInfo= Call CH_INIT_COMM...
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= **************************************************************
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo=            OPC UA Server
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo=    URL:    opc.tcp://raspi2-00:4840
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo=    URL:    opc.tcp://127.0.0.1:4840
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo=    URL:    opc.tcp://172.16.2.109:4840
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= **************************************************************
    1453573897: Cmp=CmpOPCUA, Class=1, Error=0, Info=0, pszInfo= OPC UA Server running in demo mode. Please perform a download to check the license.
    1453573897: Cmp=CM, Class=16, Error=0, Info=33, pszInfo= CH_INIT_COMM done
    1453573897: Cmp=CM, Class=16, Error=0, Info=32, pszInfo= Call CH_INIT_FINISHED...
    1453573897: Cmp=CM, Class=16, Error=0, Info=33, pszInfo= CH_INIT_FINISHED done
    1453573897: Cmp=CM, Class=1, Error=0, Info=34, pszInfo= CODESYS Control ready
    ooops... this runtime was built for raspberry pi (-22, 0x00000BB8, 0xFFFFFFFB)
    PlcStartRasPI[796]: ERROR: Ptrace CONT FAILED (errno 3 No such process)
    PlcStartRasPI[802]: Parent kill
    Killed
    
     
  • eschwellinger

    eschwellinger - 2016-01-24

    Hi,
    what is the advantage using stock debian (installed with debootstrap)?
    Raspberry Pi organisation spend a lot of time to 'customize' Debian to the pi, optimized to their demands.
    We need some parts of that for the licensing probably which now are not included in your Image.

    What is missing on Rasbian and give you the reason to use 'stock debian'

    BR
    Edwin

     
  • Stefan - 2016-01-24

    raspbian only exists because debian is not compatible with the raspberry pi 1. The raspberry pi 2 is fully supported though.
    Why debian over raspbian?

    • why use a derivative if you can use the real thing?
    • much bigger community
    • bigger and more up to date repositories
    • freedom of choice

    In the end, I don't care what I use, but I like my freedom. What if I want to use an orangepi, or a bananapi, or whatever they will throw at us tomorrow? What if I want to use ubuntu, gentoo, ...

    Don't get me wrong. I'm not trying to be the annoying linux nerd who wants everything for nothing. I really like codesys and the fact that your product implements the IEC standard so well. We can only dream of the day that Siemens comes with a product that follows standards like they are meant to be and not like Siemens want to implement them.
    On top of that, you let people experiment with your product for free, with an excellent simulator and nice visualisation. I'm just experimenting with codesys since a few weeks, but I already love it.

    My question, and the one in the BBB thread, was about the reason why there is a "raspbian check". I was wondering if it had a technical reason, or if it was a license thing. Why everything has to be recompiled for the raspbi2, and again for the BBB. I understand now that it is a license thing, and I respect that.

    Thanks again for a great product. I'll definitely will buy some licenses after i get it working with the demo version.

     

Log in to post a comment.