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
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:
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.