iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN void | IfxMtu_clearErrorTracking (IfxMtu_MbistSel mbistSel) |
Clears the error tracking registers (ETRR), valid and overflow bits. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005). More... | |
IFX_EXTERN void | IfxMtu_enableErrorTracking (IfxMtu_MbistSel mbistSel, boolean enable) |
Enables the tracking of SRAM errors. More... | |
IFX_EXTERN uint32 | IfxMtu_getSystemAddress (IfxMtu_MbistSel mbistSel, Ifx_MC_ETRR trackedSramAddress) |
Returns the descrambled system address based on a tracked SRAM error which consists of ADDR and MBI (SRAM address and block) More... | |
IFX_EXTERN uint8 | IfxMtu_getTrackedSramAddresses (IfxMtu_MbistSel mbistSel, Ifx_MC_ETRR *trackedSramAddresses) |
Returns the tracked SRAM error addresses and memory blocks which are stored in the MBIST ETRR registers. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005). More... | |
IFX_EXTERN boolean | IfxMtu_isErrorTrackingEnabled (IfxMtu_MbistSel mbistSel) |
Returns the status of the error tracking. More... | |
IFX_EXTERN boolean | IfxMtu_isErrorTrackingOverflow (IfxMtu_MbistSel mbistSel) |
Returns the error tracking overflow status. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005). More... | |
IFX_EXTERN void IfxMtu_clearErrorTracking | ( | IfxMtu_MbistSel | mbistSel) |
Clears the error tracking registers (ETRR), valid and overflow bits. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005).
mbistSel | Memory Selection |
A coding example can be found in How to use the Mtu driver?
IFX_EXTERN void IfxMtu_enableErrorTracking | ( | IfxMtu_MbistSel | mbistSel, |
boolean | enable | ||
) |
Enables the tracking of SRAM errors.
mbistSel | Memory Selection |
enable | TRUE to enable error tracking, FALSE to disable error tracking. |
A coding example can be found in How to use the Mtu driver?
IFX_EXTERN uint32 IfxMtu_getSystemAddress | ( | IfxMtu_MbistSel | mbistSel, |
Ifx_MC_ETRR | trackedSramAddress | ||
) |
Returns the descrambled system address based on a tracked SRAM error which consists of ADDR and MBI (SRAM address and block)
Please note that not all memories of the system are supported by this function. Additional memories will be considered on request.
mbistSel | Memory Selection |
trackedSramAddress | tracked SRAM address which consists of an ADDR and MBI field (SRAM address and block) |
Example usage: see IfxMtu_getTrackedSramAddresses
IFX_EXTERN uint8 IfxMtu_getTrackedSramAddresses | ( | IfxMtu_MbistSel | mbistSel, |
Ifx_MC_ETRR * | trackedSramAddresses | ||
) |
Returns the tracked SRAM error addresses and memory blocks which are stored in the MBIST ETRR registers. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005).
mbistSel | Memory Selection |
trackedSramAddresses | will contain the tracked error addresses in trackedSramAdresses[x].B.ADDR and affected blocks in sramAddresses[x].B.MBI |
The array size shall be IFXMTU_MAX_TRACKED_ADDRESSES
Example usage to print out tracked errors of a given memory:
We assume that the MTU clock has already been enabled, and that the MBIST instance has been selected; e.g. for LMU:
Now the tracking information can be retrieved with:
IFX_EXTERN boolean IfxMtu_isErrorTrackingEnabled | ( | IfxMtu_MbistSel | mbistSel) |
IFX_EXTERN boolean IfxMtu_isErrorTrackingOverflow | ( | IfxMtu_MbistSel | mbistSel) |
Returns the error tracking overflow status. CAUTION: This function should be called after enabling Mbist Shell (Refer Errata: MTU_TC.005).
mbistSel | Memory Selection |