Jump app to boot

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

Jump app to boot

Jump to solution
1,437 Views
vikrantpatel
Contributor I

Issue No:-1)

We are using attached file for bootloader and application is  hello world from example code.

Before jump we have followed below procedure.

1)Disable all interrupt.

2)Deinit CAN and timer.

For boot to app jump we are using below instructions.

 

App_Vector_Table à 0x10000. (you can refer in attached lsl)

 

S32_SCB->VTOR = (uint32)0x10000;

                __asm(" ldr r1, = 0x10000");            // get the stack pointer value from the program's reset vector__

                __asm(" mov sp, r1");

                __asm(" ldr r1, = 0x10004");            // get the program counter value from the program's reset vector

                __asm(" mov pc, r1");                     // jump to the start address }

                                                                                

After jumping to application we are facing problem of WatchdogIRQ.in both case we are getting same result.

Issue No:-2)

Case 1:-Flash the boot ,close S32 software and remove debug cable working fine.

Case 2:- Flash the boot ,close S32 software, remove debug cable and perform power cycle(Power OFF and ON)it is not working               

 

0 Kudos
1 Solution
1,418 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

1. What exactly happens after the jump into the application?

2. Do you use your own bootloader? Can you share your project?

Thank you.

Best regards,

Diana

View solution in original post

0 Kudos
1 Reply
1,419 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

1. What exactly happens after the jump into the application?

2. Do you use your own bootloader? Can you share your project?

Thank you.

Best regards,

Diana

0 Kudos