Example MPC5634M_2b_RAM_ECC_error_injection CW210

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5634M_2b_RAM_ECC_error_injection CW210

Example MPC5634M_2b_RAM_ECC_error_injection CW210

********************************************************************************

* Detailed Description:

* ECSM Error Generation Register EEGR is used to generate a non-correctable ECC

* error in RAM. The bad data is accessed then, so the IVOR1 exception is

* generated and handled.

* This file shows also ECSM_combined_isr and how to correct the wrong data.

* Use macro Induce_ECC_error_by_DMA_read to select whether ECC error will be

* injected by DMA read or CPU read.

* At the end of main file you can select particular ME/EE setup by

* comment/uncomment of particular function calls.

*

* ------------------------------------------------------------------------------

* Test HW:        XPC563MKIT

* MCU:            PPC5633MMLQ80

* Fsys:           80/60/40/12 MHz

* Debugger:       Lauterbach Trace32

*                 PeMicro USB-ML-PPCNEXUS

* Target:         RAM, internal_FLASH

* Terminal:       19200-8-no parity-1 stop bit-no flow control on eSCI_A

* EVB connection: default

*

********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1129309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5634M_2b_RAM_ECC_error_injection%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1129309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20ECSM%20Error%20Generation%20Register%20EEGR%20is%20used%20to%20generate%20a%20non-correctable%20ECC%3C%2FP%3E%3CP%3E*%20error%20in%20RAM.%20The%20bad%20data%20is%20accessed%20then%2C%20so%20the%20IVOR1%20exception%20is%3C%2FP%3E%3CP%3E*%20generated%20and%20handled.%3C%2FP%3E%3CP%3E*%20This%20file%20shows%20also%20ECSM_combined_isr%20and%20how%20to%20correct%20the%20wrong%20data.%3C%2FP%3E%3CP%3E*%20Use%20macro%20Induce_ECC_error_by_DMA_read%20to%20select%20whether%20ECC%20error%20will%20be%3C%2FP%3E%3CP%3E*%20injected%20by%20DMA%20read%20or%20CPU%20read.%3C%2FP%3E%3CP%3E*%20At%20the%20end%20of%20main%20file%20you%20can%20select%20particular%20ME%2FEE%20setup%20by%3C%2FP%3E%3CP%3E*%20comment%2Funcomment%20of%20particular%20function%20calls.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC563MKIT%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5633MMLQ80%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2080%2F60%2F40%2F12%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%20default%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1129309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20ECSM%20Error%20Generation%20Register%20EEGR%20is%20used%20to%20generate%20a%20non-correctable%20ECC%3C%2FP%3E%3CP%3E*%20error%20in%20RAM.%20The%20bad%20data%20is%20accessed%20then%2C%20so%20the%20IVOR1%20exception%20is%3C%2FP%3E%3CP%3E*%20generated%20and%20handled.%3C%2FP%3E%3CP%3E*%20This%20file%20shows%20also%20ECSM_combined_isr%20and%20how%20to%20correct%20the%20wrong%20data.%3C%2FP%3E%3CP%3E*%20Use%20macro%20Induce_ECC_error_by_DMA_read%20to%20select%20whether%20ECC%20error%20will%20be%3C%2FP%3E%3CP%3E*%20injected%20by%20DMA%20read%20or%20CPU%20read.%3C%2FP%3E%3CP%3E*%20At%20the%20end%20of%20main%20file%20you%20can%20select%20particular%20ME%2FEE%20setup%20by%3C%2FP%3E%3CP%3E*%20comment%2Funcomment%20of%20particular%20function%20calls.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC563MKIT%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5633MMLQ80%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2080%2F60%2F40%2F12%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%20default%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1129309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎10-09-2014 04:37 AM
Updated by: