Search the Community

Showing results for tags 'tcp'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Hello, I am currently working on a university project where I want to record video frames using the Pcam 5MP and wirelessly transmit them via the Pmod WiFi to my laptop. I am using the Zybo Z7-20, Vivado 2017.4 and the Digilent vivado library from the master branch. My goal is to make a TCP server on my laptop and create a TCP client using the Pmod WiFi. In order to familiarize myself with the Pmod I have successfully implemented the following examples: HTTPServer and TCPEchoServer. In the TCPEchoServer example I have created a TCP client on my laptop using Python and I was able to send and receive simple messages like "Hello World", which were displayed in the serial terminal and echoed back to the TCP Client. I believe this shows that both HDL design and SDK project were correctly built. The SDK application is targeted to C++ and I do not have any compilation errors, just a few warnings. The HDL design is identical to the one in this post: https://forum.digilentinc.com/topic/17224-pmod-wifi-sdk-problem/?do=findComment&comment=52875 However, I could not run the TCPEchoClient C++ example. In this case I used Python to create a TCP Server on my laptop and I tried to connect the Pmod TCP Client to this server. Every time I run the example the serial terminal outputs the following: Serial Terminal Output This demonstrates that the Pmod WiFi is able to connect to my WiFi network, but it cannot establish a connection with the TCP Server. The "state" does change to "TCPCONNECT" but the application gets stuck in the TCPCONNECT case, because the if statement " if (deIPcK.tcpConnect(szIPServer, portServer, tcpSocket)) " never becomes true. The szIPServer and portServer variables were set according to the DHCP IP allocation obtained from my WiFi router as seen in the screenshot below. const char *szIPServer = "192.168.1.154"; uint16_t portServer = DEIPcK::iPersonalPorts44 + 300; // Port 44300 Where DESKTOP is my laptop and Unknown is the Pmod WiFi. Parameters which match the IP:port values were set in my Python script for the TCP server, which can also be found attached here. Initially I thought that there might be an issue with the TCP Server, but I have downloaded a TCP Client app on my phone and using this I was able to send and receive messages from my phone to my laptop. Therefore, my laptop does not seem to block any inbound TCP connections. I have also used a TCP Server app on my phone and modified the szIPServer and portServer variables in SDK to match the new setup. Once again, I was unable to establish a connection between the Pmod WiFi TCP Client and the TCP server on my phone. Is the TCPEchoClient example only meant to work with the TCPEchoServer example? I cannot test this as I only have one Pmod WiFi. I would really appreciate any help with this issue. Please let me know if I forgot to include other vital information about my setup. Kind regards, Daniel EDIT: I have added a few print statements in the "DEIPcK.cpp" file, more exactly inside of the switch(tcpSocket._classState) of the tcpConnect() function. These print statements show that my application cannot leave the ipsInUseW case. I have found that this case means " // we are in use, may not be establised, but just waiting to be established" but I am not exactly sure how to proceed from this point as I do not really understand what is happening. It also appears that the state of the TCP socket is always equal to 11 (tcpSynSent) which was obtaiend from "pSocket->tcpState". EDIT2: I have also managed to connect my Pmod TCP client to google's server as done by the user in this post: https://forum.digilentinc.com/topic/19611-pmod-wifi-sdk-issues/?do=findComment&comment=53905. It seems like we both have the same issue where we cannot use the TCP Client to connect to our local servers. TCP_Server.py main.cc
  2. So I have the artyz7-20 and I want to send data via ethernet using the lwip library to another board (zc706). How do I go about doing this? I have successfully tested the 'echo server' example on both boards. Can any one guide me in the right direction? Any help is appreciated.
  3. 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.
  4. 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!
  5. 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
  6. MRZ

    Pmod wifi (wifi throughput)

    Hi everyone, Can you please let me know the wifi throughput of pmod wifi device? If anyone have tested it then please share your experience. Thanks.