CLASSIC
Modul: modemanagementguide
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_MODEMANAGEMENTGUIDE_SECTION_3_3_4_Shutdown
Wortlaut
3.3.4 Shutdown
In state ECU_APP_POST_RUN the BswM waits until all channels report, that no requests
are pending any more. The rule in listing 3.12 is triggered every time the mode of a
ComM channel changes.
If there are mmultiple ComM channels, they have to be
combined to a single expression.
rule InitiateShutdown initially false {
if ( ComM_Mode_Channel1 == COMM_NO_COM_REQUEST_PENDING && EcuMode ==
MDG_EcuMode.ECU_APP_POST_RUN) {
actionlist InitiateShutdownActions
}
}
actions InitiateShutdownActions on condition {
custom "Dem_Shutdown(null)"
custom "Rte_Stop()"
custom "ComM_DeInit()"
SchMSwitch EcuMode : ECU_GO_OFF_ONE
custom "NvM_WriteAll()"
}
rule NvMWriteAllFinished initially false {
if ( NvMWriteAllJobMode == NVM_BLK_OK && EcuMode == MDG_EcuMode.
ECU_GO_OFF_ONE) {
actionlist NvMWriteAllFinishedTrueActions
}
}
actions NvMWriteAllFinishedTrueActions on condition {
custom "EcuM_SelectShutdownCause(ECUM_CAUSE_ECU_STATE)"
custom "EcuM_GoDown(MODULE_ID)"
}
Listing 3.13: Shutdown sequence
Note
that
the
in
the
configuration
of
the
ECUM
the
module
id
of
the
BswM
has
to
be
added
as
a
valid
user
to
EcuMFlexUserConfig.
===================================================
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 | ModeManagementGuide.pdf |
|---|---|
| Dokumentseite | Seite 37 |
| Ziel-Modul | modemanagementguide (classic) |
| Ziel-Anforderung | SWS_NvM_00461 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |