--------------------------------------------------------------------------------
Firmware:     Build 271
Release Date: $Date: 2020-09-14 14:23:54 +0200 (Mo., 14 Sep 2020) $
SVN Revision: $Revision: 34825 $
Remark:       Version for new generation Drive TSD80 Rev3, TSD350 and TSP710,
              First Functional Safety implementation

Changes since last Build:
- set new FW version to 271; batch file modified for the new version
- FIX: Restart WatchDog at start of highPrio task to solve unwanted watchdog resets
       during STO pulse tests
- CHG: correct checking IWDG flags (it's not allowed to use combined flags using IWDG_GetFlagStatus)
- CHG: use of ASSERT() corrected and simplified


--------------------------------------------------------------------------------
Firmware:     Build 270
Release Date: Date: 2019-08-26 10:49:24 +0200 (Mo, 26 Aug 2019)
SVN Revision: Revision: 31613
Remark:       Version for new generation Drive TSD80 Rev3, TSD350 and TSP710,
              First Functional Safety implementation

Changes since last Build:
- set new FW version to 270; batch file modified for the new version
- FIX: check for cleared IT bit to prevent from double firing EXTI interrupt
- CHG: implement FastTask with 10kHz
- CHG: moved reading of inputs 1 and 2 from highPrioTask to fastTask,
- CHG: moved writing of outputs 1 and 2 from highPrioTask to fastTask


--------------------------------------------------------------------------------
Firmware:     Build 269
Release Date: Date: 2019-05-17 16:34:55 +0200 (Fr, 17 Mai 2019)
SVN Revision: Revision: 30775
Remark:       Version for new generation Drive TSD80 Rev3, TSD350 and TSP710,
              First Functional Safety implementation

Changes since last Build:
- set new FW version to 269; batch file modified for the new version
- CHG: changed implementation of STO lines checker state machine. added two new
       states (eStoIgnoreExtPulse and eStoWaitSignallingOk). fast STO line check
       is responsible for ignoring external pulses which are smaller than 1.3ms
- CHG: construct shutDown outputs with default setting for shutdown
- INT: added, corrected a lot of member and parameter descriptions as
       requested by doxygen checker


--------------------------------------------------------------------------------
Firmware:     Build 268
Release Date: Date: 2019-05-13 12:18:25 +0200 (Mo, 13 Mai 2019)
SVN Revision: Revision: 30716
Remark:       Version for new generation Drive TSD80 Rev3, TSD350 and TSP710,
              First Functional Safety implementation

Changes since last Build:
- set new FW version to 268; batch file modified for the new version
- CHG: implemented gateDriverShutDown() FW mechanism due to HW does no longer
       switch off the drivers directly in HW types equipped with TC4. See
       description in P:\Drive\Monitor\ProblemReports\NoFastShutDownAfterSto_TSDxx
- CHG: removed STO active bit manipulation mechanism in SPI message (Mon->FPGA)


--------------------------------------------------------------------------------
Firmware:     Build 267
Release Date: Date: 2019-05-08 16:39:21 +0200 (Mi, 08 Mai 2019)
SVN Revision: Revision: 30683
Remark:       Version for new generation Drive TSD80 Rev3, TSD350 and TSP710,
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 267; batch file modified for the new version
- CHG: removed unused code and unused substates, added new device states
- CHG: renamed compiler switch USE_UART_CONNECTION to UART_INTERFACE_TEST (is inactive per default)
- CHG: prevent from static code checker warnings (replaced some members by constants
       in initializer list, use cm4 functions NVIC_EncodePriority(), NVIC_Dis-/EnableIRQ(),
       prevent possibility for invalid shift arguments)
- CHG: implemented receive and send methods for inter monitor communication
       (prevents from static code checker warning)
- FIX: correct wrong ADC sampling time clear mask for ADC_channels 1..9
- NEW: added compiler switch PARALLEL_STATE_MACHINES used for new mode with
       parallel safety SMs (for now, is inactive per default)
- NEW: prepared implementation for parallel safety state machines.
       possible to activate the new code with compiler switch PARALLEL_STATE_MACHINES
- NEW: defined register entry 0x89 for device state for all monitors
- NEW: added register entry 0x94 for register general.internal.event (all monitors)


--------------------------------------------------------------------------------
Firmware:     Build 266
Release Date: Date: 2019-02-19 08:26:59 +0100 (Di, 19 Feb 2019)
SVN Revision: Revision: 30016
Remark:       Version for new generation Drive TSD80 Rev3 and TSD350,
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 266; batch file modified for the new version
- CHG: use timeStampTimer for meas settled supervision and made measurement
       settled time programmable
- NEW: added constants for temp and voltage start bits in error/warnings register
- CHG: renamed some register entries
- NEW: defined register entry 0x89 for device state for all monitors
- NEW: added register entry 0x94 for command register general.internal.event for all monitors
- FIX: correct setup of watchdog (did not fire immediately after startup)
- FIX: ensure watchdog is started not before leaving the safe state
- FIX: ensure STO_Active bit on monitor B is cleared after successful fault reset


--------------------------------------------------------------------------------
Firmware:     Build 265
Release Date: Date: 2019-02-06 10:24:33 +0100 (Mi, 06 Feb 2019)
SVN Revision: Revision: 29837
Remark:       Version for new generation Drive TSD80 Rev3 and TSD350,
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 265; batch file modified for the new version
- CHG: applied static code checker suggestions (complete member init, naming conv, ...)
- 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
- CHG: no longer perform CRC backward compatibility mode check
- CHG: implemented synchronization between highPrio task and SPI communication
       (SPI triggers the highPrio task)
- CHG: Prevent from potentially possible watchdog problems during FW download.
       Added 5ms delay between every page erase operation
- CHG: increased DelaySignalStoNotActive from 25ms to 30ms (HW requirement)
- CHG: make sure voltage limits are changed when voltMeas Selector changes
- CHG: changed register ID of ResetMonitorStatistic from 0x9F to 0x93
- FIX: solved ADC3-DMA conversion problems which could cause wrong ADC values


--------------------------------------------------------------------------------
Firmware:     Build 264
Release Date: Date: 2019-01-11 11:03:59 +0100 (Fr, 11 Jan 2019)
SVN Revision: Revision: 29228
Remark:       Version for new generation Drive TSD80 Rev3 and TSD350,
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 264; batch file modified for the new version
- NEW: added unique chip ID registers read mechanism. The CHIP UID is available
       in monitor LocalBus registers 0x4..0x7
- CHG: removed all includes of SHW_HardwareDefinition.h and added it to the
       PreInculde of the projects
- CHG: introduced new defines for TSP710, TSD80 and TSD350 which makes the
       code more readable
- CHG: replaced all include guards with #pragma once
- INT: removed all C# //#region, //#endregion, ///<summary> and updated all copy rights
- FIX: sample the signals SMB0 and SMB1 in fastTask to prevent unexpected VoltageErrors
- FIX: set initial state of STO signalling to prevent from unexpected VoltageErrors


--------------------------------------------------------------------------------
Firmware:     Build 263
Release Date: Date: 2018-09-04 16:12:39 +0200 (Di, 04 Sep 2018)
SVN Revision: Revision: 28287
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 263; batch file modified for the new version
- FIX: fixed communication timeout during STO fault simulations problem (see Bug 537)
- CHG: simplified async command state machine code, added some explaining comments


--------------------------------------------------------------------------------
Firmware:     Build 262
Release Date: Date: 2018-08-27 11:35:06 +0200 (Mo, 27 Aug 2018)
SVN Revision: Revision: 28221
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 262; batch file modified for the new version
- CHG: adjust the warning and error limits for the measured voltages


--------------------------------------------------------------------------------
Firmware:     Build 261
Release Date: Date: 2018-08-09 10:59:29 +0200 (Do, 09 Aug 2018)
SVN Revision: Revision: 28113
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 261; batch file modified for the new version
- CHG: introduced default publication and subscription register, made sure
       publications and subscriptions are at these defaults after construction.
- INT: removed unused, commented compiler switch LH_TESTS_ACTIVE
- FIX: correct signaling of STO Active state after a successful startup test.
       This problem was introduced in Build 260


--------------------------------------------------------------------------------
Firmware:     Build 260
Release Date: Date: 2018-07-18 16:14:49 +0200 (Mi, 18 Jul 2018)
SVN Revision: Revision: 28033
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 260; batch file modified for the new version
- FIX: correct calculation of subscription register pointer (suggestion of c-stat)
- CHG: implemented suggestions made by c-stat code analyzer
- CHG: delay the signaling of state Ok after inconsistent and other safe state faults


--------------------------------------------------------------------------------
Firmware:     Build 259
Release Date: Date: 2018-06-15 14:52:43 +0200 (Fr, 15 Jun 2018)
SVN Revision: Revision: 27697
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 259 (1.3); batch file modified for the new version
- NEW: make sure STO test lines are open until FPGA is running


--------------------------------------------------------------------------------
Firmware:     Build 258
Release Date: Date: 2018-06-07 11:47:10 +0200 (Do, 07 Jun 2018)
SVN Revision: Revision: 27649
Remark:       Version for new generation Drive (TSD80 Rev3 and TSD350)
              Status Quo STO implementation

Changes since last Build:
- set new FW version to 258 (1.2); batch file modified for the new version
- CHG: applied pin definition modifications TSD80 Rev3Z -> Rev3
- CHG: applied all pin modifications TSD80 Rev3Z -> Rev3
- CHG: added new ADC resolution factors
- CHG: moved supply voltage calculation to application SAD
- NEW: added signals specific for SDIOM_B on TCU1 (PBS2_nPwrOk)
- CHG: StoFastLines update moved back to SPI CS handler (needs to be in synch with iso abo sending)
- CHG: introduced method stoLinesFastUpdate() in high prio task
- NEW: introduced define for abo index which is used for allErrors and StoFastLines update
- CHG: use triggered mode for ADC conversion (ADC3&4 do not work propper in untriggered mode)
- CHG: made ADC regular and Inject channels running, lowered SPI DMA priority
- INT: added ADC timing test features (disabled for production)
- NEW: added USART with DMA which can be used for communication between mon  A and B
- NEW: Encoder counting for own axis and other axis encoders
- CHG: increased STO pulse wait time to 700us, watch result for 200us to make
       pulse test more robust. (resulting pulse duration is 900us)
- FIX: made sure STO_2 is synchronized to monitor A STO2 state at startup


--------------------------------------------------------------------------------
Firmware:     Build 257
Release Date: Date: 2018-01-22 14:54:41 +0100 (Mo, 22 Jan 2018)
SVN Revision: Revision: 26741
Remark:       Version for new generation Drive  (Prototype for TSD80)

Changes since last Build:
- set new FW version to 257 (1.1); batch file modified for the new version
- NEW: added all IO for the TSD80 prototype SDIOM
- NEW: added all AD channels for the TSD80 prototype SDIOM
- CHG: removed TIM_CtrlPWMOutputs() in SAD..initAdcChannels()
       (not needed and would assert because used timer has no BDTR register)


--------------------------------------------------------------------------------
Firmware:     Build 256
Release Date: Date: 2017-11-23 11:04:52 +0100 (Do, 23 Nov 2017)
SVN Revision: Revision: 26257
Remark:       Version for new generation Drive (Prototype for TCU1)

Changes since last Build:
- set new FW version to 256 (1.0); batch file modified for the new version
- initial SafetyDigIoB monitor implemented based on SafetyDigIoA monitor
- Status Quo implementation; Safety Monitor A is safety monitor, Safety Monitor B is passive
- CHG: made boot loader jump into images more robust

