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.

TMS570LS0432: adata abort is generated

Part Number: TMS570LS0432

Hello

Team

When I Test the ECC 2bit,abort generated,

code into the _excpt_vet_abort_data(),

I use the library 2.4

 the software go into

__asm(" ldmfd r13!, {r0 - r5, r12, lr} ");
__asm(" subs pc, lr, #4 " );

Should the program be aborted?

but the program dont abort.

 why?

  • Hi,

    If there is an uncorrectable ECC error (RAM, and Flash), an data abort will be generated. If the 2-bit ECC error is caused by diagnostic test (fault injection), you can clear the ESM error flag in dabort handler and jump back to normal operation. If the abort is not caused by test, you need to stop your code, debug your code, and check the HW. 

  • I use the library2.4 . I test the ram ecc 2bit ,I change the ecc value.and program go into the  _excpt_vet_abort_data(),this is my except.

    but the program should be stop. The library is indeed missing the code to terminate the program, where should I add it?

  • Hi whong,

    If the 2-bit ECC error is intentionally injected, the data abort handler will not will clear the error flag and jump back to normal operation. 

    Please read the coed section between line 263 and line 288 of exception_handlers.c