debugging in Low Leakage Stop mode kinetis L

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

debugging in Low Leakage Stop mode kinetis L

1,049 次查看
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.

标签 (1)
0 项奖励
回复
3 回复数

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

665 次查看
stefanomanca
Contributor III

Hi Jorge, not yet. I keep pending.

Thank you.

0 项奖励
回复

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