This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
we have a working port of LwIP 2.0.3 bare metal on the LS3137 and everything is working great.
We recently move to the LC4357 and tried for a while to port everything to this CPU. We made sure that the swizzle is properly implemented. Still doesn't work.
I went back to the example LwIP 00.003.00 provided by TI and compiled it on the dev kit of the LC4357, as is. Testing shows that pinging it with packets of 1450 bytes is working great. If the rx buffer (define MAX_RX_PBUF_ALLOC) is set to 20, we see that multiple packets are being dropped within a minute of testing. Nothing else has been changed from the reference code.
I looked at the usage of the define MAX_RX_PBUF_ALLOC and the limitation of the register the associated register (RXnFREEBUF) and didn't find a reason being this behaviour.
I also tried to implement the patch found at https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/678879 (although we are not using directly the Emac driver from Halcogen), but this didn't change the behaviour.
Does somebody have seen this behaviour before and if a workaround exists?
Thank you
Best regards,
Frederic.