🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
Contact us to get access

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?