1 - Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

TmprlMon - Rev 8<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1.0OT22-Mar-12Initial Version



2OT1-Apr-12Added module internal variable NTCStatusByte_Cnt_M_u8



3OT19-Sep-12Added functionality for Hardware Power Up



4NRAR28-Sep-12FDD VER006a



5SP14-Apr-13FDD VER008 and 9



6Jared8-Aug-13UTP Corrections for NtcStatusByte variable



8Rijvi30-Jan-14Change the tuning sets for calibration












































































































































































































































































































Sheet 2: Variable Dictionary

TmprlMon - Rev 8

IOMDN
Variable Information

YN










Range











Software Variable NameStandard Reference NameFDD ReferenceDescription[I]nput [O]uput [M]oduleInternal [D]isplay [N]onVolatileMemory UsageOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsTypeMemory Segment






Variables




















TMFTestStart_Cnt_lgc

Signal from Hardware Power Up to begin init sequenceI

001n/a
Countsboolean







TMFTestComplete_Cnt_lgc
FDD19 TemporalMonitorSignal to Hardware Power Up to signal init sequence completeO

001n/an/aCountsboolean







TmprlMonSt_Cnt_M_enumStepFDD19 TemporalMonitorState of Temporal Monitor InitializationM

001311.00E+00Countsuint8







InitTestStatus_Cnt_M_enumDTC TMF Circuitry InitFDD19 TemporalMonitorInitialization Test StatusM

00311.00E+00Countsuint8







NTCStatusByte_Cnt_M_u08n/aFDD19 TemporalMonitorError status byteM

0025511.00E+00Countsuint8







InitialTime_mS_M_u32InitialTime_msFDD19 TemporalMonitorTime since entering stateM

00429496729511.00E+00Countsuint32







TMFTestComplete_Cnt_M_lgc
FDD19 TemporalMonitor
M

00111.00E+00Countsboolean







TmprlMonPNAccum_Cnt_M_u16
FDD19 TemporalMonitor
M

00100011.00E+00Countsunit16














































































































































































































































































































































































































































































































































































Sheet 3: Calibration Dictionary

TmprlMon - Rev 8


N
Calibration InformationAchieved in Software Design



Y








Range





P
Software Calibration NameStandard Reference NameFDD ReferenceDescriptionTuning SetOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsDefault ValueMinMaxUnitsTypeMemory Segment



Calibrations















k_TmprlMonPstepNstep_Cnt_str.Thresholdk_TMFRunDiag.ThresholdFDD19 TemporalMonitor
NN
2011000Countuint16




k_TmprlMonPstepNstep_Cnt_str.Pstepk_TMFRunDiag.PstepFDD19 TemporalMonitor
NN
10150Countuint16




k_TmprlMonPstepNstep_Cnt_str.Nstepk_TMFRunDiag.NstepFDD19 TemporalMonitor
NN
5150Countuint16




k_TmprlMonPstepNstep_Cnt_str
FDD19 TemporalMonitor
NN
{20,10,5}NANANADiagSettings_Str





Sheet 4: Global Constants

TmprlMon - Rev 8








































































Variable Information (Global Variables Only)

Achieved in Software DesignUsed in Module List





Layer 2Layer 3Layer 4Layer 5
Constant NameDescriptionUintsTypeEngineering ValueADCADC DiagnosticsData Memory VerificationDC Link Power ControlDSP Computational IntegrityDSP SPI driverEvent Manager DriverExternal Memory DriverFlash Programming ExecGPIOIllegal OpCode HandlerInterrupt HandlerMotor Current DriverMotor Driver DiagnosticsMotor Position DriverPhase Feedback CapturePowerdown ControlPrimary Shutdown ControlProgram FlowProgram Memory DiagnosticPWM Duty CycleRedundant Memory CheckRedundant Rapid ShutdownSchedulerStack MonitorState Dependent Task ListSystem Boot & StartupSystem ControlTemperature Sensor DiagnosticUnused Interrupt HandlerUtilization MonitorWatchdog DirverSmithBattery VoltageBattery Voltage DiagnosticsDiagnostic CTC ManagerDiagnostic ManagerDiagnostics Application ServicesEOL TorqueTestFlash Boot LoaderFlight RecorderHandwheel PositionHandwheel TorqueMotor Control Output ConversionMotor Position DiagnosticsMotor Position InitializationMotor VelocityMotor Velocity TachometerSerial Communications I/OSerial Communications ServicesStates and ModesTuning SelectVehicle Power ModeVehicle SpeedController PolarityCurrent EstimationHandwheel VelocityInverse Motor ModelMotor Temperature EstimationMotor Torque LimitOutput Reasonableness DianosticParameter EstimationQuadrant and rate DetectionActive Pull CompensationAssistDampingDuty CycleKinematic Integrity DiagnosticLong Term Vehicle Speed DiagnosticMax Assist LimitReturnState Output ControlTorque Output























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 5: Template

2.2aData File:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










EOL Constants:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










Global (Embedded) Constants:












Header:#define <NAME><COL40><VALUE>









A2L Name












Measurement:rte_<SWC>_<NAME>









Calibration Constants:












Tuning ID:



















Tuning:NIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NAME>























Tuning:YIndex Range:










Header:<NONCRITICAL>
#define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
#define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>










Source:










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>
























Tuning:PIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<SAFETYCRITICAL>

















Sheet 6: Help

Short cutMacroSescription
Ctrl-qClearDataDictFilterWill clear all autofilters on the Global Data Dictionary




DFD_CreateCreates a Series of Data Flow Worksheet Pages from the information in the data dictionary. If Data Flow Worksheet pages already exist, they will be deleted first.

DFD_DeleteWill clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving.

DFD_PrintFormate and prepares to print the Data Flow Worksheet pages.

2 - Temporal Monitor_Integration_Manual

1 Dependencies 2

1.1 SWCs 2

1.2 Global Functions(Non RTE) to be provided to Integration Project 2

2 Configuration 3

2.1 Build Time Config 3

2.2 Configuration Files to be provided by Integration Project 3

2.2.1 Da Vinci Parameter Configuration Changes 3

2.2.2 DaVinci Interrupt Configuration Changes 3

2.2.3 Manual Configuration Changes 3

3 Integration 4

3.1 Required Global Data Inputs 4

3.2 Required Global Data Outputs 4

3.3 Specific Include Path present 4

4 Runnable Scheduling 5

5 Memory Mapping 6

5.1 Mapping 6

5.2 Usage 6

5.3 Non RTE NvM Blocks 6

5.4 RTE NvM Blocks 6

6 Compiler Settings 6

6.1 Preprocessor MACRO 6

6.2 Optimization Settings 6

7 Revision Control Log 7

Dependencies

SWCs

ModuleRequired Feature
None

Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be refered. Developer should track the references.

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

None

Configuration

Build Time Config

ModulesNotes
None

Configuration Files to be provided by Integration Project

Sa_TmprlMon_Cfg.h generated by Sa_TmprlMon_Cfg.h.tt

Sa_TmprlMon2_Cfg.h generated by Sa_TmprlMon2_Cfg.h.tt

Da Vinci Parameter Configuration Changes

ParameterNotesSWC
TmprlMonGeneral/TmprlMonCPEnableTo enable the check point
TmprlMon2General/TmprlMon2CPEnableTo enable the check point

DaVinci Interrupt Configuration Changes

ISR NameVIM #Priority DependencyNotes
None

Manual Configuration Changes

ConstantNotesSWC
None

Integration

Required Global Data Inputs

None

Required Global Data Outputs

None

Specific Include Path present

No

Runnable Scheduling

This section specifies the required runnable scheduling.

InitScheduling RequirementsTrigger
NoneNoneNone
RunnableScheduling RequirementsTrigger
TmprlMon_Per1NoneRTE (2ms)
TmprlMon_Per2None

RTE (2ms)

not in Mode(s) <DISABLE, OPERATE, OFF>

TmprlMon_Per3None

RTE (10ms)

not in Mode(s) <WARMINIT, OFF>

TmprlMon_Trns1NoneRTE on entering WARMINIT mode
TmprlMon_Trns2NoneRTE on entering DISABLE mode
TmprlMon2_Per1NoneRTE (2ms)

.

Memory Mapping

Mapping

Memory SectionContentsNotes
TMPRLMON_START_SEC_CONST_UNSPECIFIED
TMPRLMON_START_SEC_VAR_CLEARED_UNSPECIFIED
TMPRLMON_START_SEC_VAR_CLEARED_32
TMPRLMON_START_SEC_VAR_CLEARED_8
TMPRLMON_START_SEC_VAR_CLEARED_BOOLEAN
TMPRLMON_START_SEC_VAR_CLEARED_16
RTE_START_SEC_SA_TMPRLMON2_APPL_CODE
RTE_START_SEC_SA_TMPRLMON_APPL_CODE

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

Usage

Table 1: ARM Cortex R4 Memory Usage

FeatureRAMROM
None

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

Revision Control Log

Rev #Change DescriptionDateAuthor
1Initial version3-Feb-14Rijvi

3 - Temporal_Monitor_2_MDD

Module --

High-Level Description

This module helps ensure valid execution time for the forward path. It generates the falling edge of the monitor signal used by an external processor to determine execution time.

Figures

Component Diagram


Variable Data Dictionary

For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.

Module InputsModule Outputs
<None>

Module Internal Variables

This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.

Variable NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
<None>

User defined typedef definition/declaration

This section documents any user types uniquely used for the module.

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

<None>

Constant Data Dictionary

Calibration Constants

This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.

Constant Name
<None>

Program(fixed) Constants

Embedded Constants

All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.

Local

Constant NameResolutionUnitsValue
<None>

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
STD_LOW
STD_HIGH

Module specific Lookup Tables Constants

Constant NameValueSoftware Segment
<None>


Functions/Macros used by the Sub-Modules

Library Functions / Macros

The library and functions / Macros that are called by the various sub modules are identified below,

  1. <None>

Data Hiding Functions

  1. <None>

Global Functions/Macros Defined by this Module

None

Local Functions/Macros Used by this MDD only

None

Software Module Implementation

Runtime Environment (RTE) Initial Values

This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.

DataValue
<None>

Initialization Functions

None


Periodic Functions

Per: _Per1

Design Rationale

This function generates the falling edge of the WdMonitor signal. It must be mapped at the end of the forward path.

Program Flow Start

Rte_Call_TmprlMon2_Per1_CP0_CheckpointReached()

Store Module Inputs to Local copies

None

Set WdMonitor Low

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_TmprlMon2_Per1_CP1_CheckpointReached()

Execution Requirements

Execution Sequence of the Module

_Per1 is executed at the end of the forward path.

Execution Rates for sub-modules called by the Scheduler

This table serves as reference for the Scheduler design

Function NameCalling FrequencySystem State(s) in which the function is called
_Per12 msALL

Execution Requirements for Serial Communication Functions

Function NameSub-Module called by (Serial Comm Function Name)
<None>


Memory Map Definition Requirements

Sub Modules (Functions)

This table identifies the software segments for functions identified in this module.

Name of Sub ModuleSoftware Segment
_Per1RTE_START_SEC_SA_TMPRLMON_APPL_CODE

Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment


Known Issues / Limitations With Design

  1. None


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial MDD12-Nov-12JJW

4 - Temporal_Monitor_MDD

Module --

High-Level Description

This module helps ensure valid execution time for the forward path. It generates the rising edge of the monitor signal used by an external processor to determine execution time, performs an initialization routine for the external TMF processor, and performs run time diagnostics for the TMF processor.

Figures

Component Diagram


Variable Data Dictionary

For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.

Module InputsModule Outputs
TMFTestStart_Cnt_lgcTMFTestComplete_Cnt_lgc

Module Internal Variables

This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.

Variable NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
TmprlMonSt_Cnt_M_enumDT_TmprlMonStn/an/aTMPRLMON_START_SEC_VAR_CLEARED_UNSPECIFIED
InitTestStatus_Cnt_M_enumNxtrDiagMgrStatusn/an/aTMPRLMON_START_SEC_VAR_CLEARED_UNSPECIFIED
NTCStatusByte_Cnt_M_u081013TMPRLMON_START_SEC_VAR_CLEARED_8
InitialTime_mS_M_u3210232 - 1TMPRLMON_START_SEC_VAR_CLEARED_32
TMFTestComplete_Cnt_M_lgc1FALSETRUETMPRLMON_START_SEC_VAR_CLEARED_BOOLEAN
TMFPrepCheckFlag_Cnt_M_lgc1FALSETRUETMPRLMON_START_SEC_VAR_CLEARED_BOOLEAN
TmprlMonPNAccum_Cnt_M_u16101000TMPRLMON_START_SEC_VAR_CLEARED_16

User defined typedef definition/declaration

This section documents any user types uniquely used for the module.

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

DT_TmprlMonSt

TMPMON_RESET1 (0U)

TMPMON_INIT_ALLOFF1 (1U)

TMPMON_INIT_TMOFF1 (2U)

TMPMON_INIT_PICINIT1 (3U)

TMPMON_INIT_SF2OFF (4U)

TMPMON_INIT_ALLON2 (5U)

TMPMON_INIT_SF3OFF (6U)

TMPMON_INIT_ALLON3 (7U)

TMPMON_INIT_TMOFF2 (8U)

TMPMON_RESET2 (9U)

TMPMON_INIT_ALLOFF2 (10U)

TMPMON_INIT_SF23OFF (11U)

TMPMON_INIT_PICINIT2 (12U)

TMPMON_OPERATE (13U)

TMPMON_PREPCHECK (14U)

uint8014
TmprlMonState_StrSysFault3Cmd_lgcIoHwAb_BoolType01
SysFault2Cmd_lgcIoHwAb_BoolType01
WdMonitorCmd_lgcIoHwAb_BoolType01
WdResetCmd_lgcIoHwAb_BoolType01
FetDrvCntlFdbk_lgcIoHwAb_BoolType01
PwrSwitchEnFdbk_lgcIoHwAb_BoolType01
StepTime_mS_u16uint160216 - 1

Constant Data Dictionary

Calibration Constants

This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.

Constant Name
<None>

Program(fixed) Constants

Embedded Constants

All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.

Local

Constant NameResolutionUnitsValue
TMPMON_NUMSTATES1Counts14U

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
STD_LOW
STD_HIGH

Module specific Lookup Tables Constants

Constant NameValueSoftware Segment
TmprlMonStateTbl_Cnt_M_Str[TMPMON_NUMSTATES]

{{STD_LOW, STD_LOW, STD_LOW, STD_LOW, STD_LOW, STD_LOW, 4U},

{STD_LOW, STD_LOW, STD_LOW, STD_HIGH, STD_LOW, STD_LOW, 31U},

{STD_HIGH, STD_HIGH, STD_LOW, STD_HIGH, STD_LOW, STD_LOW, 1U},

{STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, 40U},

{STD_HIGH, STD_LOW, STD_HIGH, STD_HIGH, STD_LOW, STD_LOW, 1U},

{STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, 1U},

{STD_LOW, STD_HIGH, STD_HIGH, STD_HIGH, STD_LOW, STD_LOW, 1U},

{STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, 1U},

{STD_HIGH, STD_HIGH, STD_LOW, STD_HIGH, STD_LOW, STD_LOW, 24U},

{STD_LOW, STD_LOW, STD_LOW, STD_LOW, STD_LOW, STD_LOW, 1U},

{STD_LOW, STD_LOW, STD_LOW, STD_HIGH, STD_LOW, STD_LOW, 31U},

{STD_LOW, STD_LOW, STD_HIGH, STD_HIGH, STD_LOW, STD_LOW, 24U},

{STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, 16U},

{STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, STD_HIGH, 0U},

{STD_LOW, STD_LOW, STD_LOW, STD_LOW, STD_HIGH, STD_LOW, 0U}}

TMPRLMON_START_SEC_CONST_UNSPECIFIED


Functions/Macros used by the Sub-Modules

Library Functions / Macros

The library and functions / Macros that are called by the various sub modules are identified below,

  1. <None>

Data Hiding Functions

  1. <None>

Global Functions/Macros Defined by this Module

None

Local Functions/Macros Used by this MDD only

None

Software Module Implementation

Runtime Environment (RTE) Initial Values

This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.

DataValue
Rte_InitValue_TMFTestComplete_Cnt_lgcFALSE
Rte_InitValue_TMFTestStart_Cnt_lgcFALSE

Initialization Functions

None


Periodic Functions

Per: _Per1

Design Rationale

This function generates the rising edge of the WdMonitor signal. It must be mapped in the forward path after the ADC sampling, and before the rest of the forward path calculations.

The FDD requires that a lookup should be performed based on the current TMF state to determine whether to set the WdMonitor signal to a high state. Then, if this is true, the signal is set high. Otherwise, it is not set.

Instead, the WdMonitor signal is set to the lookup value itself. This way, when the WdMonitor signal is enabled, it will be set high (and set low when disabled). Functionally, this fulfills the FDD requirements (with the assumption that TmprlMon_Per1 and TmprlMon_Per2 are the only functions that affect the state of the WdMonitor signal).

Program Flow Start

Rte_Call_TmprlMon_Per1_CP0_CheckpointReached()

Store Module Inputs to Local copies

None

Set WdMonitor High (depending on state)

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_TmprlMon_Per1_CP1_CheckpointReached()

Per: _Per2

Design Rationale

The WdMonitor signal is not set at the end of this function (as specified in the FDD). This is per the design specified in TmprlMon_Per1 (see section for more information).

Program Flow Start

Rte_Call_TmprlMon_Per2_CP0_CheckpointReached()

Store Module Inputs to Local copies

TMFTestStart_Cnt_T_lgc = Rte_IRead_TmprlMon_Per2_TMFTestStart_Cnt_lgc()

TmprlMonSt_Cnt_T_enum = TmprlMonSt_Cnt_M_enum

Rte_Call_FetDrvCntl_OP_GET(&FetDrvCntlFdbk_Cnt_T_lgc)

Rte_Call_PwrSwitchEn_OP_GET(&PwrSwitchEnFdbk_Cnt_T_lgc)

Temporal Monitor Control Circuit Fault

Release WARMINIT Request when OPERATE State is Reached

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_TmprlMon_Per3_CP1_CheckpointReached()

Per: _Per3

Design Rationale

None

Program Flow Start

Rte_Call_TmprlMon_Per3_CP0_CheckpointReached()

Store Module Inputs to Local copies

Rte_Call_SysFault2_OP_GET(&SysFault2_Cnt_T_lgc)

Rte_Call_SysFault3_OP_GET(&SysFault3_Cnt_T_lgc)

Rte_Call_PwrSwitchEn_OP_GET(&PwrSwitchEn_Cnt_T_lgc)

Rte_Call_FetDrvCntl_OP_GET(&FetDrvCntl_Cnt_T_lgc)

TMF Run Time Control Circuit Fault

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_TmprlMon_Per3_CP1_CheckpointReached()


Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Serial Communication Functions

None

Transition Functions

Trns: _Trns1

Design Rationale

This function is run upon entering the WARMINIT state. This is done (as opposed to an initialization function) because of the possibility of entering the DISABLE state before the TMF initialization process is complete.

Reset Values


Trns: _Trns2

Design Rationale

This function is run upon entering the DISABLE state.

Execution Requirements

Execution Sequence of the Module

The TmprlMon_Per1 function is executed at the beginning of the forward path (after ADC calculations). TmprlMon2_Per1 is executed at the end of the forward path. This will provide a “pulse” on WdMonitor for the duration of the forward path calculations. TmprlMon_Per2 is run outside of the forward path, in order to advance the TMF initialization process. TmprlMon_Per3 is run at 8ms intervals, and is only run during the system OPERATE and DISABLE states. In this way, TmprlMon_Per3 should only be run once the TMF initialization is complete (as the completion of this process is a prerequisite to leaving the WARMINIT state).

Execution Rates for sub-modules called by the Scheduler

This table serves as reference for the Scheduler design

Function NameCalling FrequencySystem State(s) in which the function is called
TmprlMon_Per12 msALL
TmprlMon_Per22 msWARMINIT
TmprlMon_Per34 msOPERATE, DISABLE
TmprlMon_Trns1TransitionEntering WARMINIT
TmprlMon_Trns2TransitionEntering DISABLE

Execution Requirements for Serial Communication Functions

Function NameSub-Module called by (Serial Comm Function Name)
<None>


Memory Map Definition Requirements

Sub Modules (Functions)

This table identifies the software segments for functions identified in this module.

Name of Sub ModuleSoftware Segment
TmprlMon_Per1RTE_START_SEC_SA_TMPRLMON_APPL_CODE
TmprlMon_Per2RTE_START_SEC_SA_TMPRLMON_APPL_CODE
TmprlMon_Per3RTE_START_SEC_SA_TMPRLMON_APPL_CODE
TmprlMon_Trns1RTE_START_SEC_SA_TMPRLMON_APPL_CODE
TmprlMon_Trns2RTE_START_SEC_SA_TMPRLMON_APPL_CODE

Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment


Known Issues / Limitations With Design

  1. None


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial MDD25-May-11BG
22Updated NTCs with global constants02-Dec-11OT
33.0Initial Component MDD (started from scratch)21-Mar-12OT
44Correction to move STD_LOW and STD_HIGH to global constant definitions since they are AUTOSAR defined constants28-Mar-12JJW
55Changed NTC Status byte to STATIC, updated state times01-Apr-12OT
66Updated to FDD 19B v002B (state times, NTC parameter info)19-Jun-12OT
77Changed Per3 running states (to avoid conflict with ShtdnMech)25-Jul-12OT
88Added functionality for Hardware Power Up, removed Trns2 (obsolete with change in Per3 running states)19-Sep-12OT
99Addition of checkpoints in the program flow27-Sep-12Selva
1010

Updated to FDD Ver005

  1. DISABLE and ESMDIABLE steps are removed. Added ALLON2 Step.

  2. Transition times of ALLON1,ALLON2 and OPERATE changed

Transition2 added for Shutdown operation

28-SEP-12NRAR
1111Fix for anomaly #391224-Oct-12BWL
1212Update execution rate for Per124-Oct-12BWL
1313Multi-app support. Removed Per212-Nov-12JJW
1414Updated to FDD ver 00914-Apr-13SP
1515Updates for NTS param anomalies 5113 & 528026-Jul-13Jared

5 - TmplMon Design Review


Overview

Summary Sheet
Data Dictionary
Integration Manual


Sheet 1: Summary Sheet
























Rev 2.026-Aug-13

Peer Review Summary Sheet



























Component Name:


kzshz2: Intended Use: Identify which component is being reviewed. This should be the Module Short Name from Synergy Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. CBD_TmprlMon
Component Revision:


kzshz2: Intended Use: Identify which Synergy revision of this component is being reviewed Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. 9.4





























Change Owner:


kzshz2: Intended Use: Identify the developer who made the change(s) Rationale: A change request may have more than one resolver, this will help identify who made what change. Change owner identification may be required by indusrty standards. Rijvi Ahmed
Change Request ID:


11297





























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:
















































































































































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:































MDD


Source Code



XData Dictionary


QAC



































Integration Manual


Davinci Files








































































Comments:






























































































General Guidelines:
- The reviews should be performed over the portions of the component that were modified as a result of the Change Request. (Note: If this peer review form was not
completed for pervious versions of this component, the Change Owner should review the entire component and complete the checklist in its entirety prior and check
the form into Syngery. This should be done prior to reviewing the modifications for this Change Result)
- The Change Owner is responsible for completing the entire checklist (Pre and Group review items) prior holding the initial group review.
- New components should include FDD Owner and Intergator as apart of the Group Review Board (Source Code, Integration Manual, and Davinci Files)
- Select "Yes" and add "N/A" to the comments for checklist items that are not applicable for this change















Sheet 2: Data Dictionary






















Rev 2.026-Aug-13
Peer Review Meeting Log (Data Dictionary Review)


























Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the file is being reviewed Rationale: Required for traceability. 8









































kzshz2: Intended Use: Indicate to the reviewers the type of variable changes. This should be filled out prior to the review by the change owner. Rationale: This will be good information to know to both reviewers and post reviewers of the change. Variables:



























Newly Added


Name Changes


Range Changes


Deleted
































NVM Changes


Other:


































































kzshz2: Intended Use: Indicate to the reviewers the type of calibration changes. This should be filled out prior to the review by the change owner. Rationale: This will be good information to know to both reviewers and post reviewers of the change. Calibrations:



























Newly Added


Name Changes


Range Changes


Default Value Changes
































Deleted


XOther:



Tuning sets are changed from P to N





























































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































All Changes Identified (for Unit Tester)








X
Comments:










































Calibration and NVM names, ranges, and default values








X
Comments:

Only for changes

compared against FDD




































Global variables names, ranges, and default values








X
Comments:

Only for changes

compared against FDD Data Dictionary






























































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Rijvi Ahmed
Review Date :

3-Feb-14
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 3: Integration Manual






















Rev 2.026-Aug-13
Peer Review Meeting Log (Integration Manual Review)


























Integration Manual Name:



kzshz2: Intended Use: Identify which file is being reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. Temporal Monitor_Integration_Manual

Integration Manual Revision:



kzshz2: Intended Use: Identify which version of the integration manual has been reviewed. Rationale: Required for traceability between the MDD and review. Auditors will likely require this. 1























Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Latest template used








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Changes Highlighted (for Integrator)








X
Comments:











































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Rijvi Ahmed
Review Date :

3-Feb-14
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):









































































6 - TmprlMon_CBD_UnitTestResult


Overview

Unit Test Information
Module Definitions
Variable Range
TmprlMon_Per1
TmprlMon_Per1() B
TmprlMon_Per2
TmprlMon_Per2() TestType
TmprlMon_Per2() B
TmprlMon_Per2() P
TmprlMon_Per3
TmprlMon_Per3() B
TmprlMon_Per3() P
TmprlMon_Trns1
TmprlMon_Trns1() B
TmprlMon_Trns2
TmprlMon_Trns2() P
Test Vector Description


Sheet 1: Unit Test Information

1.0a






















Nexteer EPS Unit Test Tool






Rev:2.7c












Name of Tester:Raghav tripathi
Source files to be added to the .pjt file Must include path from 'Source Code Directory' setting on the Unit Test Tool Options dialog Include Files:

Code File(s) Under Test:Sa_TmprlMon.c



Code File(s) Version:15



Module Design Document:Temporal_Monitor_MDD.docx



Module Design Document Version:15



Data Dictionary Version:6



Unit Test Plan Version:7



Optimization Level:Level 2



Compiler (CodeGen) Version:TMS470_4.9.5



Model Type:Excel Macro



Model Version:Nexteer EPS Unit Test Tool 2.7c/EPS Library 1.29



Special Test Requirements:




Test Date:8/16/2013



Comments:Note:Inline function defined in GlobalMacro.h are not Unit Tested.



Index of Tests:




Test Set upTest WorksheetsTest StatusRun TS

TmprlMon_Per1TmprlMon_Per1() B----
1






TmprlMon_Per2TmprlMon_Per2() P----
15
30TmprlMon_Per2() B----
30






TmprlMon_Per3TmprlMon_Per3() P----
9
25TmprlMon_Per3() B----
25






TmprlMon_Trns1TmprlMon_Trns1() B----
5






TmprlMon_Trns2TmprlMon_Trns2() P----
1














































































































































































































Sheet 2: Module Definitions









































Nexteer EPS Unit Test Tool












Rev:2.7b












Module Definitions
Module Test Functions
Module Set/Read Variables
Module Function Stubs
Return TypeNameParameter Prototype
ScopeTypeNameDefault Value
Return TypeNameParameter Prototype
voidTmprlMon_Per1(void)
MDT_TmprlMonSt.uint8TmprlMonSt_Cnt_M_enum

voidRte_Call_WdMonitor_OP_SET(void)
voidTmprlMon_Per2(void)
MNxtrDiagMgrStatus.uint8InitTestStatus_Cnt_M_enum

uint8Rte_Call_FetDrvCntl_OP_GET(void)
voidTmprlMon_Per3(void)
Muint32InitialTime_mS_M_u32

uint8Rte_Call_PwrSwitchEn_OP_GET(void)
voidTmprlMon_Trns1(void)
Guint8Ip_NTC0
UINT16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16(void)
voidTmprlMon_Trns2(void)
Guint8Ip_Param0
UINT32Rte_Call_SystemTime_GetSystemTime_mS_u32(void)




Guint8Ip_Status0
voidRte_Call_NxtrDiagMgr_SetNTCStatus(void)




Muint8NTCStatusByte_Cnt_M_u08

voidRte_Call_WdReset_OP_SET(void)




GBooleanTMFTestStart_Cnt_lgc

voidRte_Call_SysFault2_OP_SET(void)




GBooleanTMFTestComplete_Cnt_lgc0
voidRte_Call_SysFault3_OP_SET(void)




MBooleanTMFTestComplete_Cnt_M_lgc0
BooleanRte_Call_SysFault2_OP_GET(void)




MBooleanTMFPrepCheckFlag_Cnt_M_lgc

BooleanRte_Call_SysFault3_OP_GET(void)




Muint16TmprlMonPNAccum_Cnt_M_u16

voidRte_Call_TmprlMon_Per1_CP0_CheckpointReached(void)





DiagSettings_Str.uint16k_TmprlMonPstepNstep_Cnt_str.Threshold

voidRte_Call_TmprlMon_Per1_CP1_CheckpointReached(void)





DiagSettings_Str.uint16k_TmprlMonPstepNstep_Cnt_str.Pstep

voidRte_Call_TmprlMon_Per2_CP0_CheckpointReached(void)





DiagSettings_Str.uint16k_TmprlMonPstepNstep_Cnt_str.Nstep

voidRte_Call_TmprlMon_Per2_CP1_CheckpointReached(void)









voidRte_Call_TmprlMon_Per3_CP0_CheckpointReached(void)









voidRte_Call_TmprlMon_Per3_CP1_CheckpointReached(void)

















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 3: Variable Range















































Nexteer EPS Unit Test Tool












Rev:2.7b
























Variable Range Definitions








Variable NameMax ValueMin Value








TmprlMonSt_Cnt_M_enum










InitTestStatus_Cnt_M_enum










InitialTime_mS_M_u32










IP_StaMd_Users










SetNTCStatus_NTC










SetNTCStatus_Param










SetNTCStatus_Status










NTCStatusByte_Cnt_M_u08










Ip_NTC










Ip_Param










Ip_Status










Rte_Call_NxtrDiagMgr_GetNTCStatus[3]










Call_count










NxtrDiagMgr_GetNTCStatus_count










NxtrDiagMgr_NTC[3]










NxtrDiagMgr_Param[3]










NxtrDiagMgr_Status[3]










j










NxtrDiagMgr_Call_Count[3]










TMFTestStart_Cnt_lgc










TMFTestComplete_Cnt_lgc










TMFTestComplete_Cnt_M_lgc










TMFPrepCheckFlag_Cnt_M_lgc










TMFSysFault3_Cnt_M_lgc










TmprlMonPNAccum_Cnt_M_u16










k_TmprlMonPstepNstep_Cnt_str.Threshold










k_TmprlMonPstepNstep_Cnt_str.Pstep










k_TmprlMonPstepNstep_Cnt_str.Nstep











Sheet 4: TmprlMon_Per1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations



Number Of Calibration Sets



Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon_Per1B1

Rte_Call_WdMonitor_OP_SET





Rte_Call_TmprlMon_Per1_CP0_CheckpointReached





Rte_Call_TmprlMon_Per1_CP1_CheckpointReached

Sheet 5: TmprlMon_Per1() B

TmprlMon_Per1TS--






BFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionRte_Call_WdMonitor_OP_SETRte_Call_TmprlMon_Per1_CP0_CheckpointReachedRte_Call_TmprlMon_Per1_CP1_CheckpointReachedRte_Call_WdMonitor_OP_SETRte_Call_TmprlMon_Per1_CP0_CheckpointReachedRte_Call_TmprlMon_Per1_CP1_CheckpointReachedP/FCPU Cycles
1Check for call trace------111--
















































































































Sheet 6: TmprlMon_Per2




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations



Number Of Calibration Sets



Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon_Per2P15TmprlMonSt_Cnt_M_enumInitTestStatus_Cnt_M_enumRte_Call_FetDrvCntl_OP_GET
TmprlMon_Per2B30InitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumRte_Call_PwrSwitchEn_OP_GET



InitialTime_mS_M_u32InitialTime_mS_M_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16



NTCStatusByte_Cnt_M_u08NTCStatusByte_Cnt_M_u08Rte_Call_SystemTime_GetSystemTime_mS_u32



TMFTestStart_Cnt_lgcTMFTestComplete_Cnt_lgcRte_Call_NxtrDiagMgr_SetNTCStatus



TMFTestComplete_Cnt_M_lgcTMFTestComplete_Cnt_M_lgcRte_Call_WdReset_OP_SET



TMFPrepCheckFlag_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcRte_Call_SysFault2_OP_SET




Ip_NTCRte_Call_SysFault3_OP_SET




Ip_ParamRte_Call_TmprlMon_Per2_CP0_CheckpointReached




Ip_StatusRte_Call_TmprlMon_Per2_CP1_CheckpointReached





Rte_Call_SysFault3_OP_GET

Sheet 7: TmprlMon_Per2() TestType

TmprlMon_Per2TS--






















































TestTypeI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTmprlMonSt_Cnt_M_enumInitTestStatus_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestStart_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETP/FCPU Cycles
7(InitTestStatus_Cnt_M_enum == NTC_STATUS_PASSED)==>TRUE1050051110134540000------------------------------------------1240002911100011110111110--
















































































































































































































































































































































































































































































































































































































Sheet 8: TmprlMon_Per2() B

TmprlMon_Per2TS--






















































BI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTmprlMonSt_Cnt_M_enumInitTestStatus_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestStart_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETP/FCPU Cycles
1TmprlMonSt_Cnt_M_enum = min0110011110112310001------------------------------------------111000911100011110111110--

2TmprlMonSt_Cnt_M_enum = max132200241001023420001------------------------------------------21320002400100011010111111--

3InitTestStatus_Cnt_M_enum = min12010001001011110000------------------------------------------112100024000100011010111111--

4InitTestStatus_Cnt_M_enum = max12340041001045640000------------------------------------------112400024000100011010111111--

5InitialTime_mS_M_u32 = min30050100112350000------------------------------------------13500024011100011010111111--

6InitialTime_mS_M_u32 = max121429496729561001023460000------------------------------------------112600024000100011010111111--

7InitialTime_mS_M_u32 = mid5242424270100134570001------------------------------------------257000711100011010111111--

8NTCStatusByte_Cnt_M_u08 = min12010001001011110000------------------------------------------112100024000100011010111111--

9NTCStatusByte_Cnt_M_u08 = max712002550100122220000------------------------------------------17200024011100011010111111--

10NTCStatusByte_Cnt_M_u08 = mid12230071001043330000------------------------------------------112300024000100011010111111--

11TMFTestStart_Cnt_lgc = min9380040100023410001------------------------------------------391000411100011010111111--

12TMFTestStart_Cnt_lgc = max12190061001134520001------------------------------------------1122000600100011010111111--

13DtrmnElapsedTime_mS_u16 = min63500811101080001------------------------------------------36500811100011100111110--

14DtrmnElapsedTime_mS_u16 = max1206009101106553590001------------------------------------------113900020311164203111111111110--

15DtrmnElapsedTime_mS_u16 = mid817001011101400010001------------------------------------------1910001011100011110111110--

16GetSystemTime_mS_u32 = min122800110001023401------------------------------------------21201100100011010111111--

17GetSystemTime_mS_u32 = max103900400100167842949672951------------------------------------------31042949672954011100011010111111--

18GetSystemTime_mS_u32 = mid12110013000117894242421------------------------------------------1124242421300100011010111111--

19TMFTestComplete_Cnt_M_lgc = min9155521001042345251------------------------------------------19525200100011010111111--

20TMFTestComplete_Cnt_M_lgc max226745638110015345523521------------------------------------------22523523811100011010111111--

21TMFPrepCheckFlag_Cnt_M_lgc min6350012011001080001------------------------------------------36800012011100011010111111--

22TMFPrepCheckFlag_Cnt_M_lgc max1206009101106553590001------------------------------------------113900020311164203111111111110--

23Rte_Call_FetDrvCntl_OP_GET min122800110000023401------------------------------------------21201100100011010111111--

24Rte_Call_FetDrvCntl_OP_GET max103900120101167842949672951------------------------------------------31042949672951211100011010111111--

25Rte_Call_PwrSwitchEn_OP_GET min1228001300000023401------------------------------------------212013000100011010111111--

26Rte_Call_PwrSwitchEn_OP_GET max12340041001145640000------------------------------------------112400024000100011010111111--

27Rte_Call_SysFault3_OP_GET min9380040100023410000------------------------------------------19100024011100011010111111--

28Rte_Call_SysFault3_OP_GET max12190061001134520001------------------------------------------1122000600100011010111111--

29all min000000000000------------------------------------------10024000100011010111111--

30all max1334294967295255111116553542949672951------------------------------------------313429496729525511100011010111110--
















































































































































































































































































































































































































































































































































































































Sheet 9: TmprlMon_Per2() P

TmprlMon_Per2TS--






















































PI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTmprlMonSt_Cnt_M_enumInitTestStatus_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestStart_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETInitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcTMFPrepCheckFlag_Cnt_M_lgcIp_NTCIp_ParamIp_StatusRte_Call_FetDrvCntl_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_WdReset_OP_SETRte_Call_SysFault2_OP_SETRte_Call_SysFault3_OP_SETRte_Call_TmprlMon_Per2_CP0_CheckpointReachedRte_Call_TmprlMon_Per2_CP1_CheckpointReachedRte_Call_SysFault3_OP_GETP/FCPU Cycles
1(TMFPrepCheckFlag_Cnt_M_lgc == FALSE)==>TRUE
&&
(SysFault3_Cnt_T_lgc == FALSE)=>TRUE
9080040100023410000------------------------------------------19100024011100011010111111--

2(SysFault3_Cnt_T_lgc == FALSE)==>FALSE0110011110112310001------------------------------------------111000911100011110111110--

3(TMFPrepCheckFlag_Cnt_M_lgc == FALSE)==>False
&&
(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>TRUE
( (TmprlMonSt_Cnt_T_enum < TMPMON_OPERATE==>TRUE) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc != FetDrvCntlFdbk_Cnt_T_lgc)=>TRUE ||
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc != PwrSwitchEnFdbk_Cnt_T_lgc)==FALSE
(TMFTestStart_Cnt_T_lgc == TRUE) )==>TRUE
&&
(InitTestStatus_Cnt_M_enum == NTC_STATUS_PASSED)==>FALSE
1150051110134540000------------------------------------------1240001311100011110111110--

4(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc != FetDrvCntlFdbk_Cnt_T_lgc) ||
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc != PwrSwitchEnFdbk_Cnt_T_lgc)==>FALSE
116656111004550000------------------------------------------125000611100011110111110--

5(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>FALSE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2) ==>FALSE) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)))
115657111001560000------------------------------------------11565711100011100111110--

6( (TmprlMonSt_Cnt_T_enum < TMPMON_OPERATE)==>TRUE &&
(TMFTestStart_Cnt_T_lgc == TRUE)==FALSE )
114508011001570000------------------------------------------117000811100011010111110--

7(InitTestStatus_Cnt_M_enum == NTC_STATUS_PASSED)==>TRUE1050051110134540000------------------------------------------1240002911100011110111110--

8( (TmprlMonSt_Cnt_T_enum < TMPMON_OPERATE)==FALSE
&&
(TMFTestStart_Cnt_T_lgc == TRUE) )
133429496729513111116553542949672951------------------------------------------31342949672951311100011010111110--

9(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>FALSE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2) ==>TRUE) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)))
1215657111001560000------------------------------------------112565711100011100111110--

10(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>FALSE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2) ==>TRUE) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE==TRUE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)==>FALSE))
1215657111101560000------------------------------------------112565711100011100111110--

11(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>FALSE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2) ==>TRUE) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE==TRUE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)==>TRUE))
1215657111111560000------------------------------------------112565711100011100111110--

12(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>TRUE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2)) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE==TRUE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)==>TRUE))
315657111111560000------------------------------------------13565711100011100111110--

13( (TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc != FetDrvCntlFdbk_Cnt_T_lgc)==>TRUE ||
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc != PwrSwitchEnFdbk_Cnt_T_lgc)
1150051111134540000------------------------------------------1240001311100011110111110--

14(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>TRUE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2)) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)==>TRUE))
315657111011560000------------------------------------------13565711100011100111110--

15(ElapsedTime_T_mS_u16 >= TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].StepTime_mS_u16)==>FALSE ||
( ( (TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT1)==>TRUE ||
(TmprlMonSt_Cnt_T_enum == TMPMON_INIT_PICINIT2)) &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].FetDrvCntlFdbk_lgc == FetDrvCntlFdbk_Cnt_T_lgc)==FALSE==TRUE &&
(TmprlMonStateTbl_Cnt_M_Str[TmprlMonSt_Cnt_T_enum].PwrSwitchEnFdbk_lgc == PwrSwitchEnFdbk_Cnt_T_lgc)==>False))
315657111101560000------------------------------------------13565711100011100111110--
















































































































































































































































































































































































































































































































































































































Sheet 10: TmprlMon_Per3




















Nexteer EPS Unit Test Tool






Rev:2.7c






Test Setup


Number Of Calibrations



Number Of Calibration Sets



Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon_Per3P9TmprlMonPNAccum_Cnt_M_u16TmprlMonPNAccum_Cnt_M_u16Rte_Call_SysFault2_OP_GET
TmprlMon_Per3B25k_TmprlMonPstepNstep_Cnt_str.ThresholdIp_NTCRte_Call_SysFault3_OP_GET



k_TmprlMonPstepNstep_Cnt_str.PstepIp_ParamRte_Call_PwrSwitchEn_OP_GET



k_TmprlMonPstepNstep_Cnt_str.NstepIp_StatusRte_Call_FetDrvCntl_OP_GET



NTCStatusByte_Cnt_M_u08NTCStatusByte_Cnt_M_u08Rte_Call_NxtrDiagMgr_SetNTCStatus





Rte_Call_TmprlMon_Per3_CP0_CheckpointReached





Rte_Call_TmprlMon_Per3_CP1_CheckpointReached

Sheet 11: TmprlMon_Per3() B

TmprlMon_Per3TS--


TS--




























BI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTmprlMonPNAccum_Cnt_M_u16k_TmprlMonPstepNstep_Cnt_str.Thresholdk_TmprlMonPstepNstep_Cnt_str.Pstepk_TmprlMonPstepNstep_Cnt_str.NstepNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETTmprlMonPNAccum_Cnt_M_u16Ip_NTCIp_ParamIp_StatusNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_TmprlMon_Per3_CP0_CheckpointReachedRte_Call_TmprlMon_Per3_CP1_CheckpointReachedTmprlMonPNAccum_Cnt_M_u16Ip_NTCIp_ParamIp_StatusNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_TmprlMon_Per3_CP0_CheckpointReachedRte_Call_TmprlMon_Per3_CP1_CheckpointReachedP/FCPU Cycles
1All Min011100000------------------------0650001111111--

2All Max1000100050502551111------------------------95065002551111111--

3TmprlMonPNAccum_Cnt_M_u16 = min011101111------------------------0650001111111--

4TmprlMonPNAccum_Cnt_M_u16 = max100010005050131111------------------------9506500131111111--

5TmprlMonPNAccum_Cnt_M_u16 = pos20574541111------------------------15650041111111--

6k_TmprlMonPstepNstep_Cnt_str.Threshold = min011101111------------------------0650001111111--

7k_TmprlMonPstepNstep_Cnt_str.Threshold = max1000100050501201111------------------------95065001201111111--

8k_TmprlMonPstepNstep_Cnt_str.Threshold = pos20574541111------------------------15650041111111--

9k_TmprlMonPstepNstep_Cnt_str.Pstep = min011101111------------------------0650001111111--

10k_TmprlMonPstepNstep_Cnt_str.Pstep = max100010005050131111------------------------9506500131111111--

11k_TmprlMonPstepNstep_Cnt_str.Pstep = pos20574541111------------------------15650041111111--

12k_TmprlMonPstepNstep_Cnt_str.Nstep = min011101111------------------------0650001111111--

13k_TmprlMonPstepNstep_Cnt_str.Nstep = max100010005050131111------------------------9506500131111111--

14k_TmprlMonPstepNstep_Cnt_str.Nstep = pos20574541111------------------------15650041111111--

15NTCStatusByte_Cnt_M_u08 = min011101100------------------------1653131111111--

16NTCStatusByte_Cnt_M_u08 = max1000100050502551100------------------------10006525512551111111--

17NTCStatusByte_Cnt_M_u08 = pos20574541100------------------------2400071111011--

18Rte_Call_SysFault2_OP_GET = min011100100------------------------0650001111111--

19Rte_Call_SysFault2_OP_GET = max1000100050501401100------------------------10006514311431111111--

20Rte_Call_SysFault3_OP_GET = min011100000------------------------0650001111111--

21Rte_Call_SysFault3_OP_GET = max100010005050131100------------------------100065151151111111--

22Rte_Call_PwrSwitchEn_OP_GET = min1211101100------------------------1653131111111--

23Rte_Call_PwrSwitchEn_OP_GET = max1021005051301110------------------------1006513111311111111--

24Rte_Call_FetDrvCntl_OP_GET = min111101100------------------------1653131111111--

25Rte_Call_FetDrvCntl_OP_GET = max1010451201111------------------------565001201111111--






























































































































































































































































































































































































Sheet 12: TmprlMon_Per3() P

TmprlMon_Per3TS--


TS--




























PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTmprlMonPNAccum_Cnt_M_u16k_TmprlMonPstepNstep_Cnt_str.Thresholdk_TmprlMonPstepNstep_Cnt_str.Pstepk_TmprlMonPstepNstep_Cnt_str.NstepNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETTmprlMonPNAccum_Cnt_M_u16Ip_NTCIp_ParamIp_StatusNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_TmprlMon_Per3_CP0_CheckpointReachedRte_Call_TmprlMon_Per3_CP1_CheckpointReachedTmprlMonPNAccum_Cnt_M_u16Ip_NTCIp_ParamIp_StatusNTCStatusByte_Cnt_M_u08Rte_Call_SysFault2_OP_GETRte_Call_SysFault3_OP_GETRte_Call_PwrSwitchEn_OP_GETRte_Call_FetDrvCntl_OP_GETRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_TmprlMon_Per3_CP0_CheckpointReachedRte_Call_TmprlMon_Per3_CP1_CheckpointReachedP/FCPU Cycles
1(SysFault2_Cnt_T_lgc == TRUE) && (SysFault3_Cnt_T_lgc == TRUE)==>TRUE
&&
( (PwrSwitchEn_Cnt_T_lgc == TRUE)==>False && (FetDrvCntl_Cnt_T_lgc == TRUE) )
1511101100------------------------1653131111111--

2(TmprlMonPNAccum_Cnt_M_u16, <(k_TmprlMonPstepNstep_Cnt_str.Threshold-k_TmprlMonPstepNstep_Cnt_str.pstep)1010005050131100------------------------60000151111011--

3( (PwrSwitchEn_Cnt_T_lgc == TRUE) && (FetDrvCntl_Cnt_T_lgc == TRUE) )==>True
&&
(TmprlMonPNAccum_Cnt_M_u16 > k_TmprlMonPstepNstep_Cnt_str>Nstep)==>False
011101111------------------------0650001111111--

4(SysFault2_Cnt_T_lgc == TRUE)==>FALSE && (SysFault3_Cnt_T_lgc == TRUE)
&&
( (PwrSwitchEn_Cnt_T_lgc == TRUE) ==true|| (FetDrvCntl_Cnt_T_lgc == TRUE) )
1511100011------------------------16511121111111--

5(DiagFailed_m( TmprlMonPNAccum_Cnt_M_u16, k_TmprlMonPstepNstep_Cnt_str) == TRUE)==>False11151100011------------------------12000121111011--

6( (PwrSwitchEn_Cnt_T_lgc == TRUE) || (FetDrvCntl_Cnt_T_lgc == TRUE) )=>False11151100000------------------------10650001111111--

7(SysFault2_Cnt_T_lgc == TRUE) && (SysFault3_Cnt_T_lgc == TRUE)==>False1511101000------------------------14650001111111--

8( (PwrSwitchEn_Cnt_T_lgc == TRUE) || (FetDrvCntl_Cnt_T_lgc == TRUE)==>True )11151100001------------------------1200041111011--

9( (PwrSwitchEn_Cnt_T_lgc == TRUE) ==>True&& (FetDrvCntl_Cnt_T_lgc == TRUE) )102100505131110------------------------10065131131111111--






























































































































































































































































































































































































Sheet 13: TmprlMon_Trns1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations



Number Of Calibration Sets



Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon_Trns1B5
InitTestStatus_Cnt_M_enumRte_Call_SystemTime_GetSystemTime_mS_u32




TmprlMonSt_Cnt_M_enum




InitialTime_mS_M_u32




NTCStatusByte_Cnt_M_u08




TMFTestComplete_Cnt_lgc




TMFTestComplete_Cnt_M_lgc

Sheet 14: TmprlMon_Trns1() B

TmprlMon_Trns1TS--















BFunc Stub
Return Val
O/PO/PO/PO/PO/PO/PFunc Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionRte_Call_SystemTime_GetSystemTime_mS_u32InitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcRte_Call_SystemTime_GetSystemTime_mS_u32InitTestStatus_Cnt_M_enumTmprlMonSt_Cnt_M_enumInitialTime_mS_M_u32NTCStatusByte_Cnt_M_u08TMFTestComplete_Cnt_lgcTMFTestComplete_Cnt_M_lgcRte_Call_SystemTime_GetSystemTime_mS_u32P/FCPU Cycles
1GetSystemTime_mS_u32 = min0--------------0000001--

2GetSystemTime_mS_u32 = max4294967295--------------0042949672950001--

3GetSystemTime_mS_u32 = mid424242--------------004242420001--

4all min0--------------0000001--

5all max4294967295--------------0042949672950001--










































































































































































































Sheet 15: TmprlMon_Trns2




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon_Trns2P1

Rte_Call_SysFault2_OP_SET

Sheet 16: TmprlMon_Trns2() P

TmprlMon_Trns2TS--


PFunc Stub
Counter
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionRte_Call_SysFault2_OP_SETRte_Call_SysFault2_OP_SETP/FCPU Cycles
1Check for call trace--1--








































































Sheet 17: Test Vector Description













Nexteer EPS Unit Test Tool





Rev:2.7b





Test Setup SheetTest FunctionTest TypeVector NumberVector Description

7 - TmprlMon_UnitTestResults


Overview

Unit Test Information
Module Definitions
TmprlMon2_Per1
TmprlMon2_Per1() p


Sheet 1: Unit Test Information

1.0a






















Nexteer EPS Unit Test Tool






Rev:2.7b












Name of Tester:Sunita Kore
Source files to be added to the .pjt file Must include path from 'Source Code Directory' setting on the Unit Test Tool Options dialog Include Files:

Code File(s) Under Test:Sa_TmprlMon2.c



Code File(s) Version:1



Module Design Document:Temporal_Monitor_2_MDD.docx



Module Design Document Version:1



Unit Test Plan Version:1



Optimization Level:Level 2



Compiler (CodeGen) Version:TMS470_4.9.5



Model Type:Excel Macro



Model Version:1



Special Test Requirements:




Test Date:4/28/2013



Comments:




Index of Tests:




Test Set upTest WorksheetsTest StatusRun TS

TmprlMon2_Per1TmprlMon2_Per1() p----
1
















































































































































































































































































Sheet 2: Module Definitions









































Nexteer EPS Unit Test Tool












Rev:2.7b












Module Definitions
Module Test Functions
Module Set/Read Variables
Module Function Stubs
Return TypeNameParameter Prototype
ScopeTypeNameDefault Value
Return TypeNameParameter Prototype
voidTmprlMon2_Per1(void)





voidRte_Call_TmprlMon2_Per1_CP0_CheckpointReached(void)









voidRte_Call_WdMonitor_OP_SET(void)









voidRte_Call_TmprlMon2_Per1_CP1_CheckpointReached(void)

Sheet 3: TmprlMon2_Per1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
TmprlMon2_Per1p1

Rte_Call_TmprlMon2_Per1_CP0_CheckpointReached





Rte_Call_WdMonitor_OP_SET





Rte_Call_TmprlMon2_Per1_CP1_CheckpointReached

Sheet 4: TmprlMon2_Per1() p

TmprlMon2_Per1TS--






pFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionRte_Call_TmprlMon2_Per1_CP0_CheckpointReachedRte_Call_WdMonitor_OP_SETRte_Call_TmprlMon2_Per1_CP1_CheckpointReachedRte_Call_TmprlMon2_Per1_CP0_CheckpointReachedRte_Call_WdMonitor_OP_SETRte_Call_TmprlMon2_Per1_CP1_CheckpointReachedP/FCPU Cycles
1call trace checked------111--