Dec 01, 2017
12:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 01, 2017
12:57 AM
Hi
How can I disable ECC safey error in TC39XX
I used to disable it in TC27 using this cocde
now I'm tying to disable it on TC39XX with this code DMU_HF_ECCC.B.ECCCORDIS = 0x01; but it's not working
should I set PECENCDIS and DECENCDIS flags ??


thanks
How can I disable ECC safey error in TC39XX
I used to disable it in TC27 using this cocde
/* Deactivate ECC safety errors */
Mcal_ResetENDINIT();
FLASH0_ECCRP0.B.ECCORDIS |= IFX_FLASH_ECCRP_ECCORDIS_MSK;
FLASH0_ECCRP1.B.ECCORDIS |= IFX_FLASH_ECCRP_ECCORDIS_MSK;
Mcal_SetENDINIT();
now I'm tying to disable it on TC39XX with this code DMU_HF_ECCC.B.ECCCORDIS = 0x01; but it's not working
should I set PECENCDIS and DECENCDIS flags ??
thanks
2 Replies
Nov 11, 2021
10:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 11, 2021
10:34 PM
Has anyone found a solution? I also need to disable the ECC in the DFLASH0 of a TC36x, but it seems that the register DMU_HF_ECCC is somehow protected against modification.
Thanks in advance.
Nov 19, 2021
02:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 19, 2021
02:27 AM
Found the solution:
Ifx_SCU_WDTCPU *watchdog;
uint16 endInitCpuPassword;
watchdog = &MODULE_SCU.WDTCPU[IfxCpu_getCoreIndex()];
endInitCpuPassword = IfxScuWdt_getCpuWatchdogPasswordInline(watchdog);
IfxScuWdt_clearCpuEndinitInline(watchdog, endInitCpuPassword);
DMU_HF_ECCC.B.ECCCORDIS = 0x3;
DMU_HF_ECCC.B.TRAPDIS = 0x3;
IfxScuWdt_setCpuEndinitInline(watchdog, endInitCpuPassword);
This widget could not be displayed.