Example MPC5674F_1b+2b_RAM_ECC_error_injection CW210

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

Example MPC5674F_1b+2b_RAM_ECC_error_injection CW210

Example MPC5674F_1b+2b_RAM_ECC_error_injection CW210

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

* Detailed Description:

*

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

* or single bit 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 choose if single bit or multi bit is injected

* and select particular ME/EE setup by comment/uncomment of particular function

* calls.

*

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

* Test HW:   XPC567XKIT516 - MPC5674ADAT516 Rev.C, MPC567XEVBFXMB Rev.B

* MCU:       PPC5674FMVYA264

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

* Fsys:      264/200/150/60 MHz

*

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1115402%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5674F_1b%2B2b_RAM_ECC_error_injection%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1115402%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%20%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20ECSM%20Error%20Generation%20Register%20EEGR%20is%20used%20to%20generate%20a%20non-correctable%3C%2FP%3E%3CP%3E*%20or%20single%20bit%20ECC%20error%20in%20RAM.%20The%20bad%20data%20is%20accessed%20then%2C%20so%20the%20IVOR1%20%3C%2FP%3E%3CP%3E*%20exception%20is%20generated%20and%20handled.%20%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%20%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%20choose%20if%20single%20bit%20or%20multi%20bit%20is%20injected%20%3C%2FP%3E%3CP%3E*%20and%20select%20particular%20ME%2FEE%20setup%20by%20comment%2Funcomment%20of%20particular%20function%20%3C%2FP%3E%3CP%3E*%20calls.%3C%2FP%3E%3CP%3E*%20%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC5674ADAT516%20Rev.C%2C%20MPC567XEVBFXMB%20Rev.B%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5674FMVYA264%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20264%2F200%2F150%2F60%20MHz%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1115402%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%20%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20ECSM%20Error%20Generation%20Register%20EEGR%20is%20used%20to%20generate%20a%20non-correctable%3C%2FP%3E%3CP%3E*%20or%20single%20bit%20ECC%20error%20in%20RAM.%20The%20bad%20data%20is%20accessed%20then%2C%20so%20the%20IVOR1%20%3C%2FP%3E%3CP%3E*%20exception%20is%20generated%20and%20handled.%20%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%20%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%20choose%20if%20single%20bit%20or%20multi%20bit%20is%20injected%20%3C%2FP%3E%3CP%3E*%20and%20select%20particular%20ME%2FEE%20setup%20by%20comment%2Funcomment%20of%20particular%20function%20%3C%2FP%3E%3CP%3E*%20calls.%3C%2FP%3E%3CP%3E*%20%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC5674ADAT516%20Rev.C%2C%20MPC567XEVBFXMB%20Rev.B%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5674FMVYA264%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20264%2F200%2F150%2F60%20MHz%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1115402%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:
‎06-04-2015 04:47 AM
Updated by: