MKL17 bricks leaving while(1) empty and entering low power mode

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

MKL17 bricks leaving while(1) empty and entering low power mode

757 次查看
TomTamTom
Contributor I

I was testing sensor data handling code (just moving data from one array to other and totally not associated with the main issue), so I commented out whole while(1) loop and turned off LPTMR. After entering debug and terminating debug session I was not able to enter it again. Every time I'm trying to enter debug session I getting an error [No connection could be made because the target is actively refused it]. 
While(1) is empty and consists only with low power mode -> SMC_SetPowerModeVlps(SMC);
Could it be the case that processor bricks (I am not able to program, debug or erase program) after entering low power mode, and not using any wake up routine as LPTMR or LLWU?

0 项奖励
回复
1 回复

730 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello TomTamTom,

It seems that you are entering VLPS while debugging, which would send the system to stop mode. Please see section 9.6 (Debug in low-power modes) from the KL17 Reference Manual as it could be that the power mode transition is causing this symptoms.

I hope that this information helps.

Regards,
Gustavo

0 项奖励
回复