EMI kills USB and causes a FATAL on the ECU #4310

only:small-can-board_debug
This commit is contained in:
rusefillc 2023-10-21 16:02:26 -04:00
parent 8ed0f4583a
commit 29487e084a
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ void checkLastBootError() {
efiPrintf("Last boot had firmware error: %s", sramState->ErrorString);
break;
case ErrorCookie::HardFault: {
efiPrintf("Last boot had error: %s", sramState->ErrorString);
efiPrintf("Last boot had hard fault type: %x addr: %x CSFR: %x", sramState->FaultType, sramState->FaultAddress, sramState->Csfr);
if (engineConfiguration->rethrowHardFault) {
criticalError("Last boot had hard fault type: %x addr: %x CSFR: %x", sramState->FaultType, sramState->FaultAddress, sramState->Csfr);