How to disable WWDT while debugging in LPC55

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to disable WWDT while debugging in LPC55

1,228件の閲覧回数
jimmyli
Contributor V

Hi,

      When our customer selected LPC550x MCU to develop, they found the wwdt will reset the mcu while debugging and the SWD doesn't work.

      Also, I find wwdt supporting debug mode, but can't find any way to disable wwdt while debugging.

     Can you help to check it?

     Thanks very much.

 

----below is a example to disable wwdt while debugging for ST mcu

STM32在DEBUG调试模式下禁止看门狗IWDG WWDG_梓默的博客-CSDN博客_stm32 关闭看门狗

0 件の賞賛
返信
1 返信

1,219件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that you can disable WWDT when you develop/debug your application code with the code

SYSCON->AHBCLKCTRLX[0]|=1<<22;

WWDT->MOD&=~(0x01); //disable WWDT by clearing the WDEN bit in MOD reg

xiangjun_rong_0-1669950302880.png

 

Hope it can help you

BR

XiangJunRong

 

0 件の賞賛
返信