|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Building 4diac FORTE for Wago issue [message #1807932 is a reply to message #1807685] |
Wed, 12 June 2019 14:58   |
Eclipse User |
|
|
|
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 #1808521 is a reply to message #1808486] |
Wed, 26 June 2019 05:18  |
Eclipse User |
|
|
|
Hi,
Please note that, booting from an SD card will not affect the shipped image normally. This is a "more safe approach" than booting from the shipped image. Quote:Then comes the second case. If you do not want to create a bootable image and want to use the wago image on the shipped device OR do not want to disturb the bootable image already created, then you have to manually transfer the executable files generated in .../ptxproj-2.2.20/platform-wago-pfc200/buid-target/forte_wago-1.6.2-build/src to the target remote hardware (Wago_PFC)
Here by "not disturbing the image already created", I mean the SD card image one already created. By copying executable, you do not have to create the bootable SD card, each time you make changes in the 4diac application/ code.
So simply creating a bootable SD will not hurt your PFC. You can find directions for creating an bootable SD card in the " HowTo_Install_WAGO-PFC-BSP-2018.8.27.txt" file as "Step 8. Write the binary image file "sd.hdimg" to SD-Card"
Hope this helps
Milan
|
|
|
Powered by
FUDForum. Page generated in 0.08539 seconds