We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76ed42b commit 2869d41Copy full SHA for 2869d41
1 file changed
hal/aurix_tc3xx.c
@@ -308,6 +308,9 @@ void hal_init(void)
308
WOLFBOOT_VERSION);
309
#endif
310
#endif /* DEBUG_UART */
311
+
312
+ /* Catch bus errors due to ECC faults. Reenabled on application boot */
313
+ TC3_CAPTURE_BUS_ERRORS();
314
}
315
316
/* This function is called by the bootloader at a very late stage, before
@@ -338,6 +341,9 @@ void hal_prepare_boot(void)
338
341
/* Undo pre-init*/
339
342
tc3tc_UnpreInit();
340
343
344
345
+ /* Reenable bus trap/exception masking */
346
+ TC3_ENFORCE_BUS_ERRORS();
347
348
349
#ifndef WOLFBOOT_AURIX_TC3XX_HSM
0 commit comments