4d332328c0gui: Limit min PD Mon Pwr y axis range to 0-100uWlinuswck2024-10-22 17:58:07 +0800
edb8099a26Add pglive patch for setting y-axis min range spanlinuswck2024-10-23 12:24:42 +0800
49dc8a9b96gui: autotuner only set_i when relay state changes - Previously, autotuner issues set_i cmd for each report obj received - These change increase the maximum autotune-able PID update rate with GUIlinuswck2024-10-22 14:38:15 +0800
a1b7538295driver: Fix disconnection bug at high cmd rate - Disconnection issue can be triggered by setting high polling rate (500Hz) and then interactive with gui elementslinuswck2024-10-22 11:59:11 +0800
8f5a294a53gui: Fix graphs' refresh rate to be 10Hz - Reduce unnecessary CPU usagelinuswck2024-10-22 10:57:55 +0800
87b0e1bf67gui: rm sIPrefix from PD Current readingslinuswck2024-10-21 11:15:15 +0800
35f66c3516gui: Change LD, Thermostat Status Display Method - Use combinations of label and stylesheet border to create visual cue for statuslinuswck2024-10-18 17:24:03 +0800
dd7e1bbbddgui: Adjust y_axis limit range of graphslinuswck2024-10-18 13:26:41 +0800
a3b38fc6b7gui: Unify the param tree unit formatting stylelinuswck2024-10-18 13:26:18 +0800
388e6725efthermostat: Clear alarm when settings are loadedlinuswck2024-10-17 17:36:17 +0800
e560d8f1ebthermostat, gui: Set max v range according to datasheetlinuswck2024-10-16 16:21:11 +0800
0437c6e76ethermostat, gui: Relax the max settable TEC Current Limit - Improper settings can cause PoE power failure and over heating - See hardware repo Issue #51linuswck2024-10-16 16:14:58 +0800
bad21806f8gui: Add new form for temp adc filter cfg and settable polling rate List of Changes: 1. Get report via polling instead of active report mode 2. Allow user to set a custom report polling rate while settings polling rate is fixed to 10Hz - it is necessary for pid autotune to function correctly 3. Add a form for configuring temperature adc filter 4. Use two different timer for polling report and settings to optimize performancelinuswck2024-10-10 17:18:05 +0800
cb2bc505c9driver: expose _odr_type for filter cfgslinuswck2024-10-10 15:26:45 +0800
4f19d2c2bedriver: Expose the upper and lower limit settings for Sinc3WithFineODR Filter Cfglinuswck2024-10-10 15:23:57 +0800
e8d3858fc9driver: return whether task queue is full in task_dispatcher()linuswck2024-10-10 15:20:58 +0800
9bec56ed6cdriver: Add support for GetPollInterval cmdlinuswck2024-10-10 15:19:43 +0800
51b82e0447cmd_handler: Add cmd to get temp adc polling intervallinuswck2024-10-10 13:41:15 +0800
31e108a4b5thermostat: settings obj now contains the exact filter type and vallinuswck2024-10-10 13:39:37 +0800
253f4410eesys_timer: Add fn to retrieve ts in us resolutionlinuswck2024-10-10 13:31:20 +0800
a512614de5net: add option not to open sock when it is polled - fix a bug, which mcu can get stuck in State::HardReset indefinitelylinuswck2024-09-11 12:08:37 +0800
76f7875e3agui: await for hard rst and dfu actionlinuswck2024-09-10 16:06:39 +0800
0d64d62fb0gui: Add pd_mon config form - force user to follow a sequence of steps for safely configuring pd_monlinuswck2024-09-10 15:29:11 +0800
0aeffdbf7bld_pwr_exc_protector: disable irq after pwr off -setting 0V threshold during power off might trigger IRQlinuswck2024-09-10 15:23:14 +0800
89a1270c02driver: send cmd err msg to a pyqt siglinuswck2024-09-10 11:47:51 +0800
c2e78e6f17driver: Support ApplyPdParams cmd - Include handling mechanism for "InvalidSettings"b response msglinuswck2024-09-10 11:45:45 +0800
86e6d3764elaser: check pd_mon params & pwr limit before set - Design to prevent Issue #47 on hardware kirdy repo from happening - responsitivity, i_dark & transconductance determine the pwr limit range - when "ApplyPdParams" and "SetLdPwrLimit" are called, pwr limit range is checked before applying new parameter - Send out a "InvalidSettings" response with error message if settings cannot be applied - Add settable power range to settings json objectlinuswck2024-09-09 17:38:02 +0800
1111967a7bgui: add arg for saving log to a filelinuswck2024-09-04 17:01:27 +0800
6d4b1b0574driver: end_session if ConnClose & Dfu is recv-edlinuswck2024-09-04 15:28:58 +0800
0b5fda2cd9net: close oldest sock if available socks run out - By default, smoltcp by default reset any new connections if there is no available socketlinuswck2024-09-04 15:24:03 +0800
b763350a8bnet: disable IRQ when data is being enqueued - This prevents broken json to be sent out due to IRQlinuswck2024-09-04 12:17:55 +0800
838592c812gui: Display hw_rev when connectedlinuswck2024-09-03 17:00:50 +0800
e632cbbfdddriver: use readuntil to get response msg - The driver may recv partial ctrl msg, which causes a json decode errorlinuswck2024-09-03 16:49:46 +0800
27bf573010driver: retrieve hw_rev after conn is establishedlinuswck2024-09-03 16:40:59 +0800
5166bb7ba8driver: rm thread use & make it asyncio callable - make all cmds asyncio callable - control specific cmds can be enqueued to the handler synchronouslylinuswck2024-09-02 17:57:24 +0800
9c611fc861main: poll iface for dfu & hard rst ctrl msgslinuswck2024-09-02 15:39:25 +0800
51913f2e2fnet: fix incorrect poll_iface() calls - poll_iface might be called by interrupt while poll_iface was being called in main loop - Disable interrupt when poll_iface is being processed - Only use IfacePollTimer to poll_ifacelinuswck2024-08-27 18:43:20 +0800
c86d67b15cfirmware: do not display smoltcp loglinuswck2024-08-27 16:11:55 +0800
3ba8b99084Use degree celsius as temperature base unit - Breaking: Erase settings before flashing - except beta in Steinhart-Hart equation - to keep the temperature value set consistent with the value returned - f32 floating point calculation is inaccuratelinuswck2024-08-07 17:22:30 +0800
af73ac8127gui: Add text for LD & Thermostat statuslinuswck2024-08-07 12:48:09 +0800
c214e4182dtemp_mon: fix limits not effective at stable temp - previously, temp is stable, temp limits are not checkedlinuswck2024-08-07 11:17:06 +0800
fb69ae3306main: Don't change temp ctrl mode at otplinuswck2024-08-06 18:00:15 +0800
8c8ed12522gui: Disable param tree compact height - The displayed number was clipped by the pyqtgraph spinboxlinuswck2024-08-06 11:57:52 +0800
572e2dbc5dgui: update for the new driver code - Default to use active report mode - Connection will be retried upon abnormal disconnection - Remove poll every _s and apply btnlinuswck2024-08-05 15:23:54 +0800
82c46e04d0Update PID Autotune Code for Driver Codelinuswck2024-08-06 11:52:23 +0800
28f8c3c497Update Example Code for Driver Codelinuswck2024-08-02 17:46:25 +0800
47bf166ecbdriver: kirdy driver rewrite - Start a new thread to handle connections and schedule FIFO task execution - Make all the cmd accessible without using async - Connections automatically retry upon disconnection - Add support for PyQt6 Signallinuswck2024-08-02 17:44:51 +0800
1dcac25574gui: Use a custom regex to handle the suffix with temperature characterslinuswck2024-07-31 11:35:04 +0800
3f9a4bf140ld: Block pwr on request if alarm is asserted - Align the alarm and pwr up behavior with thermostat temp_monlinuswck2024-07-26 11:02:05 +0800
201148fb21main: allow loading flash without device settings - Fix bugs: ld & thermostat settings cannot be loaded if device settings are not present. But, device settings can be left not configured.linuswck2024-07-25 18:01:57 +0800
a90031dd6cld_pwr_exc_protector: clear irq bit at pwr uplinuswck2024-07-25 17:32:57 +0800
7b52072617ld: cfg hardware when pd_mon params changeslinuswck2024-07-25 17:09:03 +0800
c241d34434gui: fix default units and mv to params' titles - siPrefix(eg. m, u, k) is no longer editable and fixed - the displayed unit is relocated to ctrl panel params' titleslinuswck2024-07-25 15:56:31 +0800
a76b8de994thermostat: Save the user config-ed value directly - the firmware recorded the actual value set with quantization errors or other errors - this caused confusion for the user when they read back the settingslinuswck2024-07-22 17:36:08 +0800
3410a271fdthermostat: rst pid_state at pwr_uplinuswck2024-07-22 10:53:52 +0800
8f38acd0f2thermostat: do not rst tec_i_out to 0 at pwr downlinuswck2024-07-22 10:52:23 +0800
b95b9dcefagui: Display -273.15 if thermistor is not detected - if tec_temp == None -> Hide temp_plot graph and display -273.15 on ctrl panellinuswck2024-07-19 18:37:52 +0800
5e6a4c0646gui: Do not turn on report mode for PID Autotunelinuswck2024-07-19 18:24:09 +0800
3737c2ed59gui: increase the connection timeout value - 0.1s is too short. Min settable sampling rate is 1.25Spslinuswck2024-07-19 14:47:04 +0800
4cd328d98cld: apply pwr limit setting to analog watchdog - This fixes a bug which power limit is not applied to pd_mon at startuplinuswck2024-07-19 10:59:05 +0800
af95de0f16thermostat: cal gain error at TEC DAC outputlinuswck2024-07-10 18:16:03 +0800
db2f76771aUpdate Kirdy Driver Example Codelinuswck2024-06-21 16:52:43 +0800
9002ca6992gui: Fix a bug which GUI may recv two msgs at oncelinuswck2024-06-17 12:53:04 +0800
92f6b83b16gui: Fix a bug which dfu cmd can cause connrst err - Kirdy may close and reset itself before host computer ends its sessionlinuswck2024-06-17 12:46:42 +0800
da50f372d9gui: plot ld_pwr is zero if responsitivity not setlinuswck2024-06-17 12:38:59 +0800
57bfd6d83cgui: Relocate LD Power limit params in ctrl panellinuswck2024-06-17 12:36:25 +0800
dacf9f0fa5gui: Add pid autotune to ctrl panellinuswck2024-06-17 12:35:00 +0800
bfd8c0e43apid_autotune: Update pid autotune main fnlinuswck2024-06-17 12:08:01 +0800
dc97f42bd0boot: Do not pwr up LD & TEC at boot stage - This fix LD current spike at boot uplinuswck2024-06-17 11:06:31 +0800
3813b79623driver: Fix IP Settings not being able to updatelinuswck2024-06-13 16:25:52 +0800
83a764889cld_pwr_exc_protector: set smpr to be slowest - reduce noise on the analog watchdoglinuswck2024-06-13 15:37:41 +0800
c09da0db98ld_pwr_exc_protector: Apply 32-pt avg to pd_v - Reduce noise amplitude from STM32f4 ADClinuswck2024-06-13 15:36:17 +0800
d5a620c76bpd_mon: make transconductance user-configurable - hw change: different boards now have different gain settings in order to set a pd current range close to the ld being used - transconductance and fin_gain params are added to flash with "Device" as keylinuswck2024-06-13 11:10:40 +0800
d1660c6090ld_pwr_exc_protector: cal volt offset for pd mon - hw change: A voltage offset is added onto the pd mon pinlinuswck2024-06-12 18:16:44 +0800
f35546b070gui: lock param tree value when user inputs a new value - prevent user input from getting overwritten from incoming datalinuswck2024-06-11 15:03:09 +0800
e8aaf5f66bnet: Implement iface polling timer - iface needs to be polled with ref to iface.poll_at time to ensure quality of service - iface.poll() also services TCP related Timerslinuswck2024-05-02 10:25:13 +0800
70fed23c51main: Add checks before sock send/recv are calledlinuswck2024-04-29 17:57:45 +0800
b8241d1f27cargo fmt - rustfmt.toml is ported from artiq-zynq repolinuswck2024-04-23 17:09:26 +0800