LPC1768 wake up from DeepSleep when bootloader is present

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1768 wake up from DeepSleep when bootloader is present

ソリューションへジャンプ
528件の閲覧回数
laurianussss
Contributor II

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?

 

0 件の賞賛
返信
1 解決策
487件の閲覧回数
laurianussss
Contributor II

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

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
498件の閲覧回数
Habib_MS
NXP Employee
NXP Employee

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 

0 件の賞賛
返信
488件の閲覧回数
laurianussss
Contributor II

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

 

 

0 件の賞賛
返信