5.1.94. Reprogramming code version (psc_PrgVersion)

Get the version information for the ECU's reprogramming code.

5.1.94.1. Supported targets

All targets

5.1.94.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.94.3. Description

Gets the version information for the ECU's reprogramming code. The version number is composed of three fields, major, minor and sub-minor, typically written as major.minor.sub-minor. The version can be used by the application for version control or diagnostics.

5.1.94.4. Inports

  • sim_major_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport major_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

  • sim_minor_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport minor_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

  • sim_sub_minor_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport sub_minor_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

5.1.94.5. Outports

  • major_ver

    The major version number of the reprogramming code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

  • minor_ver

    The minor version number of the reprogramming code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

  • sub_minor_ver

    The sub-minor version number of the reprogramming code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

5.1.94.6. Mask parameters

5.1.94.7. Notes

None.