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.

  • Resolved

RM48L940: ESM Error Channel for VIM Selftest

Intellectual 600 points

Replies: 2

Views: 155

Part Number: RM48L940

When I run VIM Selftest, the SL_SelfTest_VIM(VIM_SOFTWARE_TEST) eventually calls _SL_SelfTest_SRAM_RAD() which triggers ESMGroup2 error on Ch 8. The Group2handler in the library seems to expect Group 2, Ch 6 error according to the snippet below (before it will set the vimTestFlag). This makes the test fail. Can you confirm which channel error the test should actually trigger?

        /** RAM even bank (B0TCM) - uncorrectable Error */
        case ESM_G2ERR_B0TCM_UNCORR:
            if (TRUE == SL_FLAG_GET(SRAM_RADECODE_DIAGNOSTICS)) {
                if (TRUE == SL_FLAG_GET(VIM_SOFTWARE_TEST)){
                    vimTestFlag = TRUE;
                }
                callbackCancelCount++;
                cancelCallback = TRUE;
            }
            callbkParam1 = sl_tcram1REG->RAMUERRADDR;
            /* No status to clear here */
        break;

        /** RAM odd bank (B1TCM) - uncorrectable Error */
        case ESM_G2ERR_B1TCM_UNCORR:
            if (TRUE == SL_FLAG_GET(SRAM_RADECODE_DIAGNOSTICS)) {
                callbackCancelCount++;
                cancelCallback = TRUE;
            }
            callbkParam1 = sl_tcram2REG->RAMUERRADDR;
            /* No status to clear here */
        break;

  • Hello Guy,

    The SL_SelfTest_VIM(VIM_SOFTWARE_TEST) triggers both ESM Group2 Ch8 and ESM Group2 Ch6.
    ESM group 2 Ch6 effectively sets the the vimTestFlag to TRUE.
    I tested it on my end and got a pass.

    Thanks and Regards,
    Akshay
  • In reply to Akshay Manikantan:

    Thanks. I see both too.

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.