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

666件の閲覧回数
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 返信

644件の閲覧回数
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 件の賞賛
返信