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: What is hte scope of the diagnostic P1T5A "Boot Time Software Test of Basic Functionality Including Error Tests"

Part Number: TMS570LC4357

Hi experts,

The Safegy Manual mentions the Diagnostics P1T5A, P1T5B, P2T5A, P2T5B, P3T5A, P3T5B which are called "Boot Time Software Test of Basic Functionality Including Error Tests" or "Periodic Software Test of Basic Functionality Including Error Tests". I am not sure what exactly should be tested by this diagnostic. I had a look at the SafeTI Library which has no direct emntion of this diagnostic. Assuming it is thesame Diagnostic, I had a look at the implementation "SL_SelfTest_PeripheralSegmentInterconnect" function which tests the correct function of reserved mode and protected mode.

(Q1) Does the P1T5A refer to testing if it is possible to access a reserved location and possible to write to a protected location?

Thank you and best regards,
Max

  • Yes, P1T5A refers to testing the basic error trapping mechanisms implemented via the PCR, specifically PCR1 in this case. You can find the details on configurations of restrictions on accesses to this PCR in the reference manual. For example, you can configure an entire peripheral select to only be writable in privileged mode and then tests that you get an error if you write to that peripheral frame in user mode.