Infineon AURIX TC3xx: How to inject ECC error to PFLASH

19-Oct-2024

The scripts TC3xx_PFLASH_Inject_ECC_error.py and TC3xx_DFLASH_Inject_ECC_error.py, which are distributed with winIDEA, program a memory page to either PFLASH (address 0xA0000000) or DFLASH (address 0xAF000000). Then they turn auto ECC code generation OFF and use the same code for reprogramming with different values. Single, double, and multi-bit ECC errors are generated.


Solution

Use the script as a reference for custom implementation.

1. Navigate to the SFR folder.  

2. Copy the desired script to your winIDEA workspace folder.

3. Modify the script according to the required operation and save it. 

4. Open winIDEA and select Tools | External Scripts | <YourScript>.


More resources

Was this answer helpful?