LPC804 unable to debug after entering power down

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC804 unable to debug after entering power down

309 Views
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

Tags (1)
0 Kudos
1 Reply

297 Views
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 Kudos