How to disable WWDT while debugging in LPC55

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

How to disable WWDT while debugging in LPC55

1,047 次查看
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 项奖励
回复
1 回复

1,038 次查看
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 项奖励
回复