|
|
|
Re: Installing WAGO-PFC-BSP-2018.2.1 [message #1787601 is a reply to message #1787589] |
Tue, 29 May 2018 21:07 |
|
Hi,
it looks like that somehow you created a directory '/ect/apt/soruces.list.d/pengutronix.list'
How I would proceed is to delete this directory and recrating this file. I personally prefere to use the editor nano which I think is installed per default in ubuntu.
nano /etc/apt/soruces.ist.d/pengutronix.list
and place there the line
deb http://debian.pengutronix.de/debian/ sid main contrib non-free
save it and close it.
you can afterwards checkt with the less command (less /etc/apt/soruces.ist.d/pengutronix.list) if you have the correct content in your file.
I hope this helps.
Cheers,
Alois
|
|
|
|
|
|
Re: Installing WAGO-PFC-BSP-2018.2.1 [message #1790067 is a reply to message #1790060] |
Mon, 04 June 2018 11:37 |
|
hi, as I understood the documentation (I haven't build forte on wago myself yet) this is the last step. However you have to find out the root-cause of your issue. For that normally you need to find the first error in your console output. Which I don't see on your screenshot.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Installing WAGO-PFC-BSP-2018.2.1 [message #1790454 is a reply to message #1790433] |
Mon, 11 June 2018 10:54 |
Milan Vathoopan Messages: 45 Registered: August 2016 |
Member |
|
|
Hello Obaid,
1) The path FORTE_WAGO_URL: file:///<path to FORTE main directory> , should point to the directory where you placed(downloaded) the forte source
2) The command ptxdist will work only from the specific directory where you installed the BSP, for exmaple Wago2018/ptxdist-xxx. And make sure you execute this as a normal user and not as root.
Hope this will help.
[Updated on: Mon, 11 June 2018 10:57] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Installing WAGO-PFC-BSP-2018.2.1 [message #1807904 is a reply to message #1807876] |
Wed, 12 June 2019 06:54 |
Milan Vathoopan Messages: 45 Registered: August 2016 |
Member |
|
|
Hi,
First of all thanks to the video which you created, I think this will make life easier for many 4diac- Wago enthusiasts. One thing in advance, the Eclipse based build and debugging is required only when you require remote dubugging of your 4diac project on Wago PFC target device. For the initial testing of your compiled forte (4diac run time env) on wago, succeeding the step ptxdist targetinstall forte_wago you may use any file transfer utility like filezilla, putty , etc, to transfer the binary obtained on to the target Wago PFC. After/before copying the binary make sure you kill the Codesys run time using Then you may execute your forte as normal Hopefully it will work.
Coming to your eclipse use case, the problem is that the behavior of the remote system plugin may vary from version to version. I think you you have everything ready in your case. You are already connected to the wago. In your last step(3-3) at 16.27-17:27, you have a terminal window where you can execute all embedded linux commands and expand the root node of the remote system device, you may get the same root tree as shown in the help file.
I would be happy to know if it helps and see a full video.
|
|
|
|
Re: Installing WAGO-PFC-BSP-2018.2.1 [message #1808077 is a reply to message #1808059] |
Mon, 17 June 2019 07:59 |
Milan Vathoopan Messages: 45 Registered: August 2016 |
Member |
|
|
Hi,
Once again thank you for the videos. I know "ptxdist targetinstall forte_wago" is a confusing command, one might expect that it should install the executable directly on the target. Yes it does, but this happens in the target system linux tree generated in your local host Ubuntu machine. These files are not transferred automatically to the actual remote Wago hardware. Our help files assumes that you create a bootable SD card as mentioned in the wago help file. This means you transfer your whole embedded linux tree on to your bootable SD card, and then boot with this SD card. You do not need to manually transfer the files in this case.
Subsequently you might need to connect to your remote hardware (Wago_PFC), where some tools like Putty, filezilla, Eclipse remote system explorer, etc., may be handy. We recommended Eclipse remote system explorer because it offers a more user-friendly experience for standard ssh and ftp connection offered by FileZilla and Putty. In addition, Eclipse remote system explorer offers remote debugging functionality, which will be really helpful, once we start playing with "forte" on remote hardware (Wago_PFC) . With any of the tools mentioned above, you may use the standard credentials from wago to establish an SSH connection.
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 you may once again use any of the tools mentioned above. With filezilla or Eclipse remote system explorer, you get a tree view of the local file system (Host device) and remote system (target Wago_PFC) separately. You can use drag and drop functionality to execute a file transfer. It is recommended that a generated binary is copied on to /usr/bin directory of remote hardware (Wago_PFC).
Coming back your questions,
(1) Any of the command with prefix "ptxdist" works on only in the ptxdist build system project environment, ie for example ~wago/ptxproj-2.2.xx on the host machine
(2)You have already set up a Eclispe remote system explorer connection to the target wago PFC. So if you have used a bootable SD card, then your forte_wago might be there in the /usr/bin directory of the Wago_PFC. Otherwise you might have to drag and drop forte_wago binary from .../ptxproj-2.2.20/platform-wago-pfc200/buid-target/forte_wago-1.6.2-build/src directory of the host machine to /usr/bin directory of the target device
(3) The file sizes may not be an issue. As mentioned in the documentation, the help file, was created based on WAGO-PFC-BSP-2014.10.3, wago may have optimized their BSP in between.
Once you get an executable on the remote hardware(Wago_PFC), you may run any standard commands on the remote hardware(Wago_PFC) shell. For example
|
|
|