Handling lwIP Thread Recovery: Alternatives to Watchdog Reset on LPC54608J512 with lwIP 2.0.0

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

Handling lwIP Thread Recovery: Alternatives to Watchdog Reset on LPC54608J512 with lwIP 2.0.0

646 次查看
dshettig
Contributor II

I am using the LPC54608J512 microcontroller with MCUExpresso IDE version 11.7.1 and SDK version 2.13.0. My application is based on lwIP version 2.0.0.

In my application, there's a code snippet with the following comment:

'Alas, lwIP is not designed to be restarted at runtime. Thus, the only way to revive the thread is by performing a watchdog reset.'

This approach triggers a watchdog reset whenever the lwIP thread encounters an unrecoverable issue. I would like to know:

  1. Is there a way to soft-restart the lwIP thread only, without affecting the rest of the system?
  2. Does a newer version of lwIP handle such situations more gracefully, or provide better mechanisms for thread recovery?
标签 (1)
0 项奖励
回复
1 回复

624 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @dshettig,

1. This is not possible. This is why the Watchdog is required as the previous comment mentioned.

2. No, this is the appropriate method to restart lwIP as this middleware is not designed to be restarted at runtime.

BR,
Edwin.

0 项奖励
回复