DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: dem Rolle: constitutive Konfidenz: 95%

SNIP_CLASSIC_DEM_SECTION_7_13_1_Development_Errors

Quelle: SWS_DiagnosticEventManager.pdf (Seite 238) • Ziel-Anforderung: SWS_Dem_01324

Wortlaut

7.13.1 Development Errors [SWS_Dem_00173] Definition of development errors in module Dem Upstream requirements: SWS_BSW_00050, SWS_BSW_00212 ⌈ Type of error Related error code Error value API function called with a parameter value, which is not allowed by active configuration DEM_E_WRONG_CONFIGURATION 0x10 API function called with a NULL pointer DEM_E_PARAM_POINTER 0x11 API function called with wrong parameter value DEM_E_PARAM_DATA 0x12 API function called with wrong length parameter value DEM_E_PARAM_LENGTH 0x13 Dem initialisation failed (refer to [SWS_BSW_ 00151]) DEM_E_INIT_FAILED 0x14 API function called before the Dem module has been full initialized (refer to [SWS_Dem_ 00124],[SWS_Dem_00364]) or after the Dem module has been shut down (refer to [SWS_Dem_ 00368]) DEM_E_UNINIT 0x20 Required conditions for the respective API call are not fulfilled (e.g. an invalid status change was initiated, or a filter was not set correctly, etc. - refer to [SWS_Dem_00518]). DEM_E_WRONG_CONDITION 0x40 Dem_DcmGetAvailableOBDMIDs called with invalid OBDMID. DEM_E_INVALID_OBDMID 0x50 ⌋ [SWS_Dem_00124] Upstream requirements: SRS_BSW_00406 ⌈If DemDevErrorDetect is set to TRUE and any Dem API excluding : • Dem_SetEventStatus • Dem_ResetEventStatus • Dem_SetEventAvailable • Dem_ResetEventDebounceStatus • Dem_GetVersionInfo • Dem_MainFunction • Dem_InitAllNvmBlocks is called before Dem has been fully initialized, the Dem module shall set the error code DEM_E_UNINIT.⌋ Note: If development error detection is disabled and the Dem is not fully initialized, the behavior of the APIs is undefined. [SWS_Dem_01324] ⌈During Dem_Init the Dem initializes the monitor and component states. After this point in time, the Dem shall return E_OK on the APIs Dem_GetMonitorStatus and Dem_GetComponentFailed.⌋ [SWS_Dem_00364] Upstream requirements: SRS_BSW_00406 ⌈If development error detection is enabled and any instance calls Dem_SetEventStatus or Dem_ResetEventDebounceStatus before the Dem was preinitialized, the Dem module shall set the error code DEM_E_UNINIT.⌋ Note: If development error detection is disabled and the Dem is not preinitialized, the behavior of these APIs is undefined. [SWS_Dem_00368] Upstream requirements: SRS_BSW_00337 ⌈If development error detection is enabled and any instance calls any Dem API, excluding Dem_SetEventStatus, Dem_ResetEventDebounceStatus, Dem_GetVersionInfo and Dem_MainFunction, after Dem_Shutdown has been called, the Dem module shall set the error code DEM_E_UNINIT until Dem_Init is called again.⌋ Note: If development error detection is disabled and the Dem is shut down, the behavior of these APIs is undefined. [SWS_Dem_00518] Upstream requirements: RS_Diag_04057 ⌈If development error detection is enabled and a Dem function is called with required preconditions not fulfilled, the Dem module shall set the error code DEM_E_WRONG_ CONDITION.⌋ Note: For example, Dem_GetNextFilteredDTCAndFDC is called, after Dem_SetDTCFilter with FilterForFaultDetectionCounter = FALSE was called.

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

Cited verbatim in the snippet (deterministic citation).

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_DiagnosticEventManager.pdf
Dokumentseite Seite 238
Ziel-Modul dem (classic)
Ziel-Anforderung SWS_Dem_01324
Semantische Rolle constitutive
Automatisierungs-Konfidenz 0.95