Page 1 of 1

Bare metal ethernet / lwip

Posted: Fri Oct 21, 2022 7:44 am
by sgrad

I am currently trying to get the ethernet connection running on the bare metal ZYNQ with lwip211 (Vivado 2022.1).

However I am seeing strange behavior. Most of the time the ethernet link can not be established in full and gets reset/set constantly. Strange thing is: when I set a breakpoint after initializing lwip and pause execution for a few seconds and resume afterwards, the link can be established.

I also had to set the link speed to permanent 1000Mbit as auto negotiation with the PHY was not possible (stuck infinitely).

Did anyone get ethernet running on bare metal ZYNQ? Any pitfalls to watch out for? What settings did you use for lwip?

Thanks a lot!

Re: Bare metal ethernet / lwip

Posted: Wed Mar 01, 2023 10:47 am
by estebangc43
Same issue! does anyone ever get it working with LWIP baremetal? I guess the issue comes from redpitaya PHY since I had already work with LWIP and ZYNQ several times (PHY MARVELL, realteck and TI) without any problem.
Thanks a lot!