Jump app to boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Jump app to boot

跳至解决方案
3,009 次查看
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 项奖励
回复
1 解答
2,990 次查看
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 项奖励
回复
1 回复
2,991 次查看
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 项奖励
回复