How to disable WWDT while debugging in LPC55
12-01-2022
05:38 PM
777 Views
jimmyli
Contributor IV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
12-01-2022
08:05 PM
768 Views


NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Hope it can help you
BR
XiangJunRong
