Commit Graph

  • b8241d1f27 cargo fmt - rustfmt.toml is ported from artiq-zynq repo master linuswck 2024-04-23 17:09:26 +0800
  • ded7dd7694 gui: add waitingspinnerwidget linuswck 2024-04-23 15:55:14 +0800
  • 7fa4330797 gitignore: ignore python .pyc files linuswck 2024-04-23 15:52:32 +0800
  • 7be35fe7f0 thermostat: Reduce DAC calibration time - 13 out of 18 bit of DAC is used to calibrate the output with 12bit ADC - Calibration with more than 13 bit does not improve the accuracy linuswck 2024-04-23 15:42:17 +0800
  • c5efc6ca57 MAX1968: Improve STM32 ADC calibration consistency linuswck 2024-04-23 15:35:23 +0800
  • b330f45260 net: Increase ARP Cache Size from 4 to 16 linuswck 2024-04-23 11:43:27 +0800
  • 554f292cab net: Disable nagle algo & Set keep_alive duration linuswck 2024-04-22 16:39:30 +0800
  • f303ab639a net: Reset tcp socks when new eth link is detected linuswck 2024-04-22 16:01:32 +0800
  • ba30575406 GUI: Improve abnormal disconnection handling linuswck 2024-04-22 13:07:18 +0800
  • bfdb1f5066 gui: move tool, save & load flash btns to menu bar - Add a new form to update IP address linuswck 2024-04-19 15:51:58 +0800
  • 5b35f32a42 driver: Handle CancelledError for send_cmd handler linuswck 2024-04-19 15:39:29 +0800
  • 2df22d5dcb driver: Use inet_aton to check IPV4 address format linuswck 2024-04-19 15:36:27 +0800
  • b73eacd234 driver: Wait for a sec after hard rst cmd is sent linuswck 2024-04-19 15:02:46 +0800
  • 4a06a7579f gui: handle hard reset in _on_connection_changed() - Ensure correct gui disconnection seq during Kirdy hard reset linuswck 2024-04-19 14:49:01 +0800
  • 9524601cb6 gui: Improve DataWatcher operation - Ensure there is only one instance of signal_emitter() task - calling stop_watching should stop report_task linuswck 2024-04-19 13:25:00 +0800
  • 4116962175 firmware: rst active_rpt if eth link is not active linuswck 2024-04-18 17:32:58 +0800
  • 0e087c6992 ld: ld_soft_i_limit now limits ld_i_out being set linuswck 2024-04-18 15:36:13 +0800
  • 6b250aa1fd gui: Add global QT Style Sheet - Gray out the objects if they are disabled linuswck 2024-04-15 17:00:25 +0800
  • de80aedafc gui: separate connection_menu into Qdiag obj linuswck 2024-04-11 16:25:50 +0800
  • 31a97bdeb4 gui: GUI Initial Commit - Adapted from Thermostat GUI PR #101 linuswck 2024-04-10 16:36:39 +0800
  • 784b8a357b driver: Update send_cmd fn to use msg_type params linuswck 2024-04-10 16:48:04 +0800
  • ceb003e07e cmd_handler: Add msg_type params to report & settings linuswck 2024-04-10 16:47:33 +0800
  • 10873f4791 firmware: Load default pwr_on settings from flash linuswck 2024-04-09 11:42:04 +0800
  • e160316bfc ld: add ld_terms_short in settings report linuswck 2024-04-05 16:13:32 +0800
  • 0a992c1dc8 ld: pd_responsitivity -> pd_mon_params linuswck 2024-04-05 15:37:44 +0800
  • ae74455f94 driver: Separate setting pd_config into two fns linuswck 2024-04-10 16:25:17 +0800
  • 6bccbceb81 main: Add a state to only save network settings linuswck 2024-04-10 16:24:18 +0800
  • eaebdb390d cmd_handler: change mW to W in SetLdPwrLimit cmd linuswck 2024-04-03 10:52:31 +0800
  • 489333c43d ld: save pwr_limit into settings linuswck 2024-04-03 10:47:01 +0800
  • 4288d465c9 thermostat: Report temp_setpoint in degree celsius linuswck 2024-04-02 15:22:52 +0800
  • 09863353cd driver: Add lock for tcp writer & reader stream linuswck 2024-04-02 13:19:40 +0800
  • 6d107d55cf driver: Add StoppedConnecting exception linuswck 2024-04-10 16:37:03 +0800
  • d435dc06d8 fix typos linuswck 2024-03-25 15:25:38 +0800
  • 898358f4e6 pykirdy: Add reporting interval in report_mode linuswck 2024-03-25 12:43:02 +0800
  • a13c6fa86c pykirdy: Update handling of json objects received - Accept new line delimited json in read_response() linuswck 2024-03-25 12:40:46 +0800
  • b1a1173075 cmd_handler: Add newline at the end of json sent linuswck 2024-03-25 12:27:35 +0800
  • af68b0e90a Update rust, stm32-eth, hal, smoltcp versions linuswck 2024-03-22 17:44:06 +0800
  • f8abfd4300 Update nixpkgs version linuswck 2024-03-22 12:48:53 +0800
  • 7d41edef20 ld: Increase the delay before turning on LD_PWR - Delay is tested and verified with oscilloscope - Tested with 0.3A LD output current linuswck 2024-03-21 15:17:17 +0800
  • 607da8a822 ld: Add a delay before turning on LD PWR - DAC output might not drop to 0V before PWR is being turned on - Thus, it might drive nondeterministic current into the laser diode during pwr up linuswck 2024-03-20 17:24:29 +0800
  • 7f06fc06fd async driver: fix incorrect timeout handling linuswck 2024-03-20 15:24:56 +0800
  • 67f9e65df8 Start tec_readings_conversion after report is sent - Before this fix, tec_readings only converts when eth_is_pending linuswck 2024-03-20 14:31:29 +0800
  • 7d2e14ef2f eth: Poll Iface In ETH IRQ - Improve responsiveness of TCP packets handling - Fix a bug when one client is connected and active report is ON, the other client's cmds do not receive Ack from Kirdy linuswck 2024-03-20 14:25:35 +0800
  • e525a3f354 fix typo linuswck 2024-03-20 12:06:05 +0800
  • 8431e9f43d Update README linuswck 2024-03-20 11:55:21 +0800
  • e9d5f4598a Fix wrong USB Product Description linuswck 2024-03-20 11:45:09 +0800
  • 1867935047 Send report to connected socket - Remove active report in flash settings linuswck 2024-03-19 17:38:29 +0800
  • 99cf17f7e4 temp_mon: Add support for constant current mode linuswck 2024-03-19 13:10:23 +0800
  • 048245f674 set_tec_max_i_pos/neg->...cooling_i/heating_i linuswck 2024-03-18 17:50:37 +0800
  • 0a01d299bc Fix wrong reporting of Thermostat Pwr_on status linuswck 2024-03-18 17:23:45 +0800
  • dbbd438e92 ld: Fix unable to save & load ld_i flash settings linuswck 2024-03-19 12:39:50 +0800
  • 3ad7c417f6 Fix a ld current ramp up bug - During ld_i ramp up, if pwr up cmd is called, ld_i is set incorrectly linuswck 2024-03-18 16:39:22 +0800
  • c06491a8b2 Update PID Autotune Code linuswck 2024-03-18 13:26:23 +0800
  • 0380c8d30b Unify naming and unit in firmware and driver - mA, uA -> A - K -> Degree Celsius - tec -> thermostat linuswck 2024-03-18 15:41:31 +0800
  • ed5cda6364 Correct wrong comment in driver linuswck 2024-03-18 15:38:08 +0800
  • 61624b0bd6 Implement Kirdy AsyncIo Driver and example code linuswck 2024-03-15 17:14:22 +0800
  • 1480305c16 max1968: Fix ADC+DMA does not start converting bug linuswck 2024-03-15 14:45:19 +0800
  • 74c465d16f fix typos linuswck 2024-03-12 11:47:58 +0800
  • 574abc2c2f Add instructions to erase flash settings with DFU linuswck 2024-03-12 11:26:45 +0800
  • a9dbff8250 Send Response Back to The Client after Recv Cmd linuswck 2024-03-08 16:30:15 +0800
  • 8cd3f70721 Add Instructions for Erasing Flash Settings linuswck 2024-03-07 11:55:10 +0800
  • b7231f48ff Fix Recv Dfu cmd doesn't hard reset bug linuswck 2024-03-07 10:26:32 +0800
  • 7f6a385e1d Support controls from multiple TCP Socket Clients linuswck 2024-03-06 16:29:02 +0800
  • eff8adc184 Update Eth Link Speed with the detected Speed - adds support to Half/FullDuplexBase10T, HalfDuplexBase100Tx Eth Speed - fix a bug which Kirdy requires link to up to enter main loop linuswck 2024-03-06 12:15:08 +0800
  • a579e5c5d5 Add default gateway into IpSettings linuswck 2024-03-06 10:34:57 +0800
  • 65b757ac3c Add cmd to Store IP Settings in Flash - Cmds Setup Flow: Set IP -> Save Settings to Flash -> Issue HardRst linuswck 2024-03-05 16:44:28 +0800
  • 911d9a7bc9 Load & Config IP Settings from Flash at StartUp linuswck 2024-03-05 16:44:03 +0800
  • 111d9a4226 cleanup linuswck 2024-03-04 16:13:52 +0800
  • a3885c365e Implement Save & Load Flash Settings in FSM & cmd linuswck 2024-03-04 16:11:22 +0800
  • a58b0954ec Add Set Default PWR On cmd for ld & tec linuswck 2024-03-04 16:07:39 +0800
  • 92c6cf12d4 Add fns to apply ld, tec settings summary configs linuswck 2024-03-04 15:50:30 +0800
  • ef2410f441 Add fns, struct items for getting ld, tec settings linuswck 2024-03-04 15:48:19 +0800
  • adfa4f5fa3 Move TempAdcFilter struct def to Thermostat linuswck 2024-03-04 15:38:55 +0800
  • df939eb9a3 Use FSM to manage device state in main loop linuswck 2024-03-04 11:08:26 +0800
  • 3aca712e1d Fix typos linuswck 2024-03-04 10:32:33 +0800
  • 4526536a48 Ignore packets of 0 bytes size linuswck 2024-03-01 11:27:02 +0800
  • f488786e1c Use DMA to read Tec_I & Tec_V - Remove the single conversion polling time with DMA linuswck 2024-02-29 16:47:03 +0800
  • 3528d8a68f Update Python Test Scripts linuswck 2024-02-28 13:33:51 +0800
  • 46393bacdb Add comments on TCP client development linuswck 2024-02-28 12:54:21 +0800
  • 6fc800e562 net: Set stm32 link speed with the Phy Speed read linuswck 2024-02-28 12:58:57 +0800
  • 76477065be Change f64 to f32 for SI Unit related computation - Save computational time - Improve the processing speed of TecSetI cmd linuswck 2024-02-27 16:26:05 +0800
  • b1fa0e51c8 Add a separate tec_set_i cmd to reduce overhead - miniconf is slow at validating complex struct with large enum lists linuswck 2024-02-27 12:19:53 +0800
  • 9f82fa58f4 cmd: Add temp adc filter config cmd linuswck 2024-02-27 11:00:32 +0800
  • 19341672a9 Correct SPI Clock Freq and Set them to Max - Set the SPI frequency to maximum to reduce data transaction time - SPI1 SCLK is divided from PCLK2 - SPI2, SPI2 SCLK are divided from PCLK1 linuswck 2024-02-26 16:49:00 +0800
  • 86a9fb039e boot: Correct PCLK1, PCLK2 freq value - PCLK is divided from HCLK in power of two - abs max pclk1 = 42MHz - abs max pclk2 = 84MHz linuswck 2024-02-26 16:40:10 +0800
  • a2bb390ae2 ad7172: Add filter configs for single channel mode linuswck 2024-02-26 15:22:15 +0800
  • 18dd0a7963 Save Thermostat and Laser Diode PWR On/Off status linuswck 2024-02-23 14:57:30 +0800
  • d1cc677668 thermostat: split poll_adc & update_pid into 2 fns linuswck 2024-02-23 12:58:35 +0800
  • c09ccc29cd cmd: Add cmd to get all device settings linuswck 2024-02-23 11:38:26 +0800
  • c4135f6ac3 cmd: Add cmds to config pd_mon params linuswck 2024-02-22 16:44:45 +0800
  • 6ee45b4814 thermostat: Limit Pid Temp SetPt to TempMon limits linuswck 2024-02-21 17:37:56 +0800
  • a8787430b1 Add Temperature Monitor to Thermostat - Issue an alarm when temperature goes out of user-defined operating range during Pid Controller startup or reading is outside of +-0.5 Degree from temperature set point after Pid Controller becomes stable - If alarm is observed, power down laser and tec controller and disengage Pid Controller - Add the corresponding cmd for configuring the temperature monitor linuswck 2024-02-21 15:49:08 +0800
  • ed785b7c85 ld: correct timer and dac reset in pwr_up seq linuswck 2024-02-21 11:11:12 +0800
  • 30ab228b4b ld: Set default ld_current_limit in setup() fn linuswck 2024-02-20 16:22:13 +0800
  • 88cca12a60 ld: Use Timer IRQ to ramp up/down output current - Fixes possible watchdog timeout - Improves ethernet response time & thermostat Pid update interval consistency linuswck 2024-02-20 12:39:49 +0800
  • 8139ebdc1b ld_ctrl: set_dac() fn now returns the volt set - before this fix, set_dac() just returns the inputted voltage linuswck 2024-02-20 12:30:00 +0800
  • 5f83b73011 cmd: Add active report mode cmd linuswck 2024-02-19 15:08:00 +0800
  • 0642640da7 dfu: Add eth cmd, fns to put stm32 into dfu mode linuswck 2024-02-16 16:47:17 +0800
  • 6dd1bf9301 hw_rev: Generate random mac address on rev0_3 linuswck 2024-02-16 15:38:05 +0800
  • d2efc02b6a eth_cmd_test: Reset ld current to 0A during SIGINT linuswck 2024-02-15 12:47:19 +0800