AnsweredAssumed Answered

MPC56xx __start.c - use far addressing to text section

Question asked by Kadir Aktas on Mar 26, 2019
Latest reply on Mar 29, 2019 by Peter Vlna

Hello I wanna ask a question about __start.c.


I'm using MPC5674F and I have a fatal error that prevents code running. When I connect to processor, I check the Program Counter register. It shows me __start.c source file -->

lis r6,exit@ha
addi r6,r6,exit@l
mtlr r6
b exit


I wonder how a processor has made such an error? What does it mean? ( When I re-download my code to processor, it works. But sometimes I get an error like that )

Anybody have any idea?