cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
379 Views
Registered: ‎11-05-2014

PS ETH0 vs ETH1

I have PS ETH0 working.  It is responding to pings with the FreeRTOS TCP stack.

When I switch to PS ETH1, it doesn't work.  I just change these references:

  • XPAR_PS7_ETHERNET_0_BASEADDR to XPAR_PS7_ETHERNET_1_BASEADDR
  • XPAR_PS7_ETHERNET_0_DEVICE_ID to XPAR_PS7_ETHERNET_1_DEVICE_ID
  • EMAC interrupt 0x36 to 0x4D

Is there anything else I need to do?  ETH is using the GMII-to-RGMII IP in the PL.  How/where does the emacps driver configure that IP when ETH1 is used vs ETH0?

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
344 Views
Registered: ‎08-25-2009

Hi @ewong3 ,

Can you please provide more info regarding your setup? Do both GEM0 and GEM1 connect to GMII2RGMII on PL and connect to an external RGMII PHY?

Is this the FreeRTOS LWIP example desgin from SDK that you use for testing? Where is it stuck when you say it's not working for GEM1?

 

"Don't forget to reply, kudo and accept as solution."
Highlighted
Adventurer
Adventurer
319 Views
Registered: ‎11-05-2014

GEM0 connects to the external PHY directly.

GEM1 connects to GMII2RGMII in PL then connects to external PHY

I'm not using the LWIP examples.  I'm using the FreeRTOS TCP stack: https://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/index.html

It is not stuck anywhere that I can tell.  The software is running, but I don't get any data when using ETH1.  To switch to ETH1, I made the above mentioned reference changes.  Does the emacps driver take care of extra configuration when using GMII2RGMII IP?

 

 

0 Kudos
Highlighted
Moderator
Moderator
286 Views
Registered: ‎08-25-2009

Hi @ewong3 ,

Yes, emacps is supporting GMII2RGMII with GEM. Please can you test freeRTOS LWIP example design delivered with SDK to check how that works first?

When you say you don't get any data, does it mean that you cannot ping at all? 

 

"Don't forget to reply, kudo and accept as solution."