cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet doesn't work reliable at STM32H743 together with uIP-Stack (HTTP-Trafic)

Wlad777
Associate II

Hello, 

my problem, that uIP-Stack has TCP-Retransmissions with HTTP-trafic. That was observed with Wireshark. The same uIP-Stack works at STM32F7 properly. I'm not sure about Settings in CubeMX with Descriptor Address and Size. My settings are like follows:

Screenshot 2024-09-18 075442.png

 

Screenshot 2024-09-18 075342.png

 

with this setting I have followed Error inside uVision5 (compiler version 5):

Spoiler
Error: L6984E: AT section main.o(.ARM.__AT_0x2400060F) has required base address 0x2400060f which is not aligned to section alignment 0x00000004.

Could someone explain how to set Descriptors inside CubeMX properly and get Ethernet work reliable for HTTP trafic?

12 REPLIES 12

To my calculation it (32 bytes) is exactly for TX descriptor. For RX can be tooken 24 bytes. With these settings it is working too.

Thanks again for your response.

For closing this chat my remain one question about buffer size of recived data. Is it simply this:

(&heth)->RxDescList.RxDataLength

Again, the buffers better should be aligned on cache line size and size of each buffer multiple of the cache line size. 1536 is a good number.