MICROSAR Wdg
Technical Reference
General
Version 3.01.00
Authors
Matthias Scheid
Status
Released
Technical Reference MICROSAR Wdg
© 2016 Vector Informatik GmbH Version 3.01.00 2
based on template version 6.0.0
Document Information
History
Author
Date
Version
Remarks
Matthias Scheid
2016-02-05
3.00.00
Creation of DocTechRef
Matthias Scheid
2016-07-26
3.01.00
Renamed MemMap sections
Reference Documents
No.
Source
Title
Version
[1]
AUTOSAR
AUTOSAR_SWS_WatchdogDriver.pdf
V2.5.0
[2]
AUTOSAR
AUTOSAR_SWS_DET.pdf
V3.2.0
[3]
AUTOSAR
AUTOSAR_SWS_DEM.pdf
V4.2.0
[4]
AUTOSAR
AUTOSAR_BasicSoftwareModules.pdf
V1.0.0
[5]
AUTOSAR
AUTOSAR_SWS_WatchdogInterface.pdf
V2.5.0
Scope of the Document
This technical reference describes the general use of the Watchdog driver basis software.
All aspects which are Watchdog controller specific are described in the hardware specific
document, which is also part of the delivery.
Caution
We have configured the programs in accordance with your specifications in the
questionnaire. Whereas the programs do support other configurations than the one
specified in your questionnaire, Vector´s release of the programs delivered to your
company is expressly restricted to the configuration you have specified in the
questionnaire.
Technical Reference MICROSAR Wdg
© 2016 Vector Informatik GmbH Version 3.01.00 3
based on template version 6.0.0
Contents
1 Component History ...................................................................................................... 6
2 Introduction................................................................................................................... 7
2.1 Architecture Overview ........................................................................................ 8
3 Functional Description ................................................................................................. 9
3.1 Features ............................................................................................................ 9
3.1.1 Deviations .......................................................................................... 9
3.1.2 Additions/ Extensions ......................................................................... 9
3.1.3 ASR3 compatibility ............................................................................. 9
3.1.4 Modes .............................................................................................. 10
3.2 Initialization ...................................................................................................... 10
3.3 Initial timeout .................................................................................................... 10
3.4 Error Handling .................................................................................................. 10
3.4.1 Development Error Reporting ........................................................... 10
3.4.2 Production Code Error Reporting ..................................................... 11
4 Integration ................................................................................................................... 12
4.1 Scope of Delivery ............................................................................................. 12
4.1.1 Static Files ....................................................................................... 12
4.1.2 Dynamic Files .................................................................................. 12
4.2 Critical Sections ............................................................................................... 12
4.3 Compiler Abstraction and Memory Mapping ..................................................... 13
4.4 Autosar 3 compatibility ..................................................................................... 13
5 API Description ........................................................................................................... 14
5.1 Type Definitions ............................................................................................... 14
5.2 Services provided by Wdg ............................................................................... 14
5.2.1 Wdg_Init ........................................................................................... 14
5.2.2 Wdg_SetTriggerCondition ................................................................ 15
5.2.3 Wdg_SetMode ................................................................................. 15
5.2.4 Wdg_GetVersionInfo ........................................................................ 16
5.2.5 Wdg_Trigger .................................................................................... 16
5.3 Services used by Wdg ..................................................................................... 17
5.4 Callback Functions ........................................................................................... 17
5.4.1 Wdg_Cbk_GptNotificationTrigger ..................................................... 17
6 Glossary and Abbreviations ...................................................................................... 19
6.1 Glossary .......................................................................................................... 19
Technical Reference MICROSAR Wdg
© 2016 Vector Informatik GmbH Version 3.01.00 4
based on template version 6.0.0
6.2 Abbreviations ................................................................................................... 19
7 Contact ........................................................................................................................ 20
Technical Reference MICROSAR Wdg
© 2016 Vector Informatik GmbH Version 3.01.00 5
based on template version 6.0.0
Illustrations
Figure 2-1 AUTOSAR 4.x Architecture Overview ......................................................... 8
Tables
Table 1-1 Component history...................................................................................... 6
Table 3-1 Supported AUTOSAR standard conform features ....................................... 9
Table 3-2 Not supported AUTOSAR standard conform features ................................. 9
Table 3-3 Features provided beyond the AUTOSAR standard .................................... 9
Table 3-4 Service IDs ............................................................................................... 10
Table 3-5 Errors reported to DET ............................................................................. 11
Table 3-6 Errors reported to DEM ............................................................................. 11
Table 4-1 Static files ................................................................................................. 12
Table 4-2 Generated files ......................................................................................... 12
Table 4-3 Compiler Abstraction and Memory Mapping ............................................. 13
Table 5-1 Type definitions ......................................................................................... 14
Table 5-2 Wdg_Init ................................................................................................... 14
Table 5-3 Wdg_SetTriggerCondition ......................................................................... 15
Table 5-4 Wdg_SetMode .......................................................................................... 15
Table 5-5 Wdg_SetMode .......................................................................................... 16
Table 5-6 Wdg_SetMode .......................................................................................... 16
Table 5-7 Services used by the Wdg ........................................................................ 17
Table 5-8 Wdg_SetMode .......................................................................................... 18
Table 6-1 Glossary ................................................................................................... 19
Table 6-2 Abbreviations ............................................................................................ 19