CLASSIC
Modul: det
Rolle: heuristic
Konfidenz: 85%
SNIP_CLASSIC_DET_SECTION_3_BSW
Wortlaut
R23-11 AUTOSAR_CP_EXP_LayeredSoftwareArchitecture Integration and Runtime Aspects - Error Handling, Reporting and Diagnostic Default Error Tracer – Example: Development Error Reporting API The Default Error Tracer has the following API for reporting development errors (runtime errors and transient faults use identical APIs with different names): Det_ReportError(uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId) Error numbering concept ModuleId (uint16) The Module ID contains the AUTOSAR module ID from the Basic Software Module List. As the range is 16 Bit, future extensions for development error reporting of application SW-C are possible. The Basic SW uses only the range from 0..255. InstanceId (uint8) The Instance ID represents the identifier of an indexed based module starting from 0. If the module is a single instance module it shall pass 0 as an instance ID. ApiId (uint8) The API-IDs are specified within the software specifications of the BSW modules. They can be #defines or constants defined in the module starting with 0. ErrorId (uint8) The Error IDs are specified within the software specifications of the BSW modules. They can be #defines defined in the module‘s header file. If there are more errors detected by a particular software module which are not specified within the AUTOSAR module software specification, they have to be documented in the module documentation. All Error-IDs have to be specified in the BSW description. page id: ki87z
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Semantics of ModuleId, InstanceId, ApiId, ErrorId
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | EXP_LayeredSoftwareArchitecture.pdf |
|---|---|
| Dokumentseite | Seite 157 |
| Ziel-Modul | det (classic) |
| Ziel-Anforderung | SWS_Det_00203 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.85 |