7 years, 7 months ago.

LwIP receive problem

I have a problem with LwIP stack over Ethernet interface.

I'm using STM32F407 MCU, DP83848 PHY, mbed-rtos and GNU Tools for ARM Embedded Processors 4.9.3 20150529. I compile and run some examples from handbook (https://developer.mbed.org/handbook/Socket). For all examples (server and client) the transmission of packets works correctly, but receive function allways returns -1.

I already had problem with LwIP. It was resolved by calculating crc by hardware (ST implementation).

I have attached to the letter lwipopts.h file. /media/uploads/chuyec/lwipopts.h

What could cause the problem?

Be the first to answer this question.