CLASSIC
Modul: modemanagementguide
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_MODEMANAGEMENTGUIDE_SECTION_3_3_7_Reset_of_partitions
Wortlaut
3.3.7 Reset of partitions
In the case that an error occurred in a particular partition and it has to be restarted,
the BSW Modules which are partitioned to the partition have to be reinitialized. In
order to determine the partition which has been restarted, the Mode Request Source
BswMPartitionRestarted can be utilized.
rule InitBlockII initially false {
if ( EcuMode == MDG_EcuMode.ECU_STARTUP_ONE ) {
actionlist InitBlockIIActions
}
}
actions InitBlockIIActions on condition {
custom "Spi_Init(null)"
custom "Eep_Init(null)"
custom "Fls_Init(null)"
custom "NvM_Init(null)"
custom "EcuM_SetState(ECU_STARTUP_TWO)"
custom "NvM_ReadAll()"
}
rule NvMReadAllFinished initially false {
if ( NvMReadAllJobMode == NVM_REQ_OK
&& EcuMode == MDG_EcuMode.ECU_STARTUP_TWO
&&
BSWM_BSW_MODE_REQUEST_API_CALLED(BswMPartitionRestarted) ) {
actionlist NvMReadAllFinished4PartitionActions
}
}
actions NvMReadAllFinished4PartitionActions on condition {
// Initialize only the modules partitioned to the corresponding core, e.g
.
Guide to Mode Management
custom "Can_Init(null)"
custom "CanIf_Init(null)"
custom "CanSM_Init(null)"
custom "CanTp_Init(null)"
...
}
Listing 3.15: reset sequence of partition
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 38 |
| Ziel-Modul | modemanagementguide (classic) |
| Ziel-Anforderung | SWS_NvM_00460 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |