Cannot enter debug mode after entered power down mode

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

Cannot enter debug mode after entered power down mode

1,203 次查看
leechen
Contributor III

As soon as I entered power down mode without any method of waking the board up, I cannot enter the debug more anymore. How can I solve this?

my code as follow:


int main(void)
{
  SystemCoreClockUpdate();
  Board_Init();
  SysTick_Config(SystemCoreClock / TICKRATE_HZ);
  ProcessPowerState(PMU_MCU_POWER_DOWN);

}

标记 (2)
4 回复数

1,039 次查看
shaheenshamshad
Contributor III

Hello Victor,

I tried the given solutions in the above link but none worked for me.

I am using LPC54618 MCU and LPCXpresso IDE.

Is there some other way to come out of this problem?

regards,

SS

0 项奖励
回复

1,039 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Lee Chen, 

Did  you put your MCU in ISP mode following the steps mentioned in the community post I put before? Once you are in ISP mode you should be able to launch the debug session without any problem. 

Also, I recommend you to use MCUXpresso IDE since in our newest IDE instead of LPCXpresso.  

Link to MCUXpresso IDE

Regards, 

Victor.

1,039 次查看
shaheenshamshad
Contributor III

Hello Victor,

Yes it worked.

LPC54618 has three ISP pins so I connect it to GND and followed the instruction mentioned in this https://community.nxp.com/thread/389112 .

Thank you.

regards,

SS

1,039 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Lee Chen, 

Please refer the following community post: Regaining debug access to target MCU 

You need to recover the debug access to the MCU. That community post explains how to do this. 

Hope it helps! 

Victor.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复