This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hello,
during debuggin on a TMS570LS0914 custom board i got a prefetch entry. IFSR value is 0xD, it means a permission error. And the Instruction Fault Address Register (IFAR) is 0xFFFFFFFE.
I check using memory browser at address 0xFFFFFFFE. It is the System Software Interrupt Flag Register.
Any ideas on how to solve this problem please?
Kind regards
Aron
Hello Aron,
This address is part of the memory map that is not executable, so the permission fault is valid. The main issue to resolve is why the CPU tried to fetch an instruction from this address. I would suspect a stack overflow issue, where the return address got overwritten with this value.
Can you also post a screenshot of the other CPU registers for the abort mode?
Regards, Sunil
This shows that the exception occurred when the CPU was processing a service routine for an IRQ. Please check the size of stack allocated for IRQ mode. Do you have an ISR that declares local variables? These use stack (for temporary storage). You can increase the available IRQ stack to see if that helps.