A question about run application through application start adress

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

A question about run application through application start adress

911 次查看
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 项奖励
回复
1 回复

773 次查看
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 项奖励
回复