Author Topic: simple LWIP ethernet using TEBF08008 and TE0808 not working  (Read 1057 times)

hossam84

  • Active Member
  • *
  • Posts: 40
simple LWIP ethernet using TEBF08008 and TE0808 not working
« on: December 16, 2019, 02:43:35 AM »
Hello,

I was trying to test the lwip using SFP port using TEBF08008 and TE0808 but I failed somehow. So, I made a step back to test the lwip with the On-board Gigabit Ethernet PHY (U12) connected to Marvell Alaska 88E1512 IC.
Using this scenario, I also couldn't make a connection and I get the attached screenshot.
At the PC side I cannot connect at all.


For me I tested and develop many ethernet based LWIP applications using ZYNQ on TE0720-03-1CR and TE0715-04 and TE0701-06 base board and it is working perfectly at 1Gbps.


I don't understand why simple lwip example doesn't work with the TE0808 ZYNQ ultrascale.

I appreciate any help regarding this.

Thanks in advance.
H. H.



hossam84

  • Active Member
  • *
  • Posts: 40
Re: simple LWIP ethernet using TEBF08008 and TE0808 not working
« Reply #1 on: December 16, 2019, 05:08:07 AM »
Is there anyone tested the lwip with the Ultrascale using TE0808?
« Last Edit: December 16, 2019, 05:10:55 AM by hossam84 »

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
Re: simple LWIP ethernet using TEBF08008 and TE0808 not working
« Reply #2 on: December 16, 2019, 08:18:34 AM »
Hi,
we test ETH only with linux, it's much easier and works mostly out of the box.

Xilinx baremetal apps for eth works seldom out of the box.

At first check with our reference design (Boot.bin and image.ub are included in the prebuilt folder), if ETH works and that you has no other problem.
If this works, check at first MDIO access to PHY (maybe you use wrong PHY address?).
br
John


hossam84

  • Active Member
  • *
  • Posts: 40
Re: simple LWIP ethernet using TEBF08008 and TE0808 not working
« Reply #3 on: December 16, 2019, 10:10:25 AM »
Hi John,

I am trying now with linux. I added the two files (Boot.bin and image.ub are included in the prebuilt folder).
The initialization is done OK.

Now I want to connect my PC to the TE0808 through Ethernet, what is the IP and port used in the linux configurations?

Thanks,
H. H.

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
Re: simple LWIP ethernet using TEBF08008 and TE0808 not working
« Reply #4 on: December 16, 2019, 10:39:40 AM »
Hi,
is not set. You can connect to your network and use "udhcpc" so your router will give you a ip:
https://wiki.trenz-electronic.de/display/PD/TE0808+StarterKit#TE0808StarterKit-Linux
Or set it manually --> "ifconfig"
br
John


hossam84

  • Active Member
  • *
  • Posts: 40
Re: simple LWIP ethernet using TEBF08008 and TE0808 not working
« Reply #5 on: December 18, 2019, 03:03:40 AM »
Hello John,

I could succeed the ethernet test using linux and standalone application. But now I am going again to test the SFP port with the ethernet based on lwip.
Still I don't know why it is not working. I will continue the discussion on the SFP post.
I really appreciate any help.

Thanks,
Hossam