LPC804 unable to debug after entering power down

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

LPC804 unable to debug after entering power down

400 次查看
akshaybhavsar
Contributor I

I am using LPC804 MCU in my application. Code is written such a way that MCU will go to power down mode at booting. 

void main()

{

 enter_power_down_mode()

}

 

As I am in power down mode, I am unable to debug and download the program.

Please suggest solution

标记 (1)
0 项奖励
回复
1 回复

388 次查看
RaRo
NXP TechSupport
NXP TechSupport

Hello __name__,

When you enter in power-down mode, there are different peripherals turned off because the LPC is optimizing his power consumption. You can look which ones peripherals are off, in the next table, that you may find in LPC804 User Manual:

RaulRomero_0-1668182864388.png

As you could see debug mode is not supported in power-down mode.

Now, if your question is related with how to enable debug mode (or program the LPC) again, after putting the mcu in power-down mode, you could try to program your flash trough ISP.

You could find how to recover it in:

Regards, Raul.

0 项奖励
回复