• 0
Sign in to follow this  
Troy

Communicating with Zybo via Ethernet

Question

Hi, I'm using the Zybo as a peripheral to emulate a power supply and need it to communicate with pc. I'm using ethernet to communicate back and forth and was wondering if lwIP was that best way to go about this. Any input is appreciated.

Thanks,

Troy

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi Troy,

I have asked some of applications engineers about this to see if they have any insight. (I haven't heard back from them yet on the IwIP project for the Zybo since the person I talked to wasn't aware of one specifically for the Zybo so they needed to find out some more information).

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

Hello Troy,

It depends what is the nature of the data you are transferring. The Zynq Ethernet MAC works with Ethernet packets. If you are using point-to-point connection with the PC, Ethernet packets might be enough. You only need to make sure that the correct MAC address is used when sending and receiving the packets. If you want higher protocol-level support, you need IP. On top of IP you choose TCP, if you need guaranteed packet delivery, or UDP, if not. Both TCP/UDP and IP are implemented by lwIP. On top of that you either implement your own application protocol, or choose an existing one: TFTP if file transfer is that you are after, or SMTP if you want to send e-mails and so on. I believe none are implemented by lwIP, but there are open-source examples all over the Web.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this