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.

TMS570LC4357: TMS570LC4357: CCMR5 Self Test

Part Number: TMS570LC4357

Hello.

i am facing a issue with respect to CCM self test on Eval board. Before even executing the CCM Self test below ESM flags set and there by causing the test failure:

ESM Group1 BIT -31 - CCM-R5F - self-test

ESM Group2 BIT-2 - CCM-R5F - CPU compare error

Can you please help in providing some insight about this behaviour?

Thanks,

Kalyan

  • Hello Kalyan,

    The CCM-R5F is used to compare the output signals from two R5F CPUs. Any difference in the two CPUs’ outputs is flagged as a fault of a high-severity level. The CPU internal registers are not guaranteed to power up in the same state for both the CPUs. The CPU pushes the internal registers on to the stack on a function call, which could lead to the detection of a core compare error. Therefore, the CPU internal core registers need to be initialized to a predefined state before any function call is made.

  • Thanks Wang for your quick response and insights.

    _coreInitRegisters_() is the first function called from _c_int00() that initializes all the core registers. Still i have this issue of ESM flags related to CCM self Test set.

    Please correct if my understanding is wrong.

    Thanks,

    Kalyan

  • Hi Kalyan,

    Can you please check which instruction or function in startup.c causes this issue?