The problem was an array which was not defined big enough.
So it blew up during initialization.
There was no error message that the array had an overrun.
I guess Codesys does no bounds checking on arrays?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Whenever I try to start the application loaded onto the Pi3 , the CodeSys IDE hangs for a minute and the Pi3 app will not start.
On the Pi3 I executed : cat /tmp/codesyscontrol.log
The Log indicates an exception...........
2020-06-19T09:27:38Z, 0x00000007, 8, 81, 1, #### Exception: EXCEPTION <task>BlkDrvUdp</task> <ip>0x20000</ip> <bp>0x70004</bp> <sp>0x768abe80</sp>
I get the same error with Pi SL and Pi MC SL.
Last edit: helleb 2020-06-19
The problem was an array which was not defined big enough.
So it blew up during initialization.
There was no error message that the array had an overrun.
I guess Codesys does no bounds checking on arrays?
It is an opt-in: https://help.codesys.com/webapp/_cds_using_pous_for_implicit_check;product=codesys;version=3.5.14.0