• 0
Sign in to follow this  
princy

Data transfer via network port on zedboard

Question

Hello,

I have completed cyclic DMA in scatter gather mode. In that data goes from PL to DDR of PS so now i want to transfer from DDR to network port continuously.

when dma is transferring data in first buffer simultaneously data from second buffer have to send on network port and so on.

 thanking you,

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

@princy,

I'm not sure I understand you very well.  Transferring to a network port "continuously" doesn't seem to make much sense to me.  Networks run on packets, not continuous data transmission.  Prior to sending each packet, the network hardware must first guarantee that the network is idle.  Then, when it sends, each packet sent must have an Ethernet header and trailer.  If you wish to use internet protocols, you'll also need an IP headerTCP requires additional header data, to include a checksum taken from over the entire packet.  UDP, which you might find simpler for your application, also requires additional header information beyond the IP header. 

Normally, all of this processing is handled by a "network stack" (a reference to some packet processing software) contained within the CPU, not a hardware DMA type of action.

Given all of the above ... how were you hoping to transmit continuously?

Dan

Share this post


Link to post
Share on other sites
  • 0

@princy,

I am not the ZedBoard expert, but ... do you have a plan or any constraints on how you might wish to do this?  Will you be using the PS to do this?  Will you be running Linux or another POSIX friendly O/S on the PS?

Dan

Share this post


Link to post
Share on other sites
  • 0

hello

Yes i am using PS for doing this and i have POSIX support on linux just i want the interface of DDR to ethernet port.

and i am planning to create two thread which can run simultaneously with shared memory and in one I will write the data into DDR and other will read the data from that and at the same time writing process is going on on another allocated buffer on DDR and so on.

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