Example MPC5744P_2b_DMEM_ECC_error_injection GHS714

File uploaded by David Tosenovjan Employee on Oct 22, 2018
Version 1Show Document
  • View in full screen mode

* Detailed Description:
* Purpose of the example is to show how to generate Multi-bit ECC error in
* local DMEM memory.
* ECC fault is generated with using of core register DMEMCTL0. If error
* injection is enabled (DMEMCTL0[DPEIE]=1), subsequent write to DMEM creates
* 2b ECC error in DMEM array and following read of this area causes bus error
* (IVOR1 exception) or FCCU_Alarm_Interrupt.
* Both function calls MEMU handler.
* Example does not show any handling as it is application specific.
* The example displays notices in the terminal window (connector J19 on
* MPC57xx_Motherboard)(19200-8-no parity-1 stop bit-no flow control on eSCI_A).
* No other external connection is required.
* ------------------------------------------------------------------------------
* Test HW:         MPC57xx_Motherboard + MPC5744P-144DC
* MCU:             PPC5744PFMLQ8,0N15P,QQAA1515N, Rev2.1B
* Fsys:            200 MHz PLL with 40 MHz crystal reference
* Debugger:        Lauterbach Trace32
* Target:          internal_FLASH, RAM
* Terminal:        19200-8-no parity-1 stop bit-no flow control
* EVB connection:  default