Following is a procedure that must be followed for identifying Standard/Custom errors logged in L3_MAIN:
- Read the *_STDERRLOG_MAIN registers (L3_HOST_STDERRLOG_MAIN & L3_TARG_STDERRLOG_MAIN):
- bit[0]STDERRLOG_MAIN_ERRLOGVLD = 0 -> NO ERROR
- bit[0]STDERRLOG_MAIN_ERRLOGVLD = 1 -> ERROR
- Error type is visible through:
- bit[1]STDERRLOG_MAIN_ERRTYPE = 0 -> Standard Error (FW error, Address Hole, Unsupported command, OCP disconnect)
- bit[1]STDERRLOG_MAIN_ERRTYPE = 0 -> Custom Error
- Standard Error:
The procedure for Custom error is the same, but the *_STDERRLOG_CUSTOMINFO_* registers should be read.