04-23-2019 04:06 AM
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:
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.
04-25-2019 01:34 AM
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.
05-05-2019 11:46 PM
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?