01-28-2010 07:35 AM
I'm trying to execute the EchoServer example but as soon as the first packet arrives I get "Temac error interrupt: Rx packet rejected" in the log. This causes my program to stop executing. I'm unable to ping the device or connect to the port.
So: The program initializes everything perfectly (I've made sure) and no error occurs, the program also starts executing (the while(1) loop starts) but as soon as the first packet arrives execution stops with "Temac error interrupt: Rx packet rejected".
I've used Wireshark to sniff the ethernet traffic and the FX12 never sends anything on the ethernet connection.
I'm using the Eclipse Xilinx Software Development Kit v11.3 and a "FX12" hardware. The FX12 is connected to the local network using a switch. I've tried different settings 10Mbit/s, 100Mbit/s, 1Gb/s but that doesn't help.
01-28-2010 09:50 AM
What is the "FX12" hardware? When lwIP starts up, it sends out a "gratuitous ARP". The fact that you are neither sending nor receiving packets implies that there is an issue between the TEMAC & the PHY.
You should start out with the Testapp_peripheral program and see if the TEMAC loopback tests pass. Once they pass, then see if you can modify it to not loopback, but just send the packet outside and then see if you receive it in Wireshark. This setup should be a lot simpler to work with and resolve issues than starting out with lwIP..
01-29-2010 02:08 AM
Thanks for your reply, Vsiva!
Yeah, I guess it's obvious I'm not the Xilinx expert here :) I was told that we had a "FX12" hardware.
Two questions then:
1. What could be the reason for the problem between the TEMAC and PHY?
2. How do I get hold of Testapp_peripheral program and how do I go about compiling/running it?
Thanks in advance!
01-29-2010 08:29 AM
The FX12 probably just means the Virtex4 FX12 FPGA. I was curious if it was a Xilinx development board or a custom board. You are more likely to see issues if you are using a custom board.
To run the test app peripheral, just go to file -> new c project in SDK and select the Test Peripherals application template.
02-01-2010 04:10 AM
02-01-2010 06:37 AM
"Temac error interrupt: Rx packet rejected" this error occurs because of following observations
i) Memory leak in code
ii) If a board is connected to LAN, and many of the multicast packets floating around.
The possible solutions can be
increase heap and stack size in linker script file.
To remove print statement in the lwip TEMAC error handler code (xlltemacif_hw.c).
Hope this information works for you!!!
04-01-2010 04:32 AM
Can you Help.. me like..
How you Made the Changes to 10 / 100 / 1000mbps.. in Spartan 3a.. Trimode Mac Temac Configurations?..
Im Stuck.. In that point and trying to Connect the Interface By Controlling the Speed to 100mpbs.. with Half Duplex..
04-02-2010 05:27 PM
Your question is not clear. But I think this is what you want:
in XPS -> software -> software platform settings -> OS and Lib configurations -> lwip130 -> temac_adaptor_options -> phy_link_speed
You can also change that insoftware program. Take a look at XAPP1041.
07-08-2010 04:10 AM
I am having problems porting xapp 1041 on the spartan 6 sp605 evaluation board, to run the ethernet performance tests for the temac.would be of great help to me if u cud pls provide me the files pertaining to xapp 1041 with respect to sp605, as i tried working around a lot with the test applications generated but to no result..