Bare metal ethernet / lwip
Posted: Fri Oct 21, 2022 7:44 am
Hi,
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!
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!