This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash download error when in deep power down mode

I have programmed an LPC1768 to be nearly always in deep power down mode. It is waken periodically by an RTC alarm

Since I did this, I cannot reprogram the processor using the programmer included in Keil's microcontroller development tool kit.

What is the solution ?

Best regards

Parents
  • Thanks for the EINT0 idea.
    As a matter of fact, I had included some code to run a loop when coming out of deep power down if a pin was 0V.It works, I can see it on scope.
    I also can enter debug mode. Just cannot reprogram the flash : I get : "SWD communication failure" and then "Flash download failed"

Reply
  • Thanks for the EINT0 idea.
    As a matter of fact, I had included some code to run a loop when coming out of deep power down if a pin was 0V.It works, I can see it on scope.
    I also can enter debug mode. Just cannot reprogram the flash : I get : "SWD communication failure" and then "Flash download failed"

Children