Hi,
I have own board design based on EVK-MIMXRT1060. When transferring large data over TCP/IP in direction from my PC to IMXRT board, it very often ends in this assertion and then restart on watchdog.
LWIP_ASSERT("Buffer returned by ENET_GetRxFrame() doesn't match any RX buffer descriptor",((idx >= 0) && (idx < ENET_RXBUFF_NUM)));
I am currently using SDK 2.11.0 but I noticed that in changelog for SDK 2.13.0 is this bugfix:
port: Fixed copying of pbuf contents. Previous code was using an incorrect end
condition and could result in the overrun of the destination buffer if more packets were
on the queue.
It is possible that this can fix mine bug. But migration between SDK versions is so hard with NXP.
I prefer to stay with old SDK and just fix this bug.
Can you provide short bugfix of this overrun for SDK 2.11.0 ?