Jump app to boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,471件の閲覧回数
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 解決策
1,452件の閲覧回数
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 返信
1,453件の閲覧回数
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 件の賞賛
返信