Author Topic: Standalone Ethernet using TE0720  (Read 274 times)

hossam84

  • Active Member
  • *
  • Posts: 4
Standalone Ethernet using TE0720
« on: March 11, 2019, 03:22:56 AM »
Hello,

I am trying to use standalone Ethernet using TE0720 Module and TE0701-06 base board. I am using the test board example and using SDK I am trying to run echo server example. I have done this with ZYBO board and it is working fine. However, when I tried the same with the TE0720 module I failed. I searched a lot on google to find any getting started example with TE0720 module or even anything related to Ethernet but I couldn't find anything. When I run the echo server example using the TE0720 module it is always stop at the point shown in the attached snapshot.

Could you please tell me why this happen? Is there any special configuration to enable standalone Ethernet using TE0720 Module?

Thanks in advance,
H.H

JH

  • Hero Member
  • *****
  • Posts: 839
Re: Standalone Ethernet using TE0720
« Reply #1 on: March 11, 2019, 08:35:19 AM »
Hello,
does the example design with Linux works (prebuilt boot.bin and imag.ub inlcuded)?
Did you use our special FSBL which also resets ETH?

From your sceenshot, it seems MDIO works (one time 100 instead of 1000, but it seems that it communicate over MDIO) maybe something is with data lane, please try out the reference design at first.


br
John

hossam84

  • Active Member
  • *
  • Posts: 4
Re: Standalone Ethernet using TE0720
« Reply #2 on: March 12, 2019, 01:37:26 AM »
Thanks a lot for your prompt reply.

Actually, I am trying standalone example without Linux or FSBL. The standalone example works with the board, however, it took long time to start the communication.
Does it work this way or there is something wrong?

When I waited for more than 5 minutes I noticed that it is connected and I can proceed with the example.


JH

  • Hero Member
  • *****
  • Posts: 839
Re: Standalone Ethernet using TE0720
« Reply #3 on: March 12, 2019, 11:44:57 AM »
Hi,
I think 5 min is to long, you has the same delay on your ZYBO board? If yes, maybe you has some problem with your router or network?
I never tried out the Xilinx barmetal app so I can't help much with this.

Without FSBL is not really possible. I think you used SDK to program SoC? If yes, SDK use init script generated from your HDF export. This is a script variant of the Xilinx default FSBL to initilise the PS.

So please try one time the Boot.bin and image.ub (included into the prebuilt folder of the download) from the reference design. It use also DHCP to get a IP. Do you have the same delay there?

br
John

hossam84

  • Active Member
  • *
  • Posts: 4
Re: Standalone Ethernet using TE0720
« Reply #4 on: March 13, 2019, 01:08:32 AM »
I didn't have this issue with my ZYBO board.
But for TE0720, when I disable DHCP from the lwip, it works fine.

I really appreciate your response.

Thanks,
H. H

JH

  • Hero Member
  • *****
  • Posts: 839
Re: Standalone Ethernet using TE0720
« Reply #5 on: March 13, 2019, 02:53:39 PM »
Hi,
can you try out one time what's happens when you use our linux prebuilt? Needs DHCP also longer to get IP?
br
John

hossam84

  • Active Member
  • *
  • Posts: 4
Re: Standalone Ethernet using TE0720
« Reply #6 on: March 14, 2019, 12:46:49 AM »
Currently, I am working with standalone Ethernet. In the next plan I will use FreeRTOS and Linux. Later I will update this post based on what I will observe.

I appreciate your collaboration.

Thanks,
H. H

Antti Lukats

  • Sr. Member
  • ****
  • Posts: 494
    • Trioflex
Re: Standalone Ethernet using TE0720
« Reply #7 on: April 01, 2019, 09:54:27 AM »
Hi,

we really do recomend to use Linux if ethernet is involved. For any attempts to use network in baremetal we can not provide much help.

br
Antti Lukats