Search the Community
Showing results for tags 'tcp'.
Found 4 results
Hello i'm using 2 ZedBoards cards with Vivado 2017.4 (for the record - i've tried to work with 2018.1 but from some reason there was a problem with the wifi's library and someone here at the forum suggest to work with 2017.4. link to this post: https://forum.digilentinc.com/topic/17224-pmod-wifi-sdk-problem/#comment-42818 the 2 ZedBoards are connected with the PmodWiFi module, this module has been tested and the hardware is working fine. my goal is to transfer a 120*160 matrix of integers from one zedboard to another. i've succeded to transfer string or several integers between the boards. the project are based on the tcp client and tcp server which exists in the examples inside PmodWiFi library. (also tried the UDP examples, didn't work). i'm sending each time an array of 160 elements. so in total in each transfer there are 640 bytes of data. the function being used is: tcpSocket.writeStream((u8*)mat,160*4)) in while loop until 120 transfers are being made. the current situation is that i'm not getting all the packets at the second card. in average 15-20 packets from total 120 packets are recieved. after a research i've made, i get an offer to put the function -> DEIPck::periodicTasks(); after every write stream but it didn't work. putting sleep(2) after each send also didn't solve the issue. attached a screenshot of the relevant code which will help to explain how the send data works. i'll be glad if someone could help with this topic or refer me to relevant project.
Hi, I am trying to run the lwIP echo server application project template from the Xilinx SDK on my PYNQ board. I have followed this tutorial for the Zybo FPGA board (which also contains the ZYNQ): https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-getting-started-with-zynq-server/start Everything works fine until the very last step, when I come to connect to the echo server using telnet. The PYNQ is telling my via serial comms that Board IP: 192.168.1.10 Netmask : 255.255.255.0 Gateway : 192.168.1.1 TCP echo server started @ port 7 So I followed the instructions in the above link to set up the ethernet connection on my Windows PC with the static IP address 192.168.1.11 using the given netmask. Unfortunately when I come to connect via telnet using Putty, it tells me that the host is unreachable. I have also tried using my Ubuntu PC but I get the same problem. I have tried debugging the echo server in the Xilinx SDK by setting a break point in the recv_callback() function, but it never seems to reach that part of the code, indicating that no packets are ever received from my PC. Does anybody have any idea what I could be doing wrong please? Thanks!
Hello, I have created a TCP server on Xilinx Zynq 7000 Zedboard and TCP client on MATLAB on host computer. Zedboard and the host computer are connected through the Ethernet. The client requests the connection to the server, SYN, SYNACK and ACK packets are delivered successfully and the connection is established. (Packets are monitored on wireshark on the host computer). Now, If the client keeps sending the data continuously to the server, then server receives the data and process them. BUT the server crashes if I take some time interval in sending the data. For example: If I send data from client to server at time 0, and I take a gap of 60 seconds and then try to send the data from client to server, then by this time the TCP server has crashed and it does not receive data.If I keep sending data continuously then it does not crash, but if I take some time sending the next data, then TCP crashes. can anyone suggest where I am going wrong I have been looking over the Internet to find solutions but any help/suggestions would be appreciated.Thanks