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.
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 ?
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