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: 
Highlighted
Observer saurabhnair
Observer
3,525 Views
Registered: ‎11-12-2013

zc702 ethernet example

Xilinx provides the example for ethernet named "xemacps_example_intr_dma.c"

 

I tried to run this program using the "Run on Hardware" option in SDK. The only change I made was change the MAC address it sets to the MAC address of my laptop. I connected the board with laptop using crossover cable. Yet when I tried to debug, I found that the code hangs at, "waiting for the transmission to complete". Am I doing something wrong, or is anything more needed to be done.

 

Awaiting your suggestions

 

Thanks

 

Saurabh

Tags (2)
0 Kudos
1 Reply
Observer saurabhnair
Observer
3,511 Views
Registered: ‎11-12-2013

Re: zc702 ethernet example

On debugging the example code, I found that after executing the function "XEmacPs_Transmit", the code enters the "Xil_ExceptionNullHandler". I had checked the code, and found that the handlers have been set for send, receive and error. Any ideas as to why the code is enterng the NullHandler, instead of SendHandler?

 

Awaiting any suggestions.

 

Thanks

 

Saurabh

0 Kudos