2063509_en-US

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

2063509_en-US

2063509_en-US

LPC1768 wake up from DeepSleep when bootloader is present

I have a cusotm board with LPC1768 and I need to use deep sleep mode. Everything works OK as default but when I install a bootloader and the main program where I need to use deep sleep has an offset, when I wake up the MCU it clear ctach teh IRQ and wake up as current increased it remains stucked somewhere... possible goes on a wrong address. I do nto know how to debug as debuger does not work in deep sleep.

Any idea?


Re: LPC1768 wake up from DeepSleep when bootloader is present

Yes... aplicatiopn was aorking independently. Anyway I found the problem and solution. Only need it to add Offset address when reainitialize the clock 

SCB->VTOR = ADRE_OFFSET & 0x3FFFFF80;


Thank you



Re: LPC1768 wake up from DeepSleep when bootloader is present

Hello @laurianussss,
Could you execute the Bootloader application and the low power mode independently? this with the propose of corroborate that both work as expected.

Also, I highly recommend see the 4.8.2 called " Deep Sleep mode" in order to obtain more information about low power mode.

BR
Habib 

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 01:58 PM
Updated by: