CLASSIC
Modul: ecum
Rolle: heuristic
Konfidenz: 85%
SNIP_CLASSIC_ECUM_SECTION_8_5_3_3_EcuM_AL_SwitchOff
Wortlaut
8.5.3.3 EcuM_AL_SwitchOff
[SWS_EcuM_02920] Definition of configurable interface EcuM_AL_SwitchOff
Upstream requirements: SRS_ModeMgm_00006
⌈
Service Name
EcuM_AL_SwitchOff
Syntax
void EcuM_AL_SwitchOff (
void
)
Service ID [hex]
0x3E
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
Return value
None
Description
This callout shall take the code for shutting off the power supply of the ECU. If the ECU cannot
unpower itself, a reset may be an adequate reaction.
Available via
EcuM_Externals.h
⌋
The ECU Manager module invokes EcuM_AL_SwitchOff as the last activity in the Off
PostOS Sequence (see section 7.4.2 Activities in the OffPostOS Sequence).
Note: In some cases of HW/SW concurrency, it may happen that during the power
down in EcuM_AL_SwitchOff (endless loop) some hardware (e.g. a CAN transceiver)
switches on the ECU again.
In this case the ECU may be in a deadlock until the
hardware watchdog resets the ECU. To reduce the time until the hardware watchdog
fixes this deadlock, the integrator code in EcuM_AL_SwitchOff as last action can limit
the endless loop and after a sufficient long time reset the ECU using Mcu_Perform
Reset().
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Mcu_PerformReset called if switch-off fails
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_ECUStateManager.pdf |
|---|---|
| Dokumentseite | Seite 141 |
| Ziel-Modul | ecum (classic) |
| Ziel-Anforderung | SWS_Mcu_00160 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.85 |