Cannot enter debug mode after entered power down mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot enter debug mode after entered power down mode

1,202件の閲覧回数
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,038件の閲覧回数
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,038件の閲覧回数
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,038件の閲覧回数
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,038件の閲覧回数
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 件の賞賛
返信