On line 1811 in the checkRAMECCC function in sys_selftest.c there is an if statement to check the RAM Error Status register, however the code checks the same register for the same TCRAM module.
if(!(((tcram1REG->RAMERRSTATUS & 0x1U) == 0x1U) && ((tcram1REG->RAMERRSTATUS & 0x1U) == 0x1U)))
Shouldn't this check both TCRAM1 and TCRAM2?
I noticed a similar issue in checkRAMUERRTest().