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?
解決済! 解決策の投稿を見る。
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
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
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