Commit Graph

524 Commits

Author SHA1 Message Date
Matthew Kennedy 770283accd simpify 2020-12-11 16:50:06 -08:00
Matthew Kennedy 5c9acd4c66 detect underheat fault 2020-12-11 15:46:03 -08:00
Matthew Kennedy 41e87cc1d6 go to CL earlier 2020-12-11 15:25:01 -08:00
Matthew Kennedy 94828339f9 clamp pid 2020-12-11 15:24:56 -08:00
Matthew Kennedy a8bdedaef6 actually stop if overheated 2020-12-11 15:10:04 -08:00
Matthew Kennedy 79b49456b3 faster uart 2020-12-11 02:05:41 -08:00
Matthew Kennedy db855532c7 filter less 2020-12-11 02:04:23 -08:00
Matthew Kennedy d89cda413b sense actual Vm value 2020-12-11 00:25:50 -08:00
Matthew Kennedy b0d837f038 uart print 2020-12-11 00:24:19 -08:00
Matthew Kennedy 8aee43ba8f don't need float printf 2020-12-11 00:24:14 -08:00
Matthew Kennedy 516c787f92 fix uart pinout 2020-12-11 00:12:33 -08:00
Matthew Kennedy fec99d344a serial printing 2020-12-10 23:56:18 -08:00
Matthew Kennedy 70ea760717 fix bounds check 2020-12-10 23:49:51 -08:00
Matthew Kennedy 327e3b08ec actually do it 2020-12-10 23:48:55 -08:00
Matthew Kennedy 9b23129d2a extract uart 2020-12-10 23:48:47 -08:00
Matthew Kennedy a5ba643ec5 add full build script 2020-12-10 23:37:28 -08:00
Matthew Kennedy 36f52312db bounds check flash writes 2020-12-10 23:36:45 -08:00
Matthew Kennedy c711252791 detect sensor overheat 2020-12-10 22:08:00 -08:00
Matthew Kennedy 1110cc81ff simplify more 2020-12-10 21:58:59 -08:00
Matthew Kennedy 26312d76aa simplify blink out 2020-12-10 21:58:09 -08:00
Matthew Kennedy bb05860e97 don't nuke the BL section 2020-12-10 21:52:19 -08:00
Matthew Kennedy 8b9569d906 turn on link gc 2020-12-10 21:46:57 -08:00
Matthew Kennedy 5c2dd19c3f blink fault codes 2020-12-10 21:46:41 -08:00
Matthew Kennedy 47050e8c5a un-flip logic 2020-12-10 21:33:33 -08:00
Matthew Kennedy 266a067fed turn more off 2020-12-10 21:06:46 -08:00
Matthew Kennedy be8eb62046 turn off features 2020-12-10 21:05:07 -08:00
Matthew Kennedy 43445e80e4 warning 2020-12-10 21:05:02 -08:00
Matthew Kennedy 031c7d6b3f makefile 2020-12-10 21:03:59 -08:00
Matthew Kennedy 745c14a160 detect warmup failure 2020-12-10 18:32:41 -08:00
Matthew Kennedy a86340767c format 2020-12-10 18:12:44 -08:00
Matthew Kennedy 180b9f6904 change closed loop threshold 2020-12-10 18:10:26 -08:00
Matthew Kennedy b8c5e42f9d change blink in closed loop 2020-12-10 18:09:52 -08:00
Matthew Kennedy ea1f528aea move CAN loop 2020-12-10 18:08:06 -08:00
Matthew Kennedy 2d483cc586 fix nernst 2020-12-10 18:06:50 -08:00
Matthew Kennedy ec20b7ed9d validate flash request 2020-12-10 17:58:02 -08:00
Matthew Kennedy a418c9903f rename flag, send nak 2020-12-10 17:30:41 -08:00
Matthew Kennedy 2c7679e526 slow down BL active blink 2020-12-10 17:29:07 -08:00
Matthew Kennedy 2b72383c8f bl blinkenlights 2020-12-10 17:28:04 -08:00
Matthew Kennedy eb3345ba71 fix board pinout 2020-12-10 17:27:53 -08:00
Matthew Kennedy bf90d1514b works on new board 2020-12-10 17:06:00 -08:00
Matthew Kennedy eef58ae5dc Revert "switch to nil"
This reverts commit d3a9f34eaf.
2020-12-10 16:55:59 -08:00
Matthew Kennedy f1af6be009 blink the blue led 2020-12-10 16:09:05 -08:00
Matthew Kennedy a85a4a8c65 warnings 2020-12-09 08:21:59 -08:00
Matthew Kennedy 98fc25540f this probably doesn't work 2020-12-09 01:03:23 -08:00
Matthew Kennedy 8ab95e18c1 flash api 2020-12-09 01:03:14 -08:00
Matthew Kennedy d3a9f34eaf switch to nil 2020-12-09 01:00:04 -08:00
Matthew Kennedy 4b5d90332d layoud 2020-12-09 00:24:11 -08:00
Matthew Kennedy c986a2e05c shared flash impl 2020-12-09 00:24:06 -08:00
Matthew Kennedy 0e0281f372 bl build 2020-12-08 23:40:32 -08:00
Matthew Kennedy c13385a32f narrator: no, it is not 2020-12-08 23:40:16 -08:00
Matthew Kennedy d7b6ee1422 use shared linker config 2020-12-08 23:32:54 -08:00
Matthew Kennedy 8d9f2b44ad expand bl 2020-12-08 23:17:53 -08:00
Matthew Kennedy 9998a14cc0 tx both frames 2020-12-08 23:17:06 -08:00
Matthew Kennedy 7fca3663bb emulate aem xseries 2020-12-08 23:16:47 -08:00
Matthew Kennedy 97a353ec68 bootloader clock the same as app 2020-12-04 23:16:26 -06:00
Matthew Kennedy 1222d00bb3 blink faster 2020-12-02 21:15:22 -08:00
Matthew Kennedy 362323e9ba turn on optimization 2020-12-02 21:10:53 -08:00
Matthew Kennedy a318bedcfe app linker settings for bl 2020-12-02 16:01:54 -08:00
Matthew Kennedy d7c1e3b350 cleanup 2020-12-02 15:59:13 -08:00
Matthew Kennedy e6a6bcd23a cleanup 2020-12-02 15:58:18 -08:00
Matthew Kennedy c2bc75792d working bootloader 2020-12-02 15:57:22 -08:00
Matthew Kennedy e6b97d78fc cleanup 2020-11-30 22:29:32 -08:00
Matthew Kennedy 2cbbcd7e82 Revert "add f103 linker script"
This reverts commit 3daed0e1c3.
2020-11-30 22:28:58 -08:00
Matthew Kennedy 3daed0e1c3 add f103 linker script 2020-11-29 22:17:17 -08:00
Matthew Kennedy 7780810b45 add hal features that the f103 has 2020-11-29 22:15:33 -08:00
Matthew Kennedy c2b535facf cleanup 2020-11-28 03:04:04 -08:00
Matthew Kennedy f68a12b2fc send over CAN 2020-11-28 02:56:46 -08:00
Matthew Kennedy 95d14ad170 correct CAN 2020-11-28 02:56:34 -08:00
Matthew Kennedy 95ba8de396 cleanup 2020-11-28 02:13:25 -08:00
Matthew Kennedy a5f0f4eb3b custom linker script 2020-11-27 19:58:38 -08:00
Matthew Kennedy 1febbe0266 debugging config 2020-11-11 16:30:31 -08:00
Matthew Kennedy 22916eef37 more gain 2020-11-06 21:46:04 -08:00
Matthew Kennedy a1115c78f4 sample faster 2020-11-03 01:52:19 -08:00
Matthew Kennedy 3d80ff1d8b comment about bosch datasheet 2020-11-02 23:05:35 -08:00
Matthew Kennedy a61157760a fix lambda math 2020-11-02 01:28:30 -08:00
Matthew Kennedy bd5d77044b improve comment 2020-11-01 01:26:02 -08:00
Matthew Kennedy 2aedbd6eef lambda conversion 2020-11-01 01:17:13 -08:00
Matthew Kennedy 85b0c4b6b4 gains 2020-10-31 18:44:09 -07:00
Matthew Kennedy 139a5fef81 less pid 2020-10-31 17:47:52 -07:00
Matthew Kennedy 0b7f591671 heater PID works 2020-10-31 17:34:36 -07:00
Matthew Kennedy 0e350c9f66 oops 2020-10-31 17:12:34 -07:00
Matthew Kennedy e16c1b626d Merge branch 'master' of https://github.com/mck1117/wideband 2020-10-31 17:01:37 -07:00
Matthew Kennedy 76859f851d printing 2020-10-31 17:01:33 -07:00
Matthew Kennedy 3fdf60b956 pump controller 2020-10-31 16:59:35 -07:00
Matthew Kennedy d39df2d199 heater pid 2020-10-31 14:58:34 -07:00
Matthew Kennedy 453a4c4337 add IsRunningClosedLoop 2020-10-31 14:54:50 -07:00
Matthew Kennedy ac7a2a9e68 maybe heater logic 2020-10-30 02:40:18 -07:00
Matthew Kennedy fbce57558f clamp pwm duty 2020-10-30 02:39:39 -07:00
Matthew Kennedy 1e22402d88 consolidate magic numbers 2020-10-30 02:03:12 -07:00
Matthew Kennedy 0a96a10734 extract heater control 2020-10-30 01:53:54 -07:00
Matthew Kennedy e946b5ba71 add drawing 2020-10-29 17:22:18 -07:00
Matthew Kennedy 8e34dca1c2 comments 2020-10-29 03:11:48 -07:00
Matthew Kennedy fbc6430aba implement sampling math 2020-10-29 02:55:55 -07:00
Matthew Kennedy c19c6445bd fix gain 2020-10-29 02:53:45 -07:00
Matthew Kennedy 46718dd77a test pump 2020-10-27 20:07:16 -07:00
Matthew Kennedy b611a96f05 extract pump dac 2020-10-27 16:33:32 -07:00
Matthew Kennedy 523bac2b6c add atollic build config 2020-10-27 16:06:25 -07:00
Matthew Kennedy 92f3232644 fewer samples 2020-10-26 17:25:33 -07:00
Matthew Kennedy a12ff277f8 some uart too 2020-10-26 17:25:05 -07:00
Matthew Kennedy 284fc59bdb serial pin config 2020-10-26 17:09:42 -07:00
Matthew Kennedy f36033d0dd can debug mode for now 2020-10-26 14:06:21 -07:00
Matthew Kennedy 8939670c7a fix analog input 2020-10-26 14:06:00 -07:00
Matthew Kennedy 55d693e9a5 analog works 2020-10-26 12:53:45 -07:00
Matthew Kennedy 3e90915d48 PWM works 2020-10-26 12:45:50 -07:00
Matthew Kennedy 7a94321773 fix pwm 2020-10-26 11:26:31 -07:00
Matthew Kennedy 684760babd scale properly to volts 2020-09-20 13:39:14 -07:00
Matthew Kennedy 1fca955973 lambda lookup table 2020-09-20 03:26:02 -07:00
Matthew Kennedy 284c0d2efd optimize 2020-09-20 02:35:48 -07:00
Matthew Kennedy 7c56a740aa gpio helper 2020-09-20 02:35:38 -07:00
Matthew Kennedy f64d586411 analog 2020-09-19 21:39:29 -07:00
Matthew Kennedy 24d7c714d1 pwm fun 2020-09-19 20:44:13 -07:00
Matthew Kennedy 545fd5575a simplify 2020-09-19 20:32:33 -07:00
Matthew Kennedy 397f9aee64 oops 2020-09-19 16:51:13 -07:00
Matthew Kennedy 875f3c063c not needed 2020-09-19 16:51:08 -07:00
Matthew Kennedy 2a38367225 send dummy can msg 2020-09-19 16:51:02 -07:00
Matthew Kennedy 72c2c271fb can 2020-09-19 16:50:55 -07:00
Matthew Kennedy 746bcefef7 turn off unused stuff in the kernel 2020-09-19 16:02:27 -07:00
Matthew Kennedy 333396ee13 remove unused config 2020-09-19 15:48:40 -07:00
Matthew Kennedy f44ef04522 enable CAN 2020-09-19 15:46:01 -07:00
Matthew Kennedy 65d8e00d56 todo note 2020-09-19 15:45:44 -07:00
Matthew Kennedy cda402e38f add pwm 2020-09-19 15:44:10 -07:00
Matthew Kennedy 5527b04f8f cleanup 2020-09-19 02:56:24 -07:00
Matthew Kennedy 3cd9722076 stub firmware project 2020-09-19 02:49:20 -07:00
Matthew Kennedy bba7387a5a submodule chibi 2020-09-19 01:54:22 -07:00