BOOT to APP jump issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BOOT to APP jump issue

905 Views
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.png

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

 

MCU-S32K116

IDE-S32 DESIGN STUDIOS

COMPILER-IAR

 

Regards,

Pankaj prasad

 

 

0 Kudos
Reply
1 Reply

899 Views
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.png

And example from application note AN12218:

lukaszadrapa_1-1650886381099.png

 

Regards,

Lukas

 

0 Kudos
Reply