A call to:
retVal = SL_SelfTest_PSCON(PSCON_PMA_TEST, TRUE, &failInfoPSCON);
fails, 'retVal' returns '0'.
The 'PSCON_SELF_TEST', 'PSCON_ERROR_FORCING', 'PSCON_ERROR_FORCING' & 'PSCON_SELF_TEST_ERROR_FORCING' calls all pass.
I found this is the SafeTI Library demo application that says:
retVal = SL_SelfTest_PSCON(PSCON_PMA_TEST, TRUE, &failInfoPSCON); if (FALSE == retVal) { /* Must fail, since PMA tests cannot be run in privilege modes */ initSTPassCount++; } else { initSTFailCount++; }
But, the SafeTI Library (v2.3.1) help says:
- Entry Mode:
- Any privilege mode
Which is correct?