--------------------------------------------------------------------------------
Firmware:     Build 283
Release Date: $Date: 2019-12-17 15:59:24 +0100 (Di, 17 Dez 2019) $
SVN Revision: $Revision: 32581 $
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 283; batch file modified for the new version
- CHG: The cooling controller no longer considers the measured value of the
       IR temperature sensor, if it is in the fault state
- CHG: stay in IR temperature measurement fault state in case of more than 2
       errors occured during 10 measurements
- CHG: no longer start I2C interface in MST mode (prevents from issuing a start
       to the bus)
- CHG: changed pin settings for i2c interface used by IR temp sensor
       (set DSE and SRE for SCL pin and SDA pin, disable ODE for SCL pin)
- CHG: implemented more robust I2C interface read method
- NEW: impl. method to autom. detect and restart stuck i2c bus used by IR sensor


--------------------------------------------------------------------------------
Firmware:     Build 282
Release Date: Date: 2019-12-05 13:48:59 +0100 (Do, 05 Dez 2019)
SVN Revision: Revision: 32378
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 282; batch file modified for the new version
- DBG: implemented IR sensor error counter for debug reasons. counter is
       available at signal with address 0x8D. This feature is switched off
       per default (define I2C_DEBUGGING_FOR_LH)
- CHG: implemented more robust IR temp sensor measurement. tolerate 2 errors
       during 10 measurements.


--------------------------------------------------------------------------------
Firmware:     Build 281
Release Date: Date: 2019-11-29 11:40:16 +0100 (Fr, 29 Nov 2019)
SVN Revision: Revision: 32323
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 281; batch file modified for the new version
- CHG: correct nominal voltage for PBS_PLOW voltages from 12V to 12.4V


--------------------------------------------------------------------------------
Firmware:     Build 280
Release Date: Date: 2019-09-04 16:54:01 +0200 (Mi, 04 Sep 2019)
SVN Revision: Revision: 31735
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 280; batch file modified for the new version
- CHG: replaced HardwareRevision by HardwareCompatibility
- FIX: made sure error and warning bits are reset in case of motor temp sensor is none


--------------------------------------------------------------------------------
Firmware:     Build 279
Release Date: Date: 2019-08-29 11:49:02 +0200 (Do, 29 Aug 2019)
SVN Revision: Revision: 31657
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 279; batch file modified for the new version
- CHG: no longer manipulate check limits, if motor temp sensor is not configured.
       perform no limit ckecking on motor temp sensor, if it's not configurated.


--------------------------------------------------------------------------------
Firmware:     Build 278
Release Date: Date: 2019-05-08 16:43:14 +0200 (Mi, 08 Mai 2019)
SVN Revision: Revision: 30684
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 278; batch file modified for the new version
- CHG: provide I2C slave address for IR Temp sensor within constructor
- CHG: HC03 only: changed voltage meas resolution resolution_404_19V to
       resolution_403_46V due to hardware change (R900 & R901) in HC03 R1
- CHG: HC03 only: measure temperature with IR-Sensor and NTC-sensor simultaneously.
       Provide IR-Temp(heatsink) in RT1&2, provide NTC-Temp (FB bottom) int RT5
- CHG: HC03&HC04: adapt voltage resolution factor for PBSx_LowPos voltages due to
       change of voltage splitter in TSD80/130/350 (compatible with older HW Rev)
- CHG: prevent from static code analyse checker warning (use NVIC_EncodePriority
       for prio calculation)
- CHG: redesign of temperature measurement and resistor network classes to suppress
       static code checker warnings
- CHG: prevent from static code checker warnings (replaced member by constants
       in initializer list)
- NEW: reserved register entry 0x88 for digital inputs (all monitors)
- NEW: defined register entry 0x89 for device state for all monitors
- NEW: added register entry 0x94 for register general.internal.event (all monitors)
- NEW: added Kinetis specific macros for port registers to improve code readability


--------------------------------------------------------------------------------
Firmware:     Build 277
Release Date: Date: 2019-02-13 15:00:51 +0100 (Mi, 13 Feb 2019)
SVN Revision: Revision: 29955
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 277; batch file modified for the new version
- CHG: reserved register entry 0x88 for digital inputs (all monitors)
- NEW: defined register entry 0x89 for device state for all monitors
- NEW: added register entry 0x94 for register general.internal.event (all monitors)
- CHG: moved act Fan Level register entry from 0x88 to 0x8B
- FIX: made multiple PWM channels on one device running (call init of a channel
       has reset the config of previous inited channel)
- NEW: added new class CIrTempSensorMeas
- FIX: prevent from temporary IR sensor temperature measurement errors during startup
- INT: added define for I2c Alt function


--------------------------------------------------------------------------------
Firmware:     Build 276
Release Date: Date: 2019-01-30 16:26:13 +0100 (Mi, 30 Jan 2019)
SVN Revision: Revision: 29773
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 276; batch file modified for the new version
- CHG: no longer instantiate resistor based motor temp objects for monitors
       without motor temp sensor functionality
- CHG: no longer configure motor temp sensor for HC03
- CHG: renamed member pwmOutput to pwmFan
- CHG: renamed, clarified Fan Pin defines
Support:
- CHG: rework on PWM implementation (altFunction configurable now) is backward compatible
Base and App:
- CHG: introduced #define USE_DEBUG_PINS which is used for control
       of DebugPin setup and DebugPin macros (inactive per default)
- NEW: added unique chip ID registers read mechanism. The CHIP UID is available
       in monitor LocalBus registers 0x4..0x7
- CHG: replaced all include guards with #pragma once
- INT: removed all C# //#region, //#endregion, ///<summary> and updated all copy rights
- CHG: applied static code checker suggestions
- INT: moved FilterLib sources to common Folder monitor_Lib
- INT: moved basicTypes.h and assert.c/h to Monitor_Common dir
- INT: moved STI_Timer, SRA_Ram, SCR_CrcXX sources to Monitor_Common dir
- INT: moved KTY_TempSens, NTC_TempSens, PTS_TempSens sources to Monitor_Common dir
- CHG: no longer perform CRC backward compatibility mode check
- CHG: removed MaintCount related definitions/implementations from flash map and code
- CHG: Prevent from potentially possible watchdog problems during FW download.
       Added 5ms delay between every sector erase operation
- NEW: added possibility to set manual fan level when cooling is disabled
- CHG: derive specific register parts from general register parts, implement
       specific register parts in application project
- NEW: show actual cooling fan percentage level in register (0x88)
- CHG: changed register ID of ResetMonitorStatistic from 0x9F to 0x93


--------------------------------------------------------------------------------
Firmware:     Build 275
Release Date: Date: 2018-10-09 17:23:58 +0200 (Di, 09 Okt 2018)
SVN Revision: Revision: 28597
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 275; batch file modified for the new version
- CHG: return AmbTemp and ObjTemp = 400°C in case of sensor is defective
- FIX: prevent from hang up in wait forever loop during I2C access within defective sensor
- CHG: use bool type instead of float for value control coolingControllerDisable


--------------------------------------------------------------------------------
Firmware:     Build 274
Release Date: Date: 2018-09-12 14:36:26 +0200 (Mi, 12 Sep 2018)
SVN Revision: Revision: 28385
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 274; batch file modified for the new version
- CHG: make sure FAN is off or at lowTemp mode until main firmware is running
- CHG: correct setup of PWM timer unit for the case PWM is inverted
- CHG: set PWM unit inited flag just in case it was not set before


--------------------------------------------------------------------------------
Firmware:     Build 273
Release Date: Date: 2018-08-27 12:14:44 +0200 (Mo, 27 Aug 2018)
SVN Revision: Revision: 28224
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 273; batch file modified for the new version
- CHG: set default lower warning limit of bridge voltage to -0.9V to prevent from false warnings


--------------------------------------------------------------------------------
Firmware:     Build 272
Release Date: Date: 2018-08-06 14:45:23 +0200 (Mo, 06 Aug 2018)
SVN Revision: Revision: 28085
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 272; batch file modified for the new version
- CHG: introduced default publication and subscriprion register, made sure
       publications and subscriptions are at these defaults after construction.


--------------------------------------------------------------------------------
Firmware:     Build 271
Release Date: Date: 2018-07-16 12:21:15 +0200 (Mo, 16 Jul 2018)
SVN Revision: Revision: 28015
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 271; batch file modified for the new version
- FIX: correct calculation of subscription register pointer (suggestion of c-stat)
- FIX: PWM compensation channel was not active for HC04 (TSD80) in FW270
- CHG: implemented suggestions made by c-stat code analyzer
- CHG: use fast values for the PBM_PLOW_POS voltages to prevent a 450ms Delay


--------------------------------------------------------------------------------
Firmware:     Build 270
Release Date: Date: 2018-07-02 15:30:39 +0200 (Mo, 02 Jul 2018)
SVN Revision: Revision: 27850
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 270; batch file modified for the new version
- NEW: added control to switch off the cooling controller (used for inhouse burn test)
- CHG: changed implementeation of PWM inversion and PWM compensation
- CHG: activated flash read-protection mechanism


--------------------------------------------------------------------------------
Firmware:     Build 269
Release Date: Date: 2018-05-17 08:32:01 +0200 (Do, 17 Mai 2018)
SVN Revision: Revision: 27538
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 269; batch file modified for the new version
- CHG: made maintenance counting implementation more robust
- CHG: made boot loader jump into images more robust
- FIX: temp level access for temperatures #[8..9] was wrong. could access a wrong
       address. correct calculation of register for access to temp levels #[8..9]
- NEW: added implementation for BM on TSD80 Rev3 -> new hw compatibility HC04
- NEW: added PWM compensation channel exclusively for HC03 anf HC04
- CHG: rework on HR, HC dependent code
- INT: renamed some axis items to new hw convention counting from 0
- NEW: introduced define for abo index which is used for allErrors update
- NEW: implemented OTI-301 IR I2c temperature sensor for HC03
- CGH: removed TMP006 temperature sensor support from HC03
- NEW: added RT1 temp sensor used as alternate backup for IR sensor on HC03


--------------------------------------------------------------------------------
Firmware:     Build 268
Release Date: Date: 2017-04-28 15:27:12 +0200 (Fr, 28 Apr 2017)
SVN Revision: Revision: 24486
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 268; batch file modified for the new version
- CHG: configure reset Pin filtering to max available filter time to prevent
       from unexpected reset when an external connector is plugged in
- CHG: split SHI_HwIo into base class CHwIoBase and application specific CHwIo class
- CHG: increased default limits for PBM_PLOW_POS1&2 to 12.0V for HC03 (TSD350)
- CHG: increased default limits for PBM_ANA_VDD to 325V for HC03 (TSD350)
- CHG: ensure Fan is off during device is in base image (e.g. app firmware download)
- NEW: implemented KTY83 motor temperature sensor support
- NEW: added lowpass filters with Tau=10s for IR sensor values
- CHG: changed TMP006 averaging to average 4 samples


--------------------------------------------------------------------------------
Firmware:     Build 267
Release Date: Date: 2016-11-25 10:54:51 +0100 (Fr, 25 Nov 2016)
SVN Revision: Revision: 23535
Remark:       Version for new generation Drive TSD80/130 and TSD350

Changes since last Build:
- set new FW version to 267; batch file modified for the new version
- CHG: add define for ADC resolution in SHW_CommonHardwareDefinition.h
- NEW: added resistor network class, separated temperature calculation from resistor measurement
- FIX: improved measurement accuracy of PT100 type (subtract series resistance introduced by inductances)
- NEW: introduced HC concept (HC replaces HR)
- NEW: prepared implementation of BM for TSD350 in HC03
- CHG: increased Monitor target temperature from 35° to 40° (HR02 and HC03)
- CHG: lowered blower controller gain from 10%/K to 5%/K (HR02 and HC03)


--------------------------------------------------------------------------------
Firmware:     Build 266
Release Date: Date: 2016-05-31 10:41:46 +0200 (Di, 31 Mai 2016)
SVN Revision: Revision: 22603
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to
266; batch file modified for the new version
- FIX: solved problem with unexpected ADC values seen BM:HR02
- NEW: added helper class used to apply the eDMA workaround e8011


--------------------------------------------------------------------------------
Firmware:     Build 265
Release Date: Date: 2016-05-25 15:59:14 +0200 (Mi, 25 Mai 2016)
SVN Revision: Revision: 22584
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 265; batch file modified for the new version
- NEW: support for HR02 which uses Kinetis MK02 MCU
	- adapt PWM channels for HR02
	- changed resolution of ANA_VDD voltge from 121.16V to 153.3V
	- no longer evaluate temp of RT3 (not available on HR2).
	  set meas of RT3 value to 25°
	- adaptions needed for TSP80 HR2 (AnaP5V0 ADC channel has changed)
- NEW: added register 0x9C for actual host temperature (used for cooling function)
- NEW: added register 0x9E for target host temperature (used for cooling function)
- NEW: implemented default subscription for actual host temperature (used for cooling function)
- NEW: fan control cooling function watches host and monitor temperatures
- CHG: reduced FAN_BLOW_PHASE_PWM_RATIO from 70% to 30% to make fan more quiet during startup
- CHG: moved CPU temp measurement constants from code to SHW_CommonHardwareDefinition.h
- CHG: set setup of debug IO pins into comment.


--------------------------------------------------------------------------------
Firmware:     Build 264
Release Date: Date: 2016-01-08 14:07:07 +0100 (Fr, 08 Jan 2016)
SVN Revision: Revision: 21634
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 264; batch file modified for the new version
- CHG: make sure motor temperature supervision does not signal an error in case
       of sensor type is none


--------------------------------------------------------------------------------
Firmware:     Build 263
Release Date: Date: 2015-11-02 11:09:43 +0100 (Mo, 02 Nov 2015)
SVN Revision: Revision: 21196
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 263; batch file modified for the new version
- CHG: decision UP, 2015.10.19, switched off persisting of statistic data!!


--------------------------------------------------------------------------------
Firmware:     Build 262
Release Date: Date: 2015-10-20 11:40:14 +0200 (Di, 20 Okt 2015)
SVN Revision: Revision: 21042
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 262; batch file modified for the new version
- NEW: implemented maintenance count feature as defined in
       'Statistik in Monitoren', Triamec Motion AG, SW-Firmware
- CHG: make sure that firmware does not use double functions (e.g. 2.0 -> 2.0f)
- CHG: removed alternative filters functionality to save flash space
- NEW: merged PT100 and PT1000 sensor classes to one class PTS which can handle
       both types of sensors and needs less flash at all
- CHG: rework on flash access implementation (merged flash2 into flash, removed unused constants)
- CHG: respect longword flash write restriction on MK10FX
- CHG: enlarged the large watchdog timeout which is used during sector erase
       (Firmware DL and eeprom emulation). It was too short and could cause WD reset
- CHG: made ADC conversion more robust. Implemented state machine in ADC channels
       to prevent from unexpected behavior caused by DMA overrun which may overwrite
       data and data pointers (exception: illegal access is the consequence)
- CHG: decision UP, 2015.10.19, switched off cyclic persisting of statistic data!!


--------------------------------------------------------------------------------
Firmware:     Build 261
Release Date: Date: 2015-05-08 12:09:55 +0200 (Fr, 08 Mai 2015)
SVN Revision: Revision: 19894
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 261; batch file modified for the new version
- CHG: renamed FilterLib MK10DN to MKxxNoFPU and MK10FX to MKxxFPU
- CHG: use generic Cortex-M4 in filterLib for standard MK10 without FPU
- CHG: use generic Cortex-M4F in filterLib for MK10FX and MK02 with FPU
- CHG: ADC-DMA changed to transfer the same number of A and B channels.
       this need no reprogramming of the DMA sizes


--------------------------------------------------------------------------------
Firmware:     Build 260
Release Date: Date: 2015-04-20 18:03:33 +0200 (Mo, 20 Apr 2015)
SVN Revision: Revision: 19752
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 260; batch file modified for the new version
- FIX: Motor Temperature Sensors MOT1 and MOT2 of bridge monitor were opposite to axis
       definition. exchanged net name TempMot1 and TempMot2. replaced on schematic too
- FIX: adjusted nominal voltage of PBM_PLowPos1 from 9.2V to 8.8V.
       (PLowPos1 is less than 9,2V due to CPU and insulator)
- CHG: changed initialization of slow filters
- CHG: use 0% PWM during suspend Phase for Revision B Monitors
- MOD: increased time of blow phase from 3.5s to 4.5s
- MOD: no longer access AD channels during startup phase (till SPI communication works)
- MOD: do limit checks after AD system properly is started
- CHG: upgrade of Build environment to version 7.4


--------------------------------------------------------------------------------
Firmware:     Build 259
Release Date: Date: 2015-02-09 14:11:40 +0100 (Mo, 09 Feb 2015)
SVN Revision: Revision: 19334
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 259; batch file modified for the new version
- new hardware revision 01 for TSD80 series
- temperature sensors were exchanged on bridge monitor


--------------------------------------------------------------------------------
Firmware:     Build 258
Release Date: Date: 2014-12-10 15:27:35 +0100 (Mi, 10 Dez 2014)
SVN Revision: Revision: 19148
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 258; batch file modified for the new version
- FIX: default abo for motor temperature sensor was wrong 64/65 instead of 65/66
- CHG: changed triggering method to always synchronized with SPI CS.
  enable limit checking not until communication and AD reading is started.


--------------------------------------------------------------------------------
Firmware:     Build 257 (1.1)
Release Date: Date: 2014-11-18 10:28:49 +0100 (Di, 18 Nov 2014)
SVN Revision: Revision: 19015
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 257 (1.1); batch file modified for the new version
- FIX: firmware Download on TOU1 did not work
  (problem on MK10FX device which allows long word programming only)


--------------------------------------------------------------------------------
Firmware:     Build 256 (1.0)
Release Date: Date: 2014-10-21 14:04:15 +0200 (Di, 21 Okt 2014)
SVN Revision: Revision: 18733
Remark:       Version for new generation Drive TSD80/130

Changes since last Build:
- set new FW version to 256 (1.0); batch file modified for the new version

