================================================================================
MOGLabs LDD Firmware Changelog
================================================================================

v1.3.4 - 2020/09/14
=========================
- Changed limits on ISET to include bias current
- Changed CURRENT,BIAS to return an error if it would exceed the current limit
- Eliminated residual current ramp when setting CURRENT,BIAS to zero
- ILD: Prevent accumulation of setpoint drift from multiple relock attempts
- ILD: Fixed drift check when locking near edge of ramp
- ILD: Fixed scenario where laser unlocked without logging an error message


v1.3.3 - 2020/08/17
=========================
- Increased ramp-down rate when switching off current
- Changed interlock to rapidly reduce current instead of shorting output
- Fixed bug with setpoint current when ramping on R8 hardware
- Enabled IMOD=OFF on ILDs for debugging purposes


v1.3.1 - 2020/08/13
=========================
- Updated IAP to fix several issues related to firmware updates 
- Implemented current "ramp down" upon disable to prevent back-EMF across diode
- Prevent issue where changing TSET during polarity test causes incorrect outcome
- ILD: Corrected issue where current did not ramp after boot
- ILD: Fixed automatic relock feature


v1.2.7 - 2020/06/18
=========================
- Introduced "event" logging for device monitoring
- Reduced time taken to determine "open circuit" condition on both laser and TEC
- Fixed LED indicators when turning laser off
- Changes for hardware revision 8 compatibility
- Introduced RS232 interface option and BAUD command to control baudrate
- Added support for ILD/ILA hardware
- Renamed "Piezo" display menu to "Ramp", changed to unitless RAMP commands
- Renamed "Headboard" display menu to "Interlock"
- Fixed bug causing headboard photodiode value to not be updated in menu
- Improved interlock logic when using case switch
- Added HB,STATUS command to return interlock state, even when deactivated
- Fixed bug preventing LDD returning to "standby" mode after turning current off
- Added units parsing to ISET, ILIM commands
- Fixed potential error when changing the interlock trip level using the display
- Changed CASE interlock state to register immediately at laser on
- Added additional headboard verification steps when powering on laser


v1.2.1 - 2020/04/02
=========================
- Improvements to state machine error handling
- Improvement to laser "open-circuit" detection
- Improvements to ramp functionality:
  - Added "RAMP" command menu
  - Ramp applied to current only when HV disabled
  - Corrected bias offset calculation in Rev5 units
  - Corrected amplitude of current ramp when HV is off
  - Added RAMP,DUTY command to control ramp duty cycle 
  - Increase range of ramp frequencies, now 0.01Hz - 100Hz
  - Bias current now limited to not exceed ILIM
  - Changed HV,OFFSET to be the centre voltage of the ramp
- All commands that set a value consistently return the new value
- Fixed delay after changing ISET/ILIM
- Fixed keyswitch bug when interlock removed
- Set autopolarity test to be restarted if cancelled
- Fixed CURRENT,ONOFF response when current already on
- Changed CURRENT,BIAS to use mA units


v1.1.7 - 2020/01/24
=========================
- Fixed PID,GAIN, PDOVERRIDE and MODULATION commands
- Improve ethernet throughput speed
- Modified CURRENT,BIAS command to adjust bias mid-ramp


v1.1.6 - 2020/01/13
=========================
- Fixed handling of headboard interlock trigger
- Increased current display to 3 decimal places
- Fixed open-circuit check for external current modulation
- Changed current bias to permit current ramp without piezo enabled


v1.1.5 - 2019/11/26
=========================
- Added additional checks to verify TEC operation
- Increased max permitted internal temperature to 75C
- Changed TOGOVERRIDE to permit recovery from error state


v1.1.4 - 2019/11/14
=========================
- Added STATUS command
- Changed VOLT command for backwards compatibility
- Modified HV,MOD command to accept named arguments
- Improved error response behaviour


v1.1.3 - 2019/11/13
=========================
- Fixed TEC autopolarity test
- Improved interlock handling
- Fix for reducing ILIM below ISET


v1.1.2 - 2019/11/08
=========================
- Improvements to TEC control


v1.1.1 - 2019/10/25
=========================
- Improvements to firmware update process


v1.1.0 - 2019/10/22
=========================
- Introduced backwards-compatibility commands
    REPORT, CLEARERR, TOGOVERRIDE, ISET, ILIM, ILD, VLD, VMAX, INTERLOCK, KEY,
	MODULATION, INVERT, AUTOTEC, ITEC, TSET, TMIN, TMAX, TCURR, VTEC, PID
