This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - FordMsg202BusHiSpd_IntegrationManual
Integration Manual
For
FordMsg202BusHiSpd
VERSION: 1.0
DATE: 20-Dec-2017
Prepared By:
TATA
Trivandrum, INDIA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial version | TATA | 1.0 | 12/20/2017 |
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 7
4.5 Manual Configuration Changes 7
5 Integration DATAFLOW REQUIREMENTS 8
5.1 Required Global Data Inputs 8
5.2 Required Global Data Outputs 8
5.3 Specific Include Path present 8
Abbrevations And Acronyms
| Abbreviation | Description |
| DFD | Design Functional Diagram |
| MDD | Module Design Document |
| FDD | Functional Design Document |
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: MM061A_FordMsg202BusHiSpd_Design_2.1.0 | See synergy sub project version |
| 2 | Software Naming Conventions | 1.0 |
| 3 | Software Coding Standards | 2.1 |
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
ComIPduCallout_EngVehicleSpThrottle2_HS2, ComTimeoutNotification_Ford_VehVActlEng_D_Qf
Configuration REQUIREMeNTS
Build Time Config
| Modules | Notes | |
| None | N/A |
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
| Parameter | Notes | SWC |
| None | N/A |
DaVinci Interrupt Configuration Changes
| ISR Name | VIM # | Priority Dependency | Notes |
| None | N/A |
Manual Configuration Changes
| Constant | Notes | SWC |
| None | 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
No
Runnable Scheduling
This section specifies the required runnable scheduling.
| Init | Scheduling Requirements | Trigger |
| FordMsg202BusHiSpdInit1 | None | RTE Init |
| Runnable | Scheduling Requirements | Trigger |
| FordMsg202BusHiSpdPer1 | None | RTE (10ms) |
| Srv Runnable | Scheduling Requirements | Trigger |
| ComIPduCallout_EngVehicleSpThrottle2_HS2 | None | On invocation of ComIPduCallout_EngVehicleSpThrottle2_HS2.Oper(NON-RTE) |
| Srv Runnable | Scheduling Requirements | Trigger |
| ComTimeoutNotification_Ford_VehVActlEng_D_Qf | None | On invocation of ComTimeoutNotification_Ford_VehVActlEng_D_Qf. Oper(NON-RTE) |
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 |
| None |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - FordMsg202BusHiSpd_MDD
Module Design Document
For
FordMsg202BusHiSpd
June 19, 20157
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Tata Elxsi,
Trivandrum, INDIA
Change History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial Version | TATA | 1.0 | 20-Dec-2017 |
Table of Contents
2 FordMsg202BusHiSpd & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of FordMsg202BusHiSpd 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.1 Init: FordMsg202BusHiSpdInit1 9
5.1.2 Per: FordMsg202BusHiSpdPer 9
5.1.2.4 Store Local copy of outputs into Module Outputs 9
5.2.1 ComIPduCallout_EngVehicleSpThrottle2_HS2 9
5.2.2 ComTimeoutNotification_Ford_VehVActlEng_D_Qf 9
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 14
6 Known Limitations with Design 15
Appendix A Abbreviations and Acronyms 17
Introduction
Purpose
MDD for FordMsg202BusHiSpd
FordMsg202BusHiSpd & High-Level Description
Please refer FDD.
Design details of software module
Graphical representation of FordMsg202BusHiSpd

Data Flow Diagram
Component level DFD
Please refer FDD.
Function level DFD
Please refer FDD.
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
| Please refer Data Dictionary .m file | NA | NA | NA |
Software Component Implementation
Sub-Module Functions
Init: FordMsg202BusHiSpdInit1
5.1.1.1 Design Rationale
None
5.1.1.2 Module Outputs
None
5.1.2 Per: FordMsg202BusHiSpdPer
5.1.2.1 Design Rationale
None
5.1.2.2 Store Module Inputs to Local copies
None
5.1.2.3 Processing of function
None
5.1.2.4 Store Local copy of outputs into Module Outputs
None
Server Runnables
5.2.1 ComIPduCallout_EngVehicleSpThrottle2_HS2
5.2.1.1 Design Rationale
None
5.2.1.2 Processing of function
None
5.2.2 ComTimeoutNotification_Ford_VehVActlEng_D_Qf
5.2.2.1 Design Rationale
None
5.2.2.2 Processing of function
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
| Function Name | DiagEna | Type | Min | Max |
| Arguments Passed | ClrDiagcFlgProxy_Cnt_T_u08 | uint8 | 0U | 1U |
| FordAbsPrsnt_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordTqSteerCmpEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordMissMsgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordMfgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordCanDtcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordBrkOscnRednEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordTrlrBackupAssiEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordInvldMsgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| * MissMsgNtcFail_Cnt_T_logl | boolean | False | True | |
| * MissMsgNtcPass_Cnt_T_logl | boolean | False | True | |
| * InvldMsgQlyFacDiagEna_Cnt_T_logl | boolean | False | True | |
| * InvldMsgGearRevDiagEna_Cnt_T_logl | boolean | False | True | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/DiagEna
Local Function #2
| Function Name | CalSeln | Type | Min | Max |
| Arguments Passed | FordEpsLifeCycMod_Cnt_T_u08 | uint8 | 0U | 1U |
| FordAbsPrsnt_Cnt_T_u08 | uint8 | 0U | 1U | |
| * BusHiSpdMissMsgFaildThd_Cnt_T_u16 | uint16 | 0U | 6000U | |
| * BusHiSpdGearRvStsInvldFaildThd_Cnt_T_u16 | uint16 | 0U | 6000U | |
| *BusHiSpdQlyFacEngModInvldFaildThd_Cnt_T_u16 | uint16 | 0U | 6000U | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/CalSeln
Local Function #3
| Function Name | VldFalse | Type | Min | Max |
| Arguments Passed | *FordVehGearRvsStsVld_Cnt_T_logl | boolean | False | True |
| * FordVehSpdEngModlVld_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModLoQlyVld_Cnt_T_logl | boolean | False | True | |
| * FordVehTrlrBackupAssiAvlVld_Cnt_T_logl | boolean | False | True | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgMiss/VldFalse
5.4.4 Local Function #4
| Function Name | SigProcg | Type | Min | Max |
| Arguments Passed | Ford_GearRvrse_D_Actl1_Cnt_T_enum | enum.Ford_GearRvrse_D_Actl | 0U | 7U |
| Ford_Veh_V_ActlEng_Cnt_T_u16 | uint16 | 0U | 65535U | |
| Ford_VehVActlEng_D_Qf1_Cnt_T_enum | enum.Ford_VehVActlEng_D_Qf | 0U | 3U | |
| Ford_VehVActlEng_No_Cnt_Cnt_T_u08 | uint8 | 0U | 15U | |
| Ford_VehVActlEng_No_Cs_Cnt_T_u08 | uint8 | 0U | 255U | |
| Ford_VehVTrlrAid_B_Avail1_Cnt_T_enum | enum.Ford_VehVTrlrAid_B_Avail | False | True | |
| * FordVehGearRvsStsRaw_Cnt_T_u08 | uint8 | 0U | 7U | |
| * FordVehGearRvsSts_Cnt_T_enum | enum.Ford_GearRvrse_D_Actl | 0U | 7U | |
| * FordVehGearRvsStsVld_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModlRaw_Cnt_T_u16 | uint16 | 0U | 65535U | |
| * FordVehSpdEngModl_Kph_T_f32 | Float32 | 0F | 655.35F | |
| * FordVehSpdQlyFacEngModl_Cnt_T_enum | enum.Ford_VehVActlEng_D_Qf | 0U | 3U | |
| * FordVehSpdCntrEngModl_Cnt_T_u08 | uint8 | 0U | 15U | |
| * FordVehSpdChksEngModl_Cnt_T_u08 | uint8 | 0U | 255U | |
| * FordVehSpdEngModlVld_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModLoQlyVld_Cnt_T_logl | boolean | False | True | |
| * FordVehTrlrAidAvlRaw_Cnt_T_u08 | uint8 | 0U | 1U | |
| * FordVehTrlrAidAvl_Cnt_T_enum | enum.Ford_VehVTrlrAid_B_Avail | False | True | |
| * FordVehTrlrBackupAssiAvlVld_Cnt_T_logl | boolean | False | True | |
| *FordVehGearRvsStsVldFlg_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModlVldFlg_Cnt_T_logl | boolean | False | True | |
| Return Value | NA | NA | NA | NA |
5.4.4.1 Design Rationale
None
5.4.4.1 Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing
5.4.5 Local Function #5
| Function Name | VldElpdTi | Type | Min | Max |
| Arguments Passed | *GearRvsStsVldElpdTi_Cnt_T_logl | boolean | False | True |
| *GearRvsStsInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| *SpdEngModLoQlyVldElpdTi_Cnt_T_logl | boolean | False | True | |
| *SpdEngModLoQlyInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| *FordVehTrlrBackupAssiAvlVldElpdTi_Cnt_T_logl | boolean | False | True | |
| *EngModlInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| Return Value | NA | NA | NA | NA |
5.4.5.1 Design Rationale
None
5.4.5.2 Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldElpdTi
5.4.6 Local Function #6
| Function Name | VldChk | Type | Min | Max |
| Arguments Passed | FordVehGearRvsStsVldFlg_Cnt_T_logl | boolean | False | True |
| FordVehSpdEngModLoQlyVldFlg_Cnt_T_logl | boolean | False | True | |
| FordVehSpdEngModlVldFlg_Cnt_T_logl | boolean | False | True | |
| FordVehTrlrBackupAssiAvlVldElpdTi_Cnt_T_logl | boolean | False | True | |
| GearRvsStsVldElpdTi_Cnt_T_logl | boolean | False | True | |
| GearRvsStsInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| SpdEngModLoQlyVldElpdTi_Cnt_T_logl | boolean | False | True | |
| SpdEngModLoQlyInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| EngModlInvldElpdTi_Cnt_T_logl | boolean | False | True | |
| * FordVehGearRvsStsVld_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModLoQlyVld_Cnt_T_logl | boolean | False | True | |
| * FordVehTrlrBackupAssiAvlVld_Cnt_T_logl | boolean | False | True | |
| * FordVehSpdEngModlVld_Cnt_T_logl | boolean | False | True | |
| Return Value | NA | NA | NA | NA |
5.4.6.1 Design Rationale
None
5.4.6.2 Processing
Please refer to the below path in the FDD model.
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
In the following path,
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk/SpdEngModlInvld/FordVehSpdEngModlVldFalse
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk/SpdEngModlInvld/SpdEngModlVldPrevious
The port name used within the FordVehSpdEngModlVldFalse and SpdEngModlVldPrevious subsystems do not match with the merge block output names.
In below path
MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/FordVehGearRvsStsinvld/FordVehGearRvsStsinvldFaild
Type casting required for CNVMILLISECTOCNT_CNTPERMILLISEC_U16 and BusHiSpdGearRvStsInvldFaildThd as per logic.
UNIT TEST CONSIDERATION
None.
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
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.1 |
| 5 | FDD: MM061A_FordMsg202BusHiSpd_Design_2.1.0 | See Synergy sub project version |