Mar 03, 2020
04:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 03, 2020
04:00 AM
Hi all,
How to inject faults (Single, Double and Multi) in Pflash on AURIX™TC2xx microcontrollers ?
Best regards,
Lina
#8042000 13166
How to inject faults (Single, Double and Multi) in Pflash on AURIX™TC2xx microcontrollers ?
Best regards,
Lina
#8042000 13166
- Tags:
- IFX
1 Reply
Mar 03, 2020
05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 03, 2020
05:58 AM
Hi Lina,
You can inject faults in PFlash following this method:
1- The ECC code causing the required error type (e.g. triple-bit error) can be determined
by first programming the data with automatic ECC generation on.
2- Read this programmed data to find the corresponding ECC code in ECCRPp.RCODE.
3- Switch OFF automatic ECC generation: ECCW.PECENCDIS = 1.
4- Write the value of ECC code (obtained in step 2- in in ECCRPp.RCODE) into ECCW.WCODE.
5- Now, generate the bit errors in the data to program by setting additional bit(s) in the read data.
6- Reprogram the page with this data.
Best regards,
Mr. AURIX™
You can inject faults in PFlash following this method:
1- The ECC code causing the required error type (e.g. triple-bit error) can be determined
by first programming the data with automatic ECC generation on.
2- Read this programmed data to find the corresponding ECC code in ECCRPp.RCODE.
3- Switch OFF automatic ECC generation: ECCW.PECENCDIS = 1.
4- Write the value of ECC code (obtained in step 2- in in ECCRPp.RCODE) into ECCW.WCODE.
5- Now, generate the bit errors in the data to program by setting additional bit(s) in the read data.
6- Reprogram the page with this data.
Best regards,
Mr. AURIX™