How to disable WWDT while debugging in LPC55

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to disable WWDT while debugging in LPC55

412 Views
jimmyli
Contributor IV

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 Kudos
1 Reply

403 Views
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 Kudos