1 - FordMsg217BusHiSpd_IntegrationManual

Integration Manual

For

FordMsg217BusHiSpd

VERSION: 1.0

DATE: 29-Nov-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.DescriptionAuthorVersionDate
1Initial versionTATA1.011/29/2017

Table of Contents

1 Abbrevations And Acronyms 4

2 References 5

3 Dependencies 6

3.1 SWCs 6

3.2 Global Functions(Non RTE) to be provided to Integration Project 6

4 Configuration REQUIREMeNTS 7

4.1 Build Time Config 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

6 Runnable Scheduling 9

7 Memory Map REQUIREMENTS 10

7.1 Mapping 10

7.2 Usage 10

7.3 Non RTE NvM Blocks 10

7.4 RTE NvM Blocks 10

8 Compiler Settings 11

8.1 Preprocessor MACRO 11

8.2 Optimization Settings 11

9 Appendix 12

Abbrevations And Acronyms

AbbreviationDescription
DFDDesign Functional Diagram
MDDModule Design Document
FDDFunctional Design Document

References

This section lists the title & version of all the documents that are referred for development of this document

Sr. No.TitleVersion
1FDD: MM065A_FordMsg217BusHiSpd_DesignSee synergy sub project version
2Software Naming Conventions1.0
3Software Coding Standards2.1

Dependencies

SWCs

ModuleRequired Feature
NoneN/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_WheelSpeed_HS2_Oper, ComTimeoutNotification_WhlFl_W_Meas_Oper

Configuration REQUIREMeNTS

Build Time Config

ModulesNotes
NoneN/A

Configuration Files to be provided by Integration Project

None

Da Vinci Parameter Configuration Changes

ParameterNotesSWC
NoneN/A

DaVinci Interrupt Configuration Changes

ISR NameVIM #Priority DependencyNotes
NoneN/A

Manual Configuration Changes

ConstantNotesSWC
NoneN/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.

InitScheduling RequirementsTrigger
FordMsg217BusHiSpdInit1NoneRTE Init
RunnableScheduling RequirementsTrigger
FordMsg217BusHiSpdPer1NoneRTE (10ms)
Srv RunnableScheduling RequirementsTrigger
ComIPduCallout_WheelSpeed_HS2None

On invocation of

ComIPduCallout_WheelSpeed_HS2.Oper(NON-RTE)

Srv RunnableScheduling RequirementsTrigger
ComTimeoutNotification_WhlFl_W_MeasNone

On invocation of

ComTimeoutNotification_WhlFl_W_Meas.

Oper(NON-RTE)

Memory Map REQUIREMENTS

Mapping

Memory SectionContentsNotes
None

* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.

Usage

FeatureRAMROM
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 - FordMsg217BusHiSpd_MDD

Module Design Document

For

FordMsg217BusHiSpd

June 19, 20157

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Tata Elxsi,

Trivandrum, INDIA

Change History

Sl. No.DescriptionAuthorVersionDate
1Initial VersionTATA1.029-Nov-2017

Table of Contents

1 Introduction 5

1.1 Purpose 5

2 FordMsg217BusHiSpd & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of FordMsg217BusHiSpd 7

3.2 Data Flow Diagram 7

Component level DFD 7

Function level DFD 7

4 Constant Data Dictionary 8

4.1 Program (fixed) Constants 8

Embedded Constants 8

5 Software Component Implementation 9

5.1 Sub-Module Functions 9

5.1.1 Init: FordMsg217BusHiSpdInit1 9

5.1.1.1 Design Rationale 9

5.1.1.2 Module Outputs 9

5.1.2 Per: FordMsg217BusHiSpdPer1 9

5.1.2.1 Design Rationale 9

5.1.2.2 Store Module Inputs to Local copies 9

5.1.2.3 Processing of function 9

5.1.2.4 Store Local copy of outputs into Module Outputs 9

5.2 Server Runnables 9

5.2.1 ComIPduCallout_BrakeSysFeatures_3_HS2_Oper 9

5.2.1.1 Design Rationale 9

5.2.1.2 Processing of function 9

5.2.2 ComTimeoutNotification_SelDrvMdeChassis2_D_Rq_Oper 9

5.2.2.1 Design Rationale 9

5.2.2.2 Processing of function 9

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 10

5.4.1 Local Function #1 10

5.4.1.1 Design Rationale 10

5.4.1.2 Processing 10

5.4.2 Local Function #2 10

5.4.2.1 Design Rationale 11

5.4.2.2 Processing 11

5.4.3 Local Function #3 11

5.4.3.1 Design Rationale 11

5.4.3.2 Processing 11

5.4.4 Local Function #4 11

5.4.4.1 Design Rationale 12

5.4.4.2 Processing 12

5.4.5 Local Function #5 12

5.4.5.1 Design Rationale 13

5.4.5.2 Processing 13

5.4.6 Local Function #6 13

5.4.6.1 Design Rationale 13

5.4.6.2 Processing 13

5.4.7 Local Function #7 14

5.4.7.1 Design Rationale 14

5.4.7.2 Processing 14

5.4.8 Local Function #8 14

5.4.8.1 Design Rationale 14

5.4.8.2 Processing 14

5.5 GLOBAL Function/Macro Definitions 15

6 Known Limitations with Design 16

7 UNIT TEST CONSIDERATION 17

Appendix A Abbreviations and Acronyms 18

Appendix B Glossary 19

Appendix C References 20

Introduction

Purpose

MDD for FordMsg217BusHiSpd

FordMsg217BusHiSpd & High-Level Description

Please refer FDD.

Design details of software module

Graphical representation of FordMsg217BusHiSpd

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 NameResolutionUnitsValue
Please refer Data Dictionary .m fileNANANA

Software Component Implementation

Sub-Module Functions

5.1.1 Init: FordMsg217BusHiSpdInit1

5.1.1.1 Design Rationale

None

5.1.1.2 Module Outputs

None

5.1.2 Per: FordMsg217BusHiSpdPer1

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_BrakeSysFeatures_3_HS2_Oper

5.2.1.1 Design Rationale

None

5.2.1.2 Processing of function

None

5.2.2 ComTimeoutNotification_SelDrvMdeChassis2_D_Rq_Oper

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 NameDiagEnaTypeMinMax
Arguments PassedFordMissMsgDiagcInhb_Cnt_T_u08uint80U1U
FordInvldMsgDiagcInhb_Cnt_T_u08uint80U1U
ClrDiagcFlgProxy_Cnt_T_u08uint80U1U
FordMfgDiagcInhb_Cnt_T_u08uint80U1U
FordCanDtcInhb_Cnt_T_u08uint80U1U
FordAbsPrsnt_Cnt_T_u08uint80U1U
FordActvNiblCtrlEnad_Cnt_T_u08uint80U1U
FordBrkOscnRednEnad_Cnt_T_u08uint80U1U
FordTqSteerCmpEnad_Cnt_T_u08uint80U1U
FordTrlrBackupAssiEnad_Cnt_T_u08uint80U1U
*MissMsgDiagEna_Cnt_T_loglbooleanFALSETRUE
*FrntWhlSpdDiagEna_Cnt_T_loglbooleanFALSETRUE
*ReWhlSpdDiagEna_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/DiagEna

Local Function #2

Function NameCalSelnTypeMinMax
Arguments PassedFordEpsLifeCycMod_Cnt_T_u08uint80U1U
BusHiSpdMissMsgFaildThd_MilliSec_T_u16p0uint160U6000U
*FrntLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
*FrntRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
*ReLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
*ReRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/CalSeln

Local Function #3

Function NameVldFalseTypeMinMax
Arguments Passed*FordVehFrntLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse

Local Function #4

Function NameSigProcTypeMinMax
Arguments PassedFord_WhlFl_W_Meas_Cnt_T_u16uint160U32767U
Ford_WhlFr_W_Meas_Cnt_T_u16uint160U32767U
Ford_WhlRl_W_Meas_Cnt_T_u16uint160U32767U
Ford_WhlRr_W_Meas_Cnt_T_u16uint160U32767U
*FordVehFrntLeWhlSpdRaw_Cnt_T_u16uint160U32767U
*FordVehFrntLeWhlSpd_RadPerSec_T_f32float320.0F327.67F
*FordVehFrntRiWhlSpdRaw_Cnt_T_u16uint160U32767U
*FordVehFrntRiWhlSpd_RadPerSec_T_f32float320.0F327.67F
*FordVehReLeWhlSpdRaw_Cnt_T_u16uint160U32767U
*FordVehReLeWhlSpd_RadPerSec_T_f32float320.0F327.67F
*FordVehReRiWhlSpdRaw_Cnt_T_u16uint160U32767U
*FordVehReRiWhlSpd_RadPerSec_T_f32float320.0F327.67F
*FordVehFrntLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntRiWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntLeWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
*FordVehReRiWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
*FordVehReLeWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/SignalProcessing

Local Function #5

Function NameVldChkTypeMinMax
Arguments PassedFordVehFrntLeWhlSpd_Cnt_T_loglbooleanFALSETRUE
FordVehFrntRiWhlSpd_Cnt_T_loglbooleanFALSETRUE
FordVehReLeWhlSpd_Cnt_T_loglbooleanFALSETRUE
FordVehReRiWhlSpd_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehFrntRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReLeWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
*FordVehReRiWhlSpdVld_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/SignalProcessing/VldChk

Local Function #6

Function NameFrntWhlSpdDiagEnaChkTypeMinMax
Arguments PassedFrntWhlSpdDiagEna_Cnt_T_loglbooleanFALSETRUE
FrntLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
FrntRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
FordVehFrntLeWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
FordVehFrntRiWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehFrntWhlSpdInvldSts

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehFrntWhlSpdInvldNtcReset

Local Function #7

Function NameReWhlSpdDiagEnaChkTypeMinMax
Arguments PassedReWhlSpdDiagEna_Cnt_T_loglbooleanFALSETRUE
ReLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
ReRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0uint160U6000U
FordVehReLeWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
FordVehReRiWhlSpdVldInp_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldSts

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldNtcReset

Local Function #8

Function NameMissMsgDiagEnaChkTypeMinMax
Arguments PassedMissMsgDiagEna_Cnt_T_loglbooleanFALSETRUE
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordMsg217MissMsgPass

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/Reset

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

  1. In the following path,

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt

Ford Vehicle Front Left Wheel Speed Valid (FordVehFrntLeWhlSpdVld) and Ford Vehicle Front Right Wheel Speed (FordVehFrntRiWhlSpdVld) signals are cross coupled.

  1. In the path,

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldSts/ReRiWhlSpdInvldFail

There is a mismatch between the logic inside ReRiWhlSpdInvldFail subsystem and its input port name.

  1. In the following path,

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse/ReLeWhlSpdVld Previous

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse/ReRiWhlSpdVld Previous

The port name used within the ReLeWhlSpdVld Previous and ReRiWhlSpdVld Previous subsystems do not match with the merge block output names.

  1. In the following path,

MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/CalSeln/FixdTi

uint32 constant value(BUSHISPDFIXDTITHD_MILLISEC_U32) is assigned to uint16 signals.

UNIT TEST CONSIDERATION

None.

Abbreviations and Acronyms

Abbreviation or AcronymDescription

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

TermDefinitionSource
MDDModule Design Document
DFDData Flow Diagram

References

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3Software Naming Conventions.doc1.0
4Software Design and Coding Standards.doc2.1
5FDD: MM065A_FordMsg217BusHiSpd_DesignSee Synergy sub project version

3 - FordMsg217BusHiSpd_PeerReviewChecklist
























Rev 2.0029-Nov-17

Nexteer SWC Implementation Peer Review Summary Sheet


























Component Short Name:


Windows User: Intended Use: Identify which component is being reviewed. This should match the component short name from the DataDict.m fileand the middle part of the Synergy project name, e.g. Assi for the SF001A_Assi_Impl Synergy project
MM065A_FordMsg217BusHiSpd_Impl
Revision / Baseline:

Windows User: Intended Use: Identify the implementation baseline name intended to be used for the changed component when changes are approved E.g. SF001A_Assi_Impl_1.2.0
MM065A_FordMsg217BusHiSpd_Impl_3.0.0

























Change Owner:
Windows User: Intended Use: Identify the developer who made the change(s) being reviewed

Matthew Leser
Work CR ID:
Windows User: Intended Use: Identify the Implementation Work CR whose work is being reviewed (may be more than one)

EA4#20810





























kzshz2: Intended Use: Intended to identify at a high level to the reviewers which areas of the component have been changed. Rationale: This will be good information to know when ensuring appropriate reviews have been completed. Modified File Types:



Check the file types that needed modification for the Work CR(s); macros for the check boxes will populate the appropriate checklist tabs for the review.
























































































































































kzshz2: Intended Use: Identify who where the reviewers, what they reviewed, and if the reviewed changes have been approved to release the code for testing. Comments here should be at a highlevel, the specific comments should be present on the specific review form sheet. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. ADD DR Level Move reviewer and approval to individual checklist form Review Checklist Summary:






























Reviewed:




At start of review, all items below should be marked "No". At the end of the review, all items should be marked "Yes" or "N/A" where N/A indicates the reviewers have reviewed the existing (unchanged) item and confirmed no updates were needed for the Work CR(s).












































N/AMDD


NoSource Code


NoPolySpace









































N/AIntegration Manual


NoDavinci Files








































































Comments:

Offline review was done for this component for timing as per management decision.









































































































































General Guidelines:
- The reviews shall be performed over the portions of the component that were modified as a result of the Change Request.
- New components should include SWC Owner and/or SWC Design author and Integrator and/or SW Lead as apart of the Group Review Board (Source Code, Integration Manual, and Davinci Files)
- Enter any rework required into the comment field and select No. When the rework is complete, review again using this same review sheet and select Yes. Add date and additional comment stating that the rework is completed.
- To review a component with multiple source code files use the "Add Source" button to create a Source code tab for each source file.
- .h file should be reviewed with the source file as part of the source file.

Each peer review shall start with a clean copy of the latest peer review checklist template. Before the peer review, the change owner shall:
o Review the previous component peer review and copy any relevant comments to the new review sheet.
o Review all checklist items and make all corrections needed, so that the component is ready for peer review. The expectation is that peer review should find very few issues,
because the change owner has already used the checklist to ensure the component changes are complete and correct.
o Fill in all file name and version information as needed on peer review checklist tabs (file names may be copied from the previous peer review where appropriate)
o Fill in checklist answers (Yes/No/NA pulldowns) ONLY on those items which are NA for the current change. All other checklist items should be blank going into the review
meeting.

During the peer review meeting:
o For each page of the review, first review the items already marked as N/A for this change, to confirm that reviewers agree with this assessment; change the checklist box to
blank if it is found that the item does apply.
o Then review the items with the checklist box blank. After reviewing each of these items, the checklist box will be marked as "Yes", or the checklist box will be marked as
"No" with needed rework indicated or with rationale indicated.
o If any items are marked "No" with rationale indicated, this must be approved by a software supervisor or the software manager; there is a line in the "Review Board" section
of each tab to indicate who approved the "No" items on that tab.