clarify VLLS[2,3] wakeup through reset on cortex m0+

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

clarify VLLS[2,3] wakeup through reset on cortex m0+

ソリューションへジャンプ
1,784件の閲覧回数
biosbob
Contributor II

when i wakeup from VLLS[2,3] mode, documentation says i wakeup through "reset"; by contract LLSx the wakeup is through the "WFI" instruction....

in my cortex m0+ application, i've actually MOVED SCB->VTOR to an address other than 0x00000000 (for reasons beyond the scope of this question)....

it appears that (despite moving the VTOR) the "reset" wakeup goes back through the original vector at address 0x00000000....  is that by design????  or is there someway to have the wakeup "reset" go through the vectors currently referenced by the VTOR register????

ラベル(1)
0 件の賞賛
返信
1 解決策
1,763件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

As for design goes, when a RESET is issued, the Program Counter (or PC) goes to a reset state, which normally is 0x0 (or the origin). This is by design and, to my knowledge, this is core related and you cannot modify this reset value.

What you could do is send from 0x0 to whatever address or table you need. If you are working with a system with built-in bootloader, just verify the flow of the program, some interrupts cannot be modified by user as they are defined by design and are platform related.

Let us know if this helps you or not.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,758件の閲覧回数
biosbob
Contributor II

in my case, i do have my own bootloader at 0x0....  but care has to be taken when writing your own bootloader to handle a "wakeup reset" and not (for example) initialize memory!!!!

0 件の賞賛
返信
1,764件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

As for design goes, when a RESET is issued, the Program Counter (or PC) goes to a reset state, which normally is 0x0 (or the origin). This is by design and, to my knowledge, this is core related and you cannot modify this reset value.

What you could do is send from 0x0 to whatever address or table you need. If you are working with a system with built-in bootloader, just verify the flow of the program, some interrupts cannot be modified by user as they are defined by design and are platform related.

Let us know if this helps you or not.

0 件の賞賛
返信