A question about run application through application start adress

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

A question about run application through application start adress

458 Views
1329306846
Contributor III

 Hello everyone!

    Recently I'm learning Bootloader for MPC5675k , but there ia a question puzzled me. when I use JTAG download

the application , it runs well. It start address is  , the instruction is right .Juat as below photo.捕获1.PNG

   But when I use Bootloader download the application , after it finished , when I want to run it through application start adress, but it ask me struction illgeal.

   I have compare the adress and data , it's all right. What's the problem ? How can I resolve it ?

  捕获2.PNG

捕获3.PNG

0 Kudos
1 Reply

320 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You debugger scripts place IP on _Start label.

This is why it is working correctly on first load.

Your code behaves correctly. After reset it is set to Address in your RCHW.

Which is 0x40314.

Set RCHW to correct start address where your _start label is located and it will work correctly after any reset.

regards,

Peter

0 Kudos