A question about run application through application start adress

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

A question about run application through application start adress

891件の閲覧回数
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 返信

753件の閲覧回数
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 件の賞賛
返信