Commit Graph

775 Commits

Author SHA1 Message Date
rusefi 167f484d8f multi-channel Tuner Studio tooth logger #1284
reducing magic constants
2020-04-12 19:10:36 -04:00
Matthew Kennedy 9bbb7bc497 etb autotune (#1274)
* Astrom-Hagglund

* enums

* comments

* dead

* fix

* changed enum

* ts guard

* safety

* etb autotune debug channels

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-11 22:15:49 -04:00
rusefi 44ef63e102 making magic constants a bit less fragile 2020-04-11 01:22:31 -04:00
Matthew Kennedy 1a59950240 support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusefi e673281a9d set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi 7c4b4894cc isCJ125Verbose 2020-04-08 22:12:33 -04:00
rusefi a85b2f8989 fresh 2020-04-08 21:43:05 -04:00
Matthew Kennedy 3abd181f6f CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
Matthew Kennedy 95ef31da67 Goodbye, old TPS (#1266)
* clear out tps

* boost control

* aux valves

* launch, aux valves

* unused field
2020-04-05 19:33:33 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 8badc4cca3 remove ETB controlPinMode (#1260) 2020-04-04 08:41:45 -04:00
rusefi add38e4f24 extracting magic constant 2020-04-03 16:06:21 -04:00
Matthew Kennedy 7e4f4ca97e Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
rusefi f2dafeefe0 CAN progress 2020-03-31 20:08:30 -04:00
rusefi f559976a19 CAN progress 2020-03-31 16:52:52 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi 8a3e47d9e6 refactoring + MAP broadcast consumption 2020-03-29 21:15:06 -04:00
rusefi d8fa2f449a ETB progress 2020-03-29 10:29:33 -04:00
rusefi 84e0e1b6e9 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi bd3b616d1f no longer relevant 2020-03-28 19:02:46 -04:00
rusefi f08b1542b0 AfterStart Enrichment #1230 2020-03-27 12:13:12 -04:00
Matthew Kennedy 7645e033eb un-generate (#1228) 2020-03-26 11:52:19 -04:00
Matthew Kennedy 7596a80242 Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy b7b67a2a7f Multispark implementation (#1192)
* multispark prototype

* only multispark if not cut

* typo

* do some reasonableish math

* consume cfg

* todo

* bad merge

* move math out of engine2.cpp

* engine state config

* consume generated

* use new

* hand generate

* doc, debugging

* debug channel names

* don't depend on rpmcalc

* safer, fix math

* tests

* default multispark config

* remove todo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-26 01:49:36 -04:00
Matthew Kennedy 8642a0a6c7 TS cleanup pass (#1225)
* remove biquad config

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
rusefi 736957a875 startStopDialog 2020-03-25 00:58:59 -04:00
rusEfi 66990d5c8d Launch debug mode 2020-03-24 23:09:35 -04:00
rusefi 42834ba5ec launch control #203
somewhat questionable code
2020-03-23 23:20:54 -04:00
rusefi d3071ea348 start/stop progress debug mode 2020-03-22 20:43:27 -04:00
rusefi fb115578dc start/stop 2020-03-20 20:45:35 -04:00
rusEfi fbbac83010 v12 progress 2020-03-20 00:36:22 -04:00
rusefi 37bdc68ff5 "rusefi CAN" config #1198 2020-03-19 09:22:16 -04:00
rusefi b442d16d87 progress towards start/stop 2020-03-18 15:56:17 -04:00
rusefi 717400e1c4 hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusefi f44cda67bc docs 2020-03-17 13:40:14 -04:00
rusefi ecfc8c250e cj125 usability 2020-03-17 10:20:29 -04:00
Matthew Kennedy 78c1a614cd Multispark configuration (#1190)
* multispark

* scaling, units

* hide in "broken stuff" menu for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-14 09:13:38 -04:00
rusefi bd34f5479a In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
rusEfi a1fc53e269 more of the same 2020-03-09 19:29:10 -04:00
rusEfi c816317a0f stepper in TS should be output not any 2020-03-09 19:15:13 -04:00
rusefi 2ae15b5bab hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi 98d402a66f logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
rusefi 3a3d693cec useHbridges 2020-03-02 19:49:47 -05:00
rusefi 58cc442a18 better setting name and help? 2020-03-01 22:32:09 -05:00
rusefi 9e47bf2b02 hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusEfi 7e07d18afe throttle2Position progress 2020-02-27 03:21:42 -05:00
rusEfi a17403ada3 verboseTLE8888 2020-02-27 01:11:44 -05:00
rusefi 84640f43f0 bugfix - new option was flipped in TS 2020-02-18 16:38:57 -05:00
rusefi 1c4dfcab6e making migration seamless on useRunningMathForCranking 2020-02-16 16:13:15 -05:00
rusefi d722146e1e dreams about useFixedMsForCranking 2020-02-15 19:17:42 -05:00
rusefi 94c2f3a4cd he owes me one now 2020-02-14 23:03:26 -05:00
rusefi 14d2881810 Three wire idle air valve #1122
ugly but should work to begin with
2020-02-04 01:06:20 -05:00
rusefi 67de6fe6fd fixing build 2020-02-02 13:18:41 -05:00
ola b94ba38efc Some initial work at Launch/ALS
(cherry picked from commit 07b3a0632f6673ad57db5b2d6b8ad21674cf3509)
2020-02-02 12:17:06 -05:00
rusefi 6dd509a34b opening the door to boost controller! 2020-01-31 14:23:15 -05:00
rusefi 5fbe44c8b7 refactoring 2020-01-12 05:17:42 -05:00
rusefi 18e874ba7b refactoring 2020-01-12 05:12:09 -05:00
Matthew Kennedy 8200a3da64 AEM X-Series CAN Wideband Support (#1096)
* aem xseries

* parens to avoid operator precedence issues

* put in cfg

* disable that too

* fix sim/unit

* enough generated for ci

* this will guard correctly
2020-01-12 03:44:37 -05:00
rusefi 335d8d2fc1 second channels for ETB related stuff 2020-01-11 01:08:41 -05:00
rusefi 1c4ed283f8 typo 2020-01-03 21:41:11 -05:00
rusefi 6570f3112c E30 M3 Tach output solution #907 2019-12-30 01:41:23 -05:00
Matthew Kennedy df57b24e3f Shrink output channels, now with passing CI (#1077)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch

* rev signature

* correct map offset

* handle unsigned properly

* RPM is unsigned

* vss isn't scaled

* extract magic

* required generated for build

* de-scale rpm

* field type cases
2019-12-22 08:12:45 -05:00
rusefi 28ae4e478e refactoring only #1076 2019-12-21 20:17:58 -05:00
rusefi 83507320f6 refactoring & docs update 2019-12-21 19:59:33 -05:00
rusefi 9ffda831a7 Revert "DRAFT Shrink output channels, again (#1074)"
This reverts commit ad7a383d
2019-12-21 15:02:49 -05:00
rusefi 5c679034a7 Revert "fresh integration & changing protocol versions & versions"
This reverts commit 8a8ea6c0
2019-12-21 15:02:37 -05:00
rusefi d297bf2341 Revert "reducing magic constants"
This reverts commit 67e7d4f4
2019-12-21 15:02:17 -05:00
rusefi 4e3e1983a8 Revert "trying to save build. it's a useful PR overall but :("
This reverts commit c7dd1631
2019-12-21 15:01:22 -05:00
rusefi c7dd1631c4 trying to save build. it's a useful PR overall but :( 2019-12-21 14:34:50 -05:00
rusefi 67e7d4f4e6 reducing magic constants 2019-12-21 13:30:47 -05:00
rusefi 8a8ea6c096 fresh integration & changing protocol versions & versions 2019-12-21 12:35:47 -05:00
Matthew Kennedy ad7a383d74 DRAFT Shrink output channels, again (#1074)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch
2019-12-21 08:55:19 -05:00
rusefi 7dc6057ac7 Revert "Shrink output channels, use scaling (#1069)"
This reverts commit 1e0f1a26
2019-12-19 22:35:06 -05:00
rusefi 81b15259d4 Revert "hmm (#1073)"
This reverts commit 85d0f6db
2019-12-19 22:34:52 -05:00
Matthew Kennedy 85d0f6dbef hmm (#1073) 2019-12-19 21:09:59 -05:00
Matthew Kennedy 1e0f1a2628 Shrink output channels, use scaling (#1069)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order
2019-12-19 20:37:42 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi 90492dd423 TPS#2 calibration & fixing ETB in TS 2019-12-08 00:37:33 -05:00
rusefi 120e771b2c docs 2019-12-07 23:19:40 -05:00
rusefi 69eeb77529 docs 2019-12-07 14:09:06 -05:00
andreika-git ae9c619c50 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi 23a61bed3d actually it's better to give TS access to all bits 2019-12-02 20:26:43 -05:00
rusefi a87c432761 actually it's better to give TS access to all bits 2019-12-02 20:24:10 -05:00
rusefi 63d8f050bc auxFastSensor 2019-12-02 17:49:01 -05:00
andreika-git 70fcb50a62 5V-compatible adcVcc + trigger_input_comp + Kinetis COMP driver impr. (#1036)
* adcVcc is not only for 3V STM32

* update ini files

* Kinetis: improve COMP driver

* Improve trigger_input_comp.cpp (hysteresis)
2019-12-01 12:08:55 -05:00
rusefi 34f53bd102 making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusefi 149c1c09e8 refactoring 2019-11-30 16:49:40 -05:00
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
rusefi 815589825c extracing constant & more information for HW CI 2019-11-29 21:57:59 -05:00
rusEfi 980a3d7086 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
rusefi 28facbee47 starterRelayPinMode 2019-11-25 01:01:00 -05:00
rusefi 3ad8dc1894 starterRelay & debugMapAveraging 2019-11-25 00:59:05 -05:00
rusefi ef6b2be840 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
rusefi 67e4a7c8d7 simulation docs 2019-11-19 09:23:25 -05:00
rusEfi ef7c988c0c launch control #203 2019-11-18 19:22:29 -05:00
rusefi ca0984007d Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi 3b2d5c8c7f Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00