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.

RM48L952: One Time Programmable (OTP) Flash Static Configuration - Safety Diagnostics

Part Number: RM48L952

Hi,

Please clarify the below doubts on the One Time Programmable (OTP) Flash Static Configuration module.

S.No Device Test identifier Clarifications
1 One Time Programmable (OTP) Flash Static Configuration  OTP1 Which ECC ESM event will be triggered if an error is detected?
2 OPT4A How to perform a CRC check on OTP contents? Is any API available?
3 OTP4B How to perform a CRC check on OTP contents? Is any API available?
4 OTP5 How to perform this diagnostic functionality? Is any ESM event will be triggered?
5 OTP6 How to perform this diagnostic functionality? Is any ESM event will be triggered?
6 OTP7 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
7 OTP8 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
8 OTP9 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
9 OTP10 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
10 OTP11 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
11 OTP12 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
12 OTP13 How to perform this diagnostic functionality in SW? Is any API available to perform this test?

Regards,

Monish P

  • 1 One Time Programmable (OTP) Flash Static Configuration  OTP1 Which ECC ESM event will be triggered if an error is detected?

    OTP ECC: ESM 1.6 for correctable error, and ESM 3.7 for uncorrectable error.

    2 OPT4A How to perform a CRC check on OTP contents? Is any API available?
    3 OTP4B How to perform a CRC check on OTP contents? Is any API available?

    You can use SL_CRC_Calculate() to calculate CRC of OTP content.

    4 OTP5 How to perform this diagnostic functionality? Is any ESM event will be triggered?
    5 OTP6 How to perform this diagnostic functionality? Is any ESM event will be triggered?

    OTP 5: Bit Multiplexing in Flash Memory Array, it is a built-in HW feature. no ESM flag. 

    OTP 6: Flash Sector Protection, you can enable or disable it by program BSE register. no ESM flag

  • 6 OTP7 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
    7 OTP8 How to perform this diagnostic functionality in SW? Is any API available to perform this test?

    OTP7: Flash Wrapper Diag Mode 1 Test. It is to test the ECC logic in the Flash Wrapper. 

    OTP8: Flash Wrapper Diag Mode 2 Test. It is to check the generated ECC syndrome. 

    There are no APIs for those two tests. Please refer to 5.6.2.1 and 5.6.2.2 of TRM regarding hoe to perform the test.

  • 8 OTP9 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
    9 OTP10 How to perform this diagnostic functionality in SW? Is any API available to perform this test?

    OTP9: Flash Wrapper Diag Mode 3 Test.

    OTP10: Flash Wrapper Diag Mode 4 Test.

    There are no APIs for those two tests. Please refer to 5.6.2.3 and 5.6.2.4 of TRM regarding how to perform the test.

  • 10 OTP11 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
    11 OTP12 How to perform this diagnostic functionality in SW? Is any API available to perform this test?
    12 OTP13 How to perform this diagnostic functionality in SW? Is any API available to perform this test?

    OTP11: Software Test of Flash Sector Protection Logic. You can try to write to a protected flash sector, the operation of flash sector protection logic can be tested. No API available.

    OTP12: Software Test of Hardware CRC. It is possible to test the functionality of hardware CRC by checking for correct calculation of expected CRC values. You can use CRC calculation API in SDL.

    OTP13: CRC Auto-Coverage. This is a HW feature, no test is needed.