cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753 Ethernet using FreeRTOS and lwIP - continued...

Archie
Associate II

Greetings,

trying to get a setup with stm32h753 running FreeRTOS and LwIP. One attempt in this journey was to take the example: How to create project for STM32H7 with Ethernet an... - STMicroelectronics Community

Using the example code, I see one issue with the core lock - if the breakpoint in ethernetif.c line 987 is enabled I see the code suspends in places one would not expect it to suspend such as:

 

Archie_0-1700735191291.png

If I disable the breakpoint, ping works ok.

However even with this example the code quite often (if not always) gets stuck to Ethernet output, it seems that a packet comes down to ethernet low_level_output function, but never gets out to the cable. Suspecting it is a DMA issue, but had no luck locating the issue yet. Any ideas?

Thanks!

11 REPLIES 11
Pavel A.
Evangelist III

There is no point in poking random features and doing other voodoo magic before the lower layers of code are fixed

Of course you're right. But these examples at least allow to verify PHY, clocks etc. and put some bits on the wire.

My point was about this:


In the meantime I have found out that, if the http headers for the http server are static then the files with static headers go through the stack and thus are received correctly. However for files that use dynamic http headers never leave the device.