2312621_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2312621_en-US

2312621_en-US

Question about LWIP & Freertos based on S32K566

Hello Team


May I ask about LWIP with Freertos based on K5?


When I use Baremetal with LWIP, it is working well.

However, Freertos with LWIP, it is showing like below. I have attached Wireshark log also.

Luke_Chun_1-1770275834758.pngLuke_Chun_2-1770275838762.png


Luke_Chun_3-1770275884502.png



The below is my IDE information and it is showing same result both DS and DP cases with freertos.

Luke_Chun_0-1770275794904.png




Could you check this case?


Thank you. 

RTOSSource: Direct CustomerSource: NXP InternalTCPIP_STACKRe: Question about LWIP & Freertos based on S32K566

Hi @Luke_Chun ,

We will raise an internal ticket to investigate this issue and come back with feedback when we have.


BR,

Liviu

Re: Question about LWIP & Freertos based on S32K566

Hi @Luke_Chun ,

We are starting investigating this today, I will provide an update when available.


BR

Liviu

Re: Question about LWIP & Freertos based on S32K566

Hello @lyxye 


May I ask about the progress?


Thank you. 

Re: Question about LWIP & Freertos based on S32K566

Hello @lyxye 


Thanks for your supporting. 


When I did the test, I saw some abnormal behavior with PBUF...

I'm not sure, but could this be related?

2026-02-26 153752.jpg


Thank you.

Re: Question about LWIP & Freertos based on S32K566

hi Luke_Chun,


We discovered that TX buffers leaked due to race condition between TX thread and ISR in FreeRTOS

Solution: Wrapped EthIf_Transmit() with sys_arch_protect/unprotect to prevent preemption

A patch will be provided in an upcoming release. You can use the following workaround in the meantime.

workaround.png


Best Regards,

HoaTQ

标记 (1)
无评分
版本历史
最后更新:
‎03-04-2026 03:30 AM
更新人: