Hi, is it possible to debug while I enter in Low Leakage Stop mode using codewarrior and P&E multilink universal?
At the moment when I excute asm("WFI"), the debugger disconnects.
Any idea?
Thank you.
Stefano M.
Hello Stefano:
I see you have no response yet. Have you discovered anything new?
I will run some tests from my side with a Kinetis L MCU and a Multilink Universal and I will let you know what I can find.
Regards!
Jorge Gonzalez
Hi Jorge, not yet. I keep pending.
Thank you.
Hi Stefano:
Sorry for the delay. I confirmed what you mentioned and my comment in your other thread, the debugger loses connection when entering any of the low leakage modes, but you can set a wake up source (e.g, an external pin) and indicate the debugger to reconnect. This is made from the connection settings. Just go to Run -> Debug Configurations -> (Select your connection here) -> Edit -> Advanced. In here select the option "Try to reconnect".
Also, as an extra hint, if you step over the WFI instruction, the low power mode will not be triggered.
Hope this is still useful.
Regards!
Jorge Gonzalez