This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES106A | 42 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_UpdNvmPim | 563-572,864-886 | I | |
ES106A | 22 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_GetSigStHlthData,StHlthSigStc_UpdDataSample | 507,561,760-809,917-953 | I | |
ES106A | 24 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_UpdNvmPim | 562-571,863-885 | I | |
ES106A | 26 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 486-581 | I | |
ES106A | 20 | StHlthSigStc.c | StHlthSigStcInit1 | 412-421 | I | |
ES106A | 21 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_GetSigStHlthData,StHlthSigStc_UpdDataSample | 506,560,759-808,916-952 | I | |
ES106A | 48 | StHlthSigStc.c | StHlthSigStcInit1 | 358-391 | I | |
ES106A | 49 | StHlthSigStc.c | StHlthSigStcInit1 | 372-375 | I | |
ES106A | 44 | StHlthSigStc.c | StHlthSigStcInit1 | 398-406 | I | |
ES106A | 45 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 502 | I | |
ES106A | 28 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 487-582 | I | |
ES106A | 43 | StHlthSigStc.c | StHlthSigStcInit1 | 349-392 | I | |
ES106A | 40 | StHlthSigStc.c | ClrSigStcHlthData_Oper,StHlthSigStc_ClrDataSample | 216-232,676-707 | I | |
ES106A | 5 | StHlthSigStc.c | StHlthSigStc_UpdNvmPim | 147 | I | |
ES106A | 7 | StHlthSigStc.c | StHlthSigStc_UpdNvmPim | 149 | I | |
ES106A | 6 | StHlthSigStc.c | StHlthSigStc_UpdNvmPim | 148 | I | |
ES106A | 8 | StHlthSigStc.c | StHlthSigStc_UpdNvmPim | 150 | I | |
ES106A | 11 | StHlthSigStc.c | UpdStHlthStcData_Oper | 632-648 | I | |
ES106A | 39 | StHlthSigStc.c | ClrSigStcHlthData_Oper,StHlthSigStc_ClrDataSample | 215-231,675-706 | I | |
ES106A | 12 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 463-580 | I | |
ES106A | 15 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_GetSigStHlthData,StHlthSigStc_UpdDataSample | 504,558,757-806,914-950 | I | |
ES106A | 14 | StHlthSigStc.c | StHlthSigStcInit1 | 410-419 | I | |
ES106A | 17 | StHlthSigStc.c | StHlthSigStcInit1 | 411-420 | I | |
ES106A | 33 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 491-586 | I | |
ES106A | 32 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 490-585 | I | |
ES106A | 31 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 489-584 | I | |
ES106A | 30 | StHlthSigStc.c | StHlthStcPwrDwn_Oper | 488-583 | I | |
ES106A | 37 | StHlthSigStc.c | StHlthSigStc_GetSigStHlthData | 737-843 | I | |
ES106A | 50 | StHlthSigStc.c | StHlthSigStcInit1 | 383-389 | I | |
ES106A | 35 | StHlthSigStc.c | UpdStHlthStcData_Oper | 633-649 | I | |
ES106A | 52 | StHlthSigStc.c | StHlthSigStcInit1 | 394-422 | I | |
ES106A | 18 | StHlthSigStc.c | StHlthStcPwrDwn_Oper,StHlthSigStc_GetSigStHlthData,StHlthSigStc_UpdDataSample | 505,559,758-807,915-951 | I |
2 - StHlthSigStc Review
Overview
Summary SheetSynergy Project
Davinci Files
Source Code
MDD
PolySpace
Integration Manual
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
Sheet 3: Davinci Files
Sheet 4: Source Code
Rev 1.2 | 8-Jun-15 | |||||||||||||||||||||||
Peer Review Meeting Log (Source Code Review) | ||||||||||||||||||||||||
Source File Name: | StHlthSigStc.c | Source File Revision: | 3 | |||||||||||||||||||||
Header File Name: | StHlthSigStc.h | Header File Revision: | ||||||||||||||||||||||
MDD Name: | StHlthSigStc_MDD.doc | Revision: | 3 | |||||||||||||||||||||
FDD/SCIR/DSR/FDR/CM Name: | ES106A_StHlthSigStc_Design | Revision: | 2.3.0 | |||||||||||||||||||||
Quality Check Items: | ||||||||||||||||||||||||
Rationale is required for all answers of No | ||||||||||||||||||||||||
Working EA4 Software Naming Convention followed: | ||||||||||||||||||||||||
for variable names | Yes | Comments: | ||||||||||||||||||||||
for constant names | N/A | Comments: | ||||||||||||||||||||||
for function names | N/A | Comments: | ||||||||||||||||||||||
for other names (component, memory | Yes | Comments: | ||||||||||||||||||||||
mapping handles, typedefs, etc.) | ||||||||||||||||||||||||
All paths assign a value to outputs, ensuring | N/A | Comments: | ||||||||||||||||||||||
all outputs are initialized prior to being written | ||||||||||||||||||||||||
Requirements Tracability tags in code match the requirements tracability in the FDD | N/A | Comments: | ||||||||||||||||||||||
requirements tracability in the FDD | ||||||||||||||||||||||||
All variables are declared at the function level. | Yes | Comments: | ||||||||||||||||||||||
Synergy version matches change history | Yes | Comments: | ||||||||||||||||||||||
and Version Control version in file comment block | ||||||||||||||||||||||||
Change log contains detailed description of changes | Yes | Comments: | ||||||||||||||||||||||
and Work CR number | ||||||||||||||||||||||||
Code accurately implements FDD (Document or Model) | Yes | Comments: | Functionally matches the FDD | |||||||||||||||||||||
Verified no Compiler Errors or Warnings | Yes | Comments: | ||||||||||||||||||||||
Component.h is included | Yes | Comments: | ||||||||||||||||||||||
All other includes are actually needed. (System includes | Yes | Comments: | ||||||||||||||||||||||
only allowed in Nexteer library components) | ||||||||||||||||||||||||
Software Design and Coding Standards followed: | Version: 2.1 | |||||||||||||||||||||||
Code comments are clear, correct, and adequate | Yes | Comments: | ||||||||||||||||||||||
and have been updated for the change: [N40] and | ||||||||||||||||||||||||
all other rules in the same section as rule [N40], | ||||||||||||||||||||||||
plus [N75], [N12], [N23], [N33], [N37], [N38], | ||||||||||||||||||||||||
[N48], [N54], [N77], [N79], [N72] | ||||||||||||||||||||||||
Source file (.c and .h) comment blocks are per | Yes | Comments: | ||||||||||||||||||||||
standards and contain correct information: [N41], [N42] | ||||||||||||||||||||||||
Function comment blocks are per standards and | Yes | Comments: | ||||||||||||||||||||||
contain correct information: [N43] | ||||||||||||||||||||||||
Code formatting (indentation, placement of | Yes | Comments: | ||||||||||||||||||||||
braces, etc.) is per standards: [N5], [N55], [N56], | ||||||||||||||||||||||||
[N57], [N58], [N59] | ||||||||||||||||||||||||
Embedded constants used per standards; no | Yes | Comments: | ||||||||||||||||||||||
"magic numbers": [N12] | ||||||||||||||||||||||||
Memory mapping for non-RTE code | Yes | Comments: | ||||||||||||||||||||||
is per standard | ||||||||||||||||||||||||
All execution-order-dependent code can be | Yes | Comments: | ||||||||||||||||||||||
recognized by the compiler: [N80] | ||||||||||||||||||||||||
All loops have termination conditions that ensure | N/A | Comments: | ||||||||||||||||||||||
finite loop iterations: [N63] | ||||||||||||||||||||||||
All divides protect against divide by zero | N/A | Comments: | ||||||||||||||||||||||
if needed: [N65] | ||||||||||||||||||||||||
All integer division and modulus operations | N/A | Comments: | ||||||||||||||||||||||
handle negative numbers correctly: [N76] | ||||||||||||||||||||||||
All typecasting and fixed point arithmetic, | N/A | Comments: | ||||||||||||||||||||||
including all use of fixed point macros and | ||||||||||||||||||||||||
timer functions, is correct and has no possibility | ||||||||||||||||||||||||
of unintended overflow or underflow: [N66] | ||||||||||||||||||||||||
All float-to-unsiged conversions ensure the. | N/A | Comments: | ||||||||||||||||||||||
float value is non-negative: [N67] | ||||||||||||||||||||||||
All conversions between signed and unsigned | N/A | Comments: | ||||||||||||||||||||||
types handle msb==1 as intended: [N78] | ||||||||||||||||||||||||
All pointer dereferencing protects against | Yes | Comments: | ||||||||||||||||||||||
null pointer if needed: [N70] | ||||||||||||||||||||||||
Component outputs are limited to the legal range | N/A | Comments: | ||||||||||||||||||||||
defined in the FDD DataDict.m file : [N53] | ||||||||||||||||||||||||
All code is mapped with FDD (all FDD | Yes | Comments: | ||||||||||||||||||||||
subfunctions and/or model blocks identified | ||||||||||||||||||||||||
with code comments; all code corresponds to | ||||||||||||||||||||||||
some FDD subfunction and/or model block): [N40] | ||||||||||||||||||||||||
Review did not identify violations of other | Yes | Comments: | ||||||||||||||||||||||
coding standard rules | ||||||||||||||||||||||||
Anomaly or Design Work CR created | Yes | Comments: List Anomaly or CR numbers | ||||||||||||||||||||||
for any FDD corrections needed | EA4#7781 | |||||||||||||||||||||||
General Notes / Comments: | ||||||||||||||||||||||||
Change Owner: | Akilan Rathakrishnan | Review Date : | 09/30/16 | |||||||||||||||||||||
Lead Peer Reviewer: | Krishna Anne | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
Other Reviewer(s): | ||||||||||||||||||||||||
Sheet 5: MDD
Sheet 6: PolySpace
Sheet 7: Integration Manual
3 - StHlthSigStc_IntegrationManual
Integration Manual
For
State of Health Signal Statistics
VERSION: 4.0
DATE: 27-Sep-2016
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Akilan Rathakrishnan | 1.0 | 15-Feb-2016 |
2 | EA4#4910 fix | Akilan Rathakrishnan | 2.0 | 28-Mar-2016 |
3 | EA4#5553 update | Akilan Rathakrishnan | 3.0 | 02-May-2016 |
4 | EA4#7307 | Akilan Rathakrishnan | 4.0 | 27-Sep-2016 |
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4 Configuration REQUIREMeNTS 7
4.2 Configuration Files to be provided by Integration Project 7
4.3 Da Vinci Parameter Configuration Changes 7
4.4 DaVinci Interrupt Configuration Changes 8
4.5 Manual Configuration Changes 8
5 Integration DATAFLOW REQUIREMENTS 9
5.1 Required Global Data Inputs 9
5.2 Required Global Data Outputs 9
5.3 Specific Include Path present 9
Abbrevations And Acronyms
Abbreviation | Description |
DFD | Design functional diagram |
MDD | Module design Document |
<ADD more to the table if applicable> | |
References
This section lists the title & version of all the documents that are referred for development of this document
Sr. No. | Title | Version |
<1> | <FDD - <FDD ES106A_StHlthSigStc_Design> | Refer Synergy subproject version |
Dependencies
SWCs
Module | Required Feature |
None | N/A |
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.
Global Functions(Non RTE) to be provided to Integration Project
See section 6. Please note the server runnables listed can be used as needed in the integration project and can be called via the RTE or outside of the RTE as required
Non-Trusted Function | Parameters | Notes |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdNvmPim | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. | |
NONTRUSTED_NtWrapS_StHlthSigStc_ClrDataSample | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. | |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdDataSample | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. |
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
None |
Configuration Files to be provided by Integration Project
StHlthSigStc_Cfg.c
StHlthSigStc_Cfg.h
Note: Include “StHlthSigStc_Cfg.h” in the “Rte_UserTypes.h” file since user defined typedefs are generated in this file.
Da Vinci Parameter Configuration Changes
Following configurations shall be made in DaVinci configurator for the component.
There are three containers that need to be instantiated for this components configuration.
StHlthSigStcApplicationConfigs : OS application in which this component is scheduled to run shall be configured in this container.
Parameter Name | Parameter Value |
OS Application Reference | Application in which ES106A scheduled |
StHlthSigStcCrConfigLists: List of CRC constants that are need to be checked for NvM validation shall be configured in this container. Each CRC constant shall have one entry.
Below table indicates list of CRC values currently considered.
Parameter Name | Parameter Value |
StHlthSigStcCrcStartSymbol | Application CRC symbol name |
StHlthSigStcSignalLists: This list shall have one entry for every monitored signal.
Following set of information shall be configured for every signal:
Singal Name: Signal name of the State of Health signal (mentioned in the below table).
Task Id: Task id of the task in which the periodic(s) from the FDD, mentioned against respective signal in the below table, is scheduled.
Loop time: Loop time of the task with 1 micro second resolution.
Signal Name | FDD |
CtrlrTStHlth | ES210A_EcuTMeas |
OutpAssiStHlth | ES259A_BattVltgCorrln |
DigTqSnsrAStHlth | ES229A_HwTqCorrln |
DigTqSnsrBStHlth | ES229A_HwTqCorrln |
DigTqIdptSigStHlth | ES229A_HwTqCorrln |
DutyCycStHlth | SF009A_DutyCycThermProtn |
EotImpctStHlth | SF011A_EotLrng |
MotPosStHlth | ES241A_MotAg2Meas |
AbsltMotPosABDifStHlth | ES249A_MotAgCorrln |
AbsltMotPosACDifStHlth | ES249A_MotAgCorrln |
AbsltMotPosBCDifStHlth | ES249A_MotAgCorrln |
CurrMotSumABCStHlth | ES209A_CurrMeasCorrln |
CurrMotSumDEFStHlth | ES209A_CurrMeasCorrln |
PhaAStHlth | ES320A_MotDrvDiagc |
PhaBStHlth | ES320A_MotDrvDiagc |
PhaCStHlth | ES320A_MotDrvDiagc |
PhaDStHlth | ES320A_MotDrvDiagc |
PhaEStHlth | ES320A_MotDrvDiagc |
PhaEStHlth | ES320A_MotDrvDiagc |
RamEccSngBitCorrnStHlth | CM103A_RamMem |
FricEstimnStHlth | SF007A_SysFricLrng |
WhlImbMaxCmpStHlth | SF015A_WhlImbRejctn |
DaVinci Interrupt Configuration Changes
ISR Name | VIM # | Priority Dependency | Notes |
N/A |
Manual Configuration Changes
Constant | Notes | SWC |
N/A |
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file
Required Global Data Outputs
Refer DataDict.m file
Specific Include Path present
Yes
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
StHlthSigStcInit1 | Invoked by RTE during Init | RTE |
Runnable | Scheduling Requirements | Trigger |
ClrSigStcHlthData_Oper | Server Runnable | Client Call |
GetSigStcHlthData_Oper | Server Runnable | Client Call |
StHlthStcPwrDwn_Oper | Server Runnable | Client Call |
UpdStHlthStcData_Oper | Server Runnable | Client Call |
NONTRUSTED_NtWrapS_StHlthSigStc_ClrDataSample | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_ClrDataSample) | On Event |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdNvmPim | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_UpdNvmPim) | On Event |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdDataSample | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_UpdDataSample) | On Event |
Memory Map REQUIREMENTS
Mapping
Memory Section | Contents | Notes |
None | ||
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
Feature | RAM | ROM |
None |
Table 1: ARM Cortex R4 Memory Usage
Non RTE NvM Blocks
Block Name |
None |
Note : Size of the NVM block if configured in developer
RTE NvM Blocks
Block Name |
SigStcHistDataAry |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
<This section is for appendix>
4 - StHlthSigStc_MDD
Module Design Document
For
State of Health Signal Statistics
Sep 27, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USAChange History
Sl. No. | Description | Author | Version | Date |
1 | Initial Version | Akilan Rathakrishnan | 1.0 | 15-Feb-2016 |
2 | Updated for EA4#5553 | Akilan Rathakrishnan | 2.0 | 04-May-2016 |
3 | Updated for EA4#7307 | Akilan Rathakrishnan | 3.0 | 27-Sep-2016 |
Table of Contents
1 StHlthSignStc High-Level Description 5
2 Design details of software module 6
Graphical representation of StHlthSigStc 6
3.1 User defined typedef definition/declaration 7
3.2 Variable definition for enumerated types 7
4.1.2 Module specific Lookup Tables Constants 8
5 Software Module Implementation 9
5.1.1 Initialization Functions: StHlthSigStcInit1 9
5.1.4 Server Runnable Functions 9
5.1.4.1 ClrSigStcHlthData_Oper 9
5.1.4.2 GetSigStcHlthData_Oper 9
5.1.4.3 StHlthStcPwrDwn_Oper 9
5.1.4.4 UpdStHlthStcData_Oper 9
5.1.5 Module Internal (Local) Functions 9
5.1.7 Global Function/Macro Definitions 10
6 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
StHlthSignStc High-Level Description
This component shall collect State of Health data signals from other component(s) and shall compute following statistical values for each signal: Minimum, Maximum, Average and Life Cycle Sample counter. This component shall provide statistical data for ignition cycle and for life cycle for each signal upon request.
Design details of software module
See FDD.
Graphical representation of StHlthSigStc
Data Flow Diagram
See FDD.
Component level DFD
See FDD.
Function level DFD
See FDD.
Variable Data Dictionary
User defined typedef definition/declaration
<This section documents any user types uniquely used for the module.>
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
Ary1D_u8_ StHlthSigStc1 | Array | uint8 | 0 | 65535 |
Ary1D_u32_ StHlthSigStc1 | Array | uint32 | 0 | 65535 |
StHlthSigStcPrmRec1 | GetStHlthDataOper | uint8 (*GetDataOper)(void ) | 0 | 4294967295 |
SamplePerSec | uint16 | 0 | 65535 | |
TaskRef | TaskType | 0 | 255 | |
RamStorgOffs | uint8 | 0 | 255 | |
NvmStorgOffs | uint8 | 0 | 255 | |
StHlthSigStcCrcAdrRec1 | * CrcStrtAdr | uint32 | 0 | 4294967295 |
StHlthSigStcPrmRec1 | *SigPrm | StHlthSigStcPrmRec1 | 0 | 4294967295 |
*CrcAdr | StHlthSigStcCrcAdrRec1 | 0 | 4294967295 |
Ary1D_u8_StHlthSigStc1 – Typedef for Ram buffer where State of Health Statistical data is kept for the current Ignition cycle. Size of this array is configurable.
Ary1D_u32_ StHlthSigStc1 – Typedef for Ignition cycle sample counter. Size of this array is configurable.
Variable definition for enumerated types
Enum Name | Element Name | Value |
See DataDict.m file |
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
Constant Name | Resolution | Units | Value |
See DataDict.m file | |||
CRCBUFSIZE_CNT_U08 | 1 | Cnt | (WORDSIZE_CNT_U08*NROFCRCAREA_CNT_U08) |
* Also see see FDD ES106A_StHlthSigStc_DataDict.m file
Global
<This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application>
Constant Name |
See DataDict.m file |
Module specific Lookup Tables Constants
<(This is for lookup tables (arrays) with fixed values, same name as other tables)>
Constant Name | Resolution | Value | Software Segment |
StHlthSigStcCfgRecInst | StHlthSigStcCfgRec1 | Configured | StHlthSigStc_CONST |
Software Module Implementation
Sub-Module Functions
None
Initialization Functions: StHlthSigStcInit1
See DataDict.m file and model. This function exists in “StHlthSigStc.c” file.
PERIODIC FUNCTIONS
None
Interrupt Functions
None
Server Runnable Functions
ClrSigStcHlthData_Oper
See DataDict.m file and model. This function exists in “StHlthSigStc.c” file.
GetSigStcHlthData_Oper
See DataDict.m file and model. This function exists in “StHlthSigStc.c” file.
StHlthStcPwrDwn_Oper
See DataDict.m file and model. This function exists in “StHlthSigStc.c” file.
UpdStHlthStcData_Oper
See DataDict.m file and model. This function exists in “StHlthSigStc.c” file.
Module Internal (Local) Functions
Local Function #1
Function Name | StHlthSigStc_ClrDataSample | Type | Min | Max |
Arguments Passed | TarSel_Uls_T_logl | boolean | FALSE | TRUE |
Return Value | None | N/A | N/A | N/A |
Description
This function implements “StHlthStcPwrDwn” function in the FDD.
Local Function #2
Function Name | StHlthSigStc_GetSigStHlthData | Type | Min | Max |
Arguments Passed | SigId_Uls_T_enum | StHlthMonSig3 | 0 | 21 |
TarAdr | uint8* | 0x0000000 | 0xFFFFFFFF | |
Return Value | None | N/A | N/A | N/A |
Description
This function implements “GetSigStcHlthData” function in the FDD.
Local Function #3
Function Name | StHlthSigStc_UpdNvmPim | Type | Min | Max |
Arguments Passed | NvmPim_Ptr_T_u08 | uint8* | 0x0000000 | 0xFFFFFFFF |
NvmMaxVal_Uls_T_u08 | uint8 | 0 | 100 | |
NvmMinVal_Uls_T_u08 | uint8 | 0 | 100 | |
NvmAvrgVal_Uls_T_u08 | uint8 | 0 | 100 | |
NvmSampleCnt_Uls_T_u32 | Uint32 | 0 | Max of u32 | |
Return Value | None | N/A | N/A | N/A |
Description
This function implements “Update Nvm” function in the FDD.
Local Function #4
Function Name | StHlthSigStc_UpdDataSample | Type | Min | Max |
Arguments Passed | TaskRef_Uls_T_u08 | uint8 | 0 | 255 |
Return Value | None | N/A | N/A | N/A |
Description
This function implements “Update Nvm” function in the FDD.
Transition Functions
None.
Global Function/Macro Definitions
Global Function #1
Function Name | NONTRUSTED_NtWrapS_StHlthSigStc_UpdDataSample | Type | Min | Max |
Arguments Passed | FunctionIndex | NonTrustedFunctionIndexType | 0 | 65535 |
FunctionParams | NonTrustedFunctionParameterRefType | 0 | 0xFFFFFF | |
Return Value | void |
Description
Implements Nontrusted function wrapper for UpdDataSample. This will be called from UpdStHlthStcData_Oper upon client invocation.
Global Function #2
Function Name | NONTRUSTED_NtWrapS_StHlthSigStc_UpdNvmPim | Type | Min | Max |
Arguments Passed | FunctionIndex | NonTrustedFunctionIndexType | 0 | 65535 |
FunctionParams | NonTrustedFunctionParameterRefType | 0 | 0xFFFFFF | |
Return Value | void |
Description
Implements Nontrusted function wrapper for UpdNvmPim. This will be called from StHlthStcPwrDwn_Oper upon client invocation.
Global Function #3
Function Name | NONTRUSTED_NtWrapS_StHlthSigStc_ClrDataSample | Type | Min | Max |
Arguments Passed | FunctionIndex | NonTrustedFunctionIndexType | 0 | 65535 |
FunctionParams | NonTrustedFunctionParameterRefType | 0 | 0xFFFFFF | |
Return Value | void |
Description
Implements Nontrusted function wrapper for UpdNvmPim. This will be called from ClrSigStcHlthData_Oper upon client invocation.
Known Limitations with Design
Following constants are not used in the implementation even though they defined in the .m file. It is only used for the purpose of model simulation.
SHIFTFAC16_ULS_U08
SHIFTFAC24_ULS_U08
SHIFTFAC8_ULS_U08
Implementation uses different name for following PIM variables that are defined in .m file:
SigStcPrmInst
CrcInst
UNIT TEST CONSIDERATION
Config files in the contract folder are for a test project with sample configurations for two monitored signals CtrlrTStHlth and OutpAssiStHlth.
Abbreviations and Acronyms
Abbreviation or Acronym | Description |
---|---|
DFD | Design functional diagram |
MDD | Module design Document |
FDD | Functional Design Document |
Glossary
Note: Terms and definitions from the source “Nexteer Automotive” take precedence over all other definitions of the same term. Terms and definitions from the source “Nexteer Automotive” are formulated from multiple sources, including the following:
ISO 9000
ISO/IEC 12207
ISO/IEC 15504
Automotive SPICE® Process Reference Model (PRM)
Automotive SPICE® Process Assessment Model (PAM)
ISO/IEC 15288
ISO 26262
IEEE Standards
SWEBOK
PMBOK
Existing Nexteer Automotive documentation
Term | Definition | Source |
---|---|---|
MDD | Module Design Document | |
DFD | Data Flow Diagram |
References
Ref. # | Title | Version |
---|---|---|
1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
2 | MDD Guideline | EA4 01.00.00 |
3 | Software Naming Conventions.doc | 1.0 |
4 | Software Design and Coding Standards.doc | 2.0 |
5 | FDD: ES106A_StHlthSigStc_Design | See Synergy subproject version |