BOOT to APP jump issue

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

BOOT to APP jump issue

1,942件の閲覧回数
pankajprasad100
Contributor III

Hi,

I am working on a bootloader in which all the steps are done but while jumping from boot to app there is an issue.

I followed this link-Boot to Application Jump in S32K116? - NXP Community

In the above link there is an word attachment. While using the given function in our code which is provided in the document getting error as "Operand syntax error"

pankajprasad100_0-1650875009525.pngpankajprasad100_0-1650875009525.png

If working code is provided for jumping would be highly appreciated.

 

MCU-S32K116

IDE-S32 DESIGN STUDIOS

COMPILER-IAR

 

Regards,

Pankaj prasad

 

 

0 件の賞賛
返信
1 返信

1,936件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can see that it can't recognize "sp". That's because there are two stack pointers - main stack pointer and process stack pointer. From ARM Cortex manual:

lukaszadrapa_0-1650886303743.pnglukaszadrapa_0-1650886303743.png

And example from application note AN12218:

lukaszadrapa_1-1650886381099.pnglukaszadrapa_1-1650886381099.png

 

Regards,

Lukas

 

0 件の賞賛
返信