RAJAT99 Posted May 23 Share Posted May 23 (edited) Hi all, I have gone through this tutorial. I have tested echo server lwIP successfully on zedboard baremetal. https://digilent.com/reference/programmable-logic/guides/zynq-servers Now I want to stream data from zedboard through router. 1- How should I proceed? 2- What changes will be necessary in lwIP echoserver code. 3- Is there any link that can guide me through? Edited May 23 by RAJAT99 None Link to comment Share on other sites More sharing options...
0 Viktor Nikolov Posted May 23 Share Posted May 23 (edited) I recently implemented a C++ ostream class (client) and a Python script (server) for writing a file on a remote system via an lwIP socket connection from Zynq. I did this for being able to upload extensive data (e.g., data from an ADC) from an application running in FreeRTOS (so it is not exactly standalone, however, FreeRTOS makes many things easier). Please see this GitHub repository. The repository includes a sample project for Zybo Z7-20. The PS code should run also on ZedBoard. You need to start in Vitis by creating a FreeRTOS platform and then an empty C++ application and copy into it the sources from the repository. I expect the code to be compatible with the HW design you made following that echo server tutorial. Edited May 23 by Viktor Nikolov Link to comment Share on other sites More sharing options...
0 RAJAT99 Posted May 24 Author Share Posted May 24 Thanks @Viktor Nikolov. Is there any help for standalone? Link to comment Share on other sites More sharing options...
0 artvvb Posted May 28 Share Posted May 28 Hi @RAJAT99 The same guide you linked to should cover connecting to the board through a router, check section 10, "Testing the Server With a DHCP Router". If it doesn't work on the first try, I'd try changing the BSP settings to require DHCP. For streaming, Digilent doesn't provide guides to help. It would be a matter of modifying the code to repeatedly send data when new data is available. This blog post covering using a small python client to request data from the board might be a starting point: https://digilent.com/blog/getting-out-of-the-echo-chamber-transferring-data-over-ethernet-using-zynq/ Thanks, Arthur Link to comment Share on other sites More sharing options...
0 RAJAT99 Posted May 29 Author Share Posted May 29 Thanks @artvvb Link to comment Share on other sites More sharing options...
Question
RAJAT99
Hi all, I have gone through this tutorial. I have tested echo server lwIP successfully on zedboard baremetal.
https://digilent.com/reference/programmable-logic/guides/zynq-servers
Now I want to stream data from zedboard through router.
1- How should I proceed?
2- What changes will be necessary in lwIP echoserver code.
3- Is there any link that can guide me through?
Edited by RAJAT99None
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now