If you need to communicate outside of system when any error occurs, PS ERROR OUT response can be set for that respective
error. So, when that error occurs, error will be propagated outside and PS_ERROUT signal LED will glow. In this example use
PS ERROR OUT as a response to the OCM ECC
double-bit error.
Following is the code that adds the PS ERROR OUT as action:
@@ -162,6 +162,8 @@ static void EmCfgInit(const XPfw_Module_t *ModPtr, const u32
*CfgData,
}
}
+ XPfw_EmSetAction(EM_ERR_ID_OCM_ECC, EM_ACTION_PSERR, NULL);
+
if (XPfw_RecoveryInit() == XST_SUCCESS) {
/* This is to enable FPD WDT and enable recovery mechanism when
The Tcl script to inject OCM ECC error is same as the one for above example. Once you trigger the error, a PS_ERROUT LED will glow on board.