debugging in Low Leakage Stop mode kinetis L

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

debugging in Low Leakage Stop mode kinetis L

1,048 Views
stefanomanca
Contributor III

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.

Labels (1)
0 Kudos
Reply
3 Replies

664 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

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

0 Kudos
Reply

664 Views
stefanomanca
Contributor III

Hi Jorge, not yet. I keep pending.

Thank you.

0 Kudos
Reply

664 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

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".

Reconnect.png

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

0 Kudos
Reply