I would like to debug the demo: frdmkw36_demo_apps_power_manager. My configure is LLS3 mode, the wake up source is button, and I set a breakpoint at "PRINTF("\r\nNext loop\r\n");". However when I press the button, nothing happens.If I exit the debug mode, it works correctly. How could I debug frdmkw36_demo_apps_power_manager?
Solved! Go to Solution.
Hi Mo Xinyu, I hope you're doing well!
Debug in Low Power modes works differently from regular low power operation, as some modules and sections of the MCU are powered off during this mode of operation, depending on which power mode is being currently used.
The debugger will lose communication with the system while it's in LLSx modes, so breakpoints and other debug components do not work the same way as in regular operation modes.
For further information about low-power mode debug, could you please check chapter 10.6 of the KW36's Reference Manual, which can be found here?
Please let me know if you need more information.
Best regards,
Sebastian
Hi Mo Xinyu, I hope you're doing well!
Debug in Low Power modes works differently from regular low power operation, as some modules and sections of the MCU are powered off during this mode of operation, depending on which power mode is being currently used.
The debugger will lose communication with the system while it's in LLSx modes, so breakpoints and other debug components do not work the same way as in regular operation modes.
For further information about low-power mode debug, could you please check chapter 10.6 of the KW36's Reference Manual, which can be found here?
Please let me know if you need more information.
Best regards,
Sebastian