UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer shakeelsultan
Observer
143 Views
Registered: ‎07-01-2008

DMA and UDP transmission issue

I am writing streaming data to PS DDR using DMA and from there I intend to send it over ethernet using udp. Both applications are running fine independantly - but when I combine these two either software hangs or I get udp transmission error code -1.

My flow is somethinglike this:

In main()

I am doing DMA_Transfer() and then in its ISR I send data using udpsendto() and things went out of control.

Is this happening due to interrupts or what and any help is most welcome.

0 Kudos
2 Replies
Moderator
Moderator
110 Views
Registered: ‎07-31-2012

Re: DMA and UDP transmission issue

Hi @shakeelsultan,

 

Is the interrupt in your application serviced successfully?

Could you monitor the ISR registers to status check? Later is it udpsendto() function executed?

You may want to step-into your code and debug to check where exactly in code it is going wrong.

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer shakeelsultan
Observer
70 Views
Registered: ‎07-01-2008

Re: DMA and UDP transmission issue

well, what I have sorted out so far is that this issue is happening due to multiple interrupt sources in the system.

I am setting up interrupt against PL DMA as well as Timer for (UDP).

Can you help me setting up both of these simultaneously?

0 Kudos