[S32K3] Bootloader jump to bootloader

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

[S32K3] Bootloader jump to bootloader

Jump to solution
666 Views
Changhawn
Contributor III

Dear

I am developing bootloader. But I have difficult in jumping(bootloader to application),

So I am testing jump routine to bootloader from Bootloader like below.

But I got the error like picture 1.

Could you recommend some debugging point? 

Thank in advance.

 

picture 1)

Changhawn_0-1721004879421.png

 

picture 2)

Changhawn_1-1721004956515.png

 

picture 3) code

Changhawn_3-1721004992600.png

 

picture 4) loader file

Changhawn_4-1721005010147.png

 

0 Kudos
Reply
1 Solution
564 Views
Changhawn
Contributor III

Share your current situation.

I confirmed that it jumps with the bootloader and application made with dummy simple code.

Currently, I am checking the jump from bootloader to application in the current project.

and will check the loader file, system.c, and startup_cm7.S files regarding application booting.

 

View solution in original post

0 Kudos
Reply
4 Replies
565 Views
Changhawn
Contributor III

Share your current situation.

I confirmed that it jumps with the bootloader and application made with dummy simple code.

Currently, I am checking the jump from bootloader to application in the current project.

and will check the loader file, system.c, and startup_cm7.S files regarding application booting.

 

0 Kudos
Reply
615 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Changhawn,

I has been discussed a few times already.

For example here:

https://community.nxp.com/t5/S32K/S32K312-bootloader-jump-to-application-issue/td-p/1795729

You need to step through the code and check the flash values at the addresses.

 

Regards,

Daniel

 

 

0 Kudos
Reply
596 Views
Changhawn
Contributor III

Dear danielmartynek.

When I try todo with your guide, still have problem like below picture 1).

picture 2) is register view before running application_reset_handler

I will check and search this problem in Community. If you give some guide, thank you very much.

 

picture 1)

Changhawn_0-1721176995582.png

 

picture 2)

Changhawn_1-1721177025420.png

 

0 Kudos
Reply
644 Views
Changhawn
Contributor III

Without any controling. I can confirm jump Reset_handler() again.

But I got the Error befor main() like below picture. Still debugging the reason.

 

    jump_to_application = (*(volatile uint32_t *)0x00401004);
    jump_to_application();
 
 
Changhawn_0-1721030261641.png

 

0 Kudos
Reply