Hello All,
The Safety Manual from the SafeTI Diagnostics Library v2.3.1 says that measure RAM7A & RAM7B are covered by SL_SelfTest_PBIST.
SL_SelfTest_PBIST crashes if you call it on the TCRAM.
There is a note in the Code:
/* Note: If executing on TCM RAM, Stack Contents are corrupted, so be careful with return data */
There is a note in help:
Note: PBIST Algorithm should not be used on SRAM when code/data resides in SRAM.The application. needs to appropriately branch to non volatile location without the use of the data variables during this test.
The implementation is a ‘C’ function, and all I can do is call it.
When called, it stores the return location on the stack.
When running the polling loop in the code use the stack.
When running it destroys the whole RAM, including the stack.
When finished it returns to the location on the stack.
It crashes when it tries to return, but it’s a miracle that it even gets to the end.
It is not possible to that RAM7A & RAM7B measures can be covered by this test!
Regards,
Mark.