DET (Default Error Tracer) is a development-only API error reporting mechanism. In production builds, DevErrorDetect = FALSE must be set for every BSW module — both for ROM savings and to eliminate non-deterministic side effects from Det_ReportError callouts.
| Module | ROM Saving (typical) | DevErrorDetect Parameter Path |
|---|---|---|
| COM | ~18 KB | Com/ComGeneral/ComDevErrorDetect |
| CanIf | ~12 KB | CanIf/CanIfPublicCfg/CanIfDevErrorDetect |
| NvM | ~20 KB | NvM/NvMCommon/NvMDevErrorDetect |
| DCM | ~25 KB | Dcm/DcmGeneral/DcmDevErrorDetect |
| DEM | ~15 KB | Dem/DemGeneral/DemDevErrorDetect |
| PduR | ~10 KB | PduR/PduRBswModules/PduRDevErrorDetect |
#!/bin/bash
# CI gate: verify no DET-enabled module in release GENDATA
echo "Checking DevErrorDetect settings..."
violations=$(grep -rn "TRUE" GENDATA/ | grep -i "DevErrorDetect")
if [ -n "$violations" ]; then
echo "FAIL: DET still enabled in production build:"
echo "$violations"
exit 1
fi
echo "PASS: All DevErrorDetect = FALSE"