[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to use LWIP from FreeRTOS tasks - a thread safety q

From: Jeffrey A. Wormsley
Subject: Re: [lwip-users] How to use LWIP from FreeRTOS tasks - a thread safety question
Date: Tue, 12 Jul 2022 13:50:21 -0400

No real help here, but that CMSIS layer is intended to let you write your application to one API, then port it to multiple RTOSes or even full desktop/server OSes, presumably without changes.  And digging through that code is always (read "never") fun.


On Tue, Jul 12, 2022 at 12:18 PM Peter <peter@peter2000.co.uk> wrote:

>Hi Peter - Can you start at the beginning?
>Has this ever worked, or for 2 years it always crashed if you used LWIP?
>What exactly "crashes the whole thing"?
>You're aware of the numerous issues surrounding STM-provided Ethernet
>Hope this helps,
>Best Regards, Dave

I have spent more time on that LWIP_TCPIP_CORE_LOCKING=1 issue.
Tracing through the code, it does appear that eventually LWIP does end
up using FreeRTOS mutexes.

It breaks something else however, and I can't easily trace it because
DHCP fails to work, and one can't really trace that because taking a
breakpoint causes timeouts etc. Also that code is too convoluted for
me to understand :)

I have been trying to find advice around the place and this post
summarises my latest findings on this


lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]