how does the SP PC pointer gets the stack top and reset handle value at startup_S32K144.S asm file?

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

how does the SP PC pointer gets the stack top and reset handle value at startup_S32K144.S asm file?

783件の閲覧回数
jackey267
Contributor II

 hi team: 

for S32k148 :

1.1 when we have 3 independent firmware(s) at all 3X  512KB  Pflash  ,how to pick one another Pflash  firmware to run instead of run at 0x0000000? 

1.2  how does the SP PC pointer gets the stack top and reset handle value at startup_S32K148.S asm file? 

0 件の賞賛
返信
1 返信

767件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @jackey267,

It always starts with the stack pointer and the reset vector at 0x0000 - 0x0004 because VTOR reads 0x0000_0000 by default.

You can refer to AN12218: S32K1xx Bootloader - it shows how to jump to a different firmware.

https://www.nxp.com/docs/en/application-note/AN12218.pdf

https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip


BR, Daniel

0 件の賞賛
返信