|
|
|
|
|
|
|
|
|
|
|
Re: Building 4diac FORTE for Wago issue [message #1807661 is a reply to message #1807597] |
Wed, 05 June 2019 18:49 |
Radu Voju Messages: 11 Registered: April 2019 |
Junior Member |
|
|
Unfortunately the same error of segmentation fault even after killing codesys rt (after running the commands suggested by you above and finding PID and kill by that). You have suggested then to run the binary obtained from ptxdist directly in the hardware.
This means continue the procedure (How to install wago-pfc-bsp-version) after the step 7 Compile all packages of PFC hardware ? (step 7,8 and 9 ? )
[Updated on: Wed, 05 June 2019 18:50] Report message to a moderator
|
|
|
Re: Building 4diac FORTE for Wago issue [message #1807685 is a reply to message #1807661] |
Thu, 06 June 2019 07:28 |
Milan Vathoopan Messages: 45 Registered: August 2016 |
Member |
|
|
Hi,
As mentioned in the help file " The binary can be found in the directory .../ptxproj-xxxx/platform-wago-pfc200/buid-target/forte_wago-xxx-build/src. The binary can be either copied to the target device /usr/bin directory or you can build your own custom linux image by performing <ptxdist go>; command in your ptxproj-2.2.20 directory and boot with your own custom firmware" . This is the normal procedure. But we have some constraints here, first for copying a binary directly onto the device, your device firmware should be up to date and should be of the same version as the BSP version which wago provides. Please refer to the Wago official documentation for this. And second, if you have no input/output modules, Probably try un-checking Wago KBus (Because I guess this will expect some kind of modules and if it does not find , may throw segmentation fault ) . You can do this by deleting -DFORTE_MODULE_WagoKbus=ON options or assigning OFF.
Hope this helps
[Updated on: Thu, 06 June 2019 07:29] Report message to a moderator
|
|
|
|
Re: Building 4diac FORTE for Wago issue [message #1807932 is a reply to message #1807685] |
Wed, 12 June 2019 18:58 |
Radu Voju Messages: 11 Registered: April 2019 |
Junior Member |
|
|
Milan Vathoopan wrote on Thu, 06 June 2019 07:28Hi,
As mentioned in the help file " The binary can be found in the directory .../ptxproj-xxxx/platform-wago-pfc200/buid-target/forte_wago-xxx-build/src. The binary can be either copied to the target device /usr/bin directory or you can build your own custom linux image by performing <ptxdist go>; command in your ptxproj-2.2.20 directory and boot with your own custom firmware" . This is the normal procedure. But we have some constraints here, first for copying a binary directly onto the device, your device firmware should be up to date and should be of the same version as the BSP version which wago provides. Please refer to the Wago official documentation for this. And second, if you have no input/output modules, Probably try un-checking Wago KBus (Because I guess this will expect some kind of modules and if it does not find , may throw segmentation fault ) . You can do this by deleting -DFORTE_MODULE_WagoKbus=ON options or assigning OFF.
Hope this helps
The binary file was copied by the procedure mentioned by you above. I also have received finally some documentation from Wago support , but topics regarding BSP are missing. I also tried google it, but anything important found. So I even find myself in trouble , comparing version of BSP from Wago and the one from the project build on the PC. Nothing found how to check version from Wago hardware.
On the second point, I have attached two module of I/O from the beginning.
|
|
|
|
Re: Building 4diac FORTE for Wago issue [message #1808048 is a reply to message #1807932] |
Fri, 14 June 2019 14:18 |
Milan Vathoopan Messages: 45 Registered: August 2016 |
Member |
|
|
Hi,
Quote:
The binary file was copied by the procedure mentioned by you above. I also have received finally some documentation from Wago support , but topics regarding BSP are missing. I also tried google it, but anything important found. So I even find myself in trouble , comparing version of BSP from Wago and the one from the project build on the PC. Nothing found how to check version from Wago hardware.
On the second point, I have attached two module of I/O from the beginning.
As your error(segmentation fault) is not reproducible and there is no detailed terminal feedback, I am almost helpless in your case. You will have to dig your self the reasons. The best way to make sure that you have synchronous behavior on the device and your development environment is to boot from the image you built with your ptxdist. You may create a bootable sd card out of it, and use it. Please refer to wago help files for this.
Milan
[Updated on: Fri, 14 June 2019 14:20] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05589 seconds