Hi,
I build and use this example project:
\mcuxsdk\examples\lwip_examples\lwip_ping_enet_qos
with this dev. board:
\mcuxsdk\examples\_boards\frdmmcxe31b
and it works good, I can connect the dev board to a Raspberry Pi 4 and ping the dev board.
I got a custom board with the same MCX microcontroller but with a DP8384 PHY controller instead of a LAN8741 that is used on the frdmmcxe31b board. I have ported the example project to this board and the board send ping to the Raspberry but it doesn't send reply on ARP requests sent from the Raspberry. I have debugged and can see that the microcontroller receives the ARP request and try to send a reply with this function:
status_t ENET_QOS_SendFrame
in this file:
\mcuxsdk\drivers\enet_qos\fsl_enet_qos.c
You can see the call stack in call_stack.png.
But no package is sent and I get no errors. I run tcpdump on the Raspberry.
Here is the .pcap file:
disco__test14.zip
where can be seen that packet 18 is the ARP request from the Raspberry.
I've compared the .config files from the dev project and the custom board project and they are almost identical except the
CONFIG_MCUX_COMPONENT_component.phydp8384x=y
and
CONFIG_MCUX_COMPONENT_component.phylan8741=y
In config.zip you find both .config files.
My question is if there are any more adaptations that need to be done? Is it the DP8384 that blocks the ARP reply?
Kind regards,
Jonas