Commit Graph

318 Commits

Author SHA1 Message Date
rusefi 755f9926ea canRxAdd bus does not convert from Lua/human value into zero-indexed implementation value fix #4467 2022-08-21 23:48:10 -04:00
rusefillc 8272d70fc9 ## August 2022 Release - "Day 170" 2022-08-12 15:48:37 -04:00
Matthew Kennedy 76f5832db9
resolve VVT phase using every tooth, not just sync point (#4434)
* resolve VVT phase using every tooth, not just sync point

* fix tests

* comment

* changelog
2022-08-12 08:08:23 -04:00
rusefillc 34bef1b3d2 https://github.com/rusefi/alphax-4chan/issues/57 2022-08-11 10:54:54 -04:00
Matthew Kennedy e9e6df6d7f
add option to invert vvt control (#4425)
* add option to invert vvt control

* s

* s

* s

* one bit per cam type

* move the space

* I don't spelling good

* changelog
2022-08-09 16:22:55 -04:00
rusefillc 5d0aac56e9 VVT target to allow negative values #4424 2022-08-08 22:48:13 -04:00
rusefillc 8e87905977 Additional CAN messages fix #4401 2022-08-02 15:31:06 -04:00
Matthew Kennedy 4dc1dc5d17 MRE stepper kills LS2 or LS1 control fix #4381 2022-08-02 15:25:23 -04:00
rusefillc 945e876601 [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:36:43 -04:00
rusefillc 51bb97181d it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 10:28:44 -04:00
Matthew Kennedy ada1ba6b56
Lua rx callback (#4387)
* s

* mask, callback

* support 8 different signatures

* make the compiler happy about unrechable code

* s

* make the compiler happy about unreachable code

* guard

* changelog
2022-07-28 09:27:18 +03:00
rusefillc 956c585dca Write hard faults to backup ram, print on next boot #4324 2022-07-26 15:39:30 -04:00
rusefillc 247ad0ddec custom skipped wheel could be located on camshaft fix #4377 2022-07-25 08:05:52 -04:00
Andrey 20a16bd53b Extra gap ratios for custom trigger wheels fix #4375 2022-07-23 03:16:11 -04:00
rusefillc f08624ad10 software jump to DFU does not work with OpenBLT fix #4230 2022-07-22 08:47:10 -04:00
Matthew Kennedy e1254f84b9
remove idle offset (#4355)
* remove offset

* remove more completely

* changelog
2022-07-18 15:49:43 -04:00
rusefillc b2fcb56e93 Console autoupdate fix #4352 2022-07-17 03:10:42 -04:00
rusefillc 8a8a214927 raw aux inputs gauges fix #4346 2022-07-15 06:37:30 -04:00
rusefillc f8559fc01e https://rusefi.com/forum/viewtopic.php?f=5&t=2373
rusEFI TS plugin launcher fixed
2022-07-14 03:29:36 -04:00
rusefillc b8e3d0caf9 Drew reminds that humans like sorted drop downs fix #4339 2022-07-13 03:24:28 -04:00
Matthew Kennedy e9d092f975
big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy dec3021c8f
fix lua CAN RX of 11b frames (#4321)
* s

* loggy the change
2022-07-05 13:37:31 -04:00
rusefillc f6f99dc878 implement CAN driver for simulator #4312 2022-07-04 16:50:33 -04:00
rusefillc ffaa0cfaf3 ## July 2022 Release - "Day 130" 2022-07-03 23:44:29 -04:00
rusefi 8fa41f36f0 Dear contributors! Please changelog your amazing changes. 2022-06-30 17:16:29 -04:00
rusefillc 96117d9332 rpm hard limit limited at 12500 #4298 2022-06-29 22:21:25 -04:00
rusefillc 12d3a00712 SD card logs are broken by double fuel: wall correction #4291 2022-06-26 20:48:36 -04:00
rusefillc 5a2b430183 visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
rusefillc a4347668c5 https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 11:41:33 -04:00
rusefi 271dddf61e verbose trigger sync should reuse engineSnifferRpmThreshold fix #4259 2022-06-18 15:18:45 -04:00
Matthew Kennedy 932f5e1f30
cam/crank sync improvements (#4152)
* clarify getOperationMode

* wait for phase synchronize to transition to sequential mode

* one test

* encapsulate vvtSyncCounter

* test

* Add option to stop VVT sync above some RPM

* getOrZero

* Revert "synchronized Phase handling improvements fix #4099"

This reverts commit 32d46d1f09.

* Revert "m_hasSynchronizedSymmetrical handling improvements #4099"

This reverts commit d5e131b1d0.

* remove synchronizedPhase

* only crank needs this

* changelog

* needsDisambiguation()

* test

* s

* bad merge

* put the timer back

* s

* s

* changelog

* test for new behavior

* correct parameter order

* spelling

* s

* s

* s

* tests merge happy

* bad merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-09 17:21:22 -04:00
rusefillc 04c64e99dc ## June 2022 Release - "Day 98" 2022-06-02 10:17:34 -04:00
rusefillc 06c80c96e0 ## May 2022 Release - "Day 98" 2022-06-01 22:18:32 -04:00
rusefillc 70b5e148bf ## May 2022 Release - "Day 58" 2022-06-01 22:18:04 -04:00
Matthew Kennedy 4ada633206
Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
rusefillc 6023dc2c29 hard requirement for console version match fix #4187 2022-06-01 11:08:22 -04:00
rusefillc ac3b854b07 use EXTI instead of ICU by default #3032 2022-05-29 14:42:07 -04:00
rusefillc 8de0765174 console uses .hex Looks like I broke MRE and Proteus with OpenBLT #4199 2022-05-25 16:53:00 -04:00
rusefillc a2af7895bb TS injector bench test pulse is too short fix #4192 2022-05-22 09:43:09 -04:00
rusefillc 32f91fabb2 Maintainability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:50:18 -04:00
rusefillc 32d46d1f09 synchronized Phase handling improvements fix #4099 2022-05-09 04:36:03 -04:00
rusefillc 7f38354e7a An option to disable semi-random ignition fix #4151 2022-05-08 09:18:01 -04:00
rusefillc 7df4f36f88 Revert "Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150"
This reverts commit 76243afa9c.
2022-05-08 07:10:54 -04:00
rusefillc 76243afa9c Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150 2022-05-08 07:07:34 -04:00
Matthew Kennedy 045cbcbff1
fix 36-2 trigger params (#4138)
* fix gap params

* changelog was wrong too

* typo

* binary log knock count and retard

* Revert "binary log knock count and retard"

This reverts commit 48b29d24d7.
2022-05-05 07:41:26 +03:00
rusefillc cf7d8c0639 Make ETB low limit configurable #4119 2022-05-04 02:45:47 -04:00
rusefillc efccb2106d Corolla 1ZZ 2003 trigger improvements fix #4132 2022-05-04 02:45:44 -04:00
rusefillc 14e37e3cf4 FasterEngineSpinUp should be enabled by default fix #4094 2022-04-23 09:51:47 -04:00
rusefillc 7bdb5150b4 ## April 20202 Release - "Day 58" 2022-04-23 09:49:39 -04:00
rusefillc 61b3f465f3 logging of live data structs was: data points #3614 2022-04-18 10:03:27 -04:00
Matthew Kennedy 16de438ab8
knock threshold table fix (#4077)
* fix knock threshold table

* defaults

* knock controller is engine module

* testable

* test builds

* knock tests work

* s

* format

* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc b776003989 do not control VVT during cranking fix #3443 2022-04-10 19:22:39 -04:00
Andrey fc0e930910 #4021 2022-04-03 20:30:09 -04:00
rusefillc 8828a90539 We have working runtime RAM detection - we shall use it for Lua fix #3970 2022-03-27 22:21:02 -04:00
rusefillc 485403fac8 new VVT trigger shape? 4-1 Toyota fix #1847 2022-03-23 19:47:10 -04:00
Andrey 323d547325 Mitsubishi 3A92 Support - 3 cylinder #4011 2022-03-19 22:32:15 -04:00
rusefillc 106e40e777 ## March 2022 Release - "Day 22" 2022-03-17 21:54:11 -04:00
rusefillc dd8eb8bef9 Proteus F7 flashing work-around 2022-03-13 00:13:16 -05:00
rusefillc 286730f2a0 Onboard SD Card Datalogging Doesn't Record TPS #3943 2022-02-18 22:44:39 -05:00
rusefillc 5310d022ce console updater does not work if folder name contains spaces fix #3927 2022-02-12 10:42:31 -05:00
rusefillc acfdc3cb88 rusEFI console does not stay alive due to CRC error with in outputs #3912 2022-02-12 10:38:10 -05:00
Matthew Kennedy 70ac0c378b
support lps22 (#3900)
* support lps22

* s

* changelog, UI
2022-02-07 17:09:51 -05:00
David Holdeman dfa9f52e44
move old changelog from readme (#3893) 2022-02-05 07:25:33 -05:00
rusefillc 0e6f006d58 User board-specific terms in error messages fix #3886 2022-02-03 16:07:32 -05:00
Matthew Kennedy 10be2d5f40
Remove FSIO, byeeeeeeeee (#3865)
* vestigial config

* replace last functionality

* engine/board configs include

* files that didn't need to include this

* remove FSIO implementation

* stragglers

* random little bits

* s

* s

* ConfigDefinition

* jar

* s
2022-02-02 02:03:31 -05:00
rusefillc 6455870ba8 When using SDIO instead of SPI for SD card interface logs files created empty. #3873 2022-02-01 18:42:48 -05:00
rusefillc 1d64929f33 Remove Miata MX5 NB1 trigger fix #3488 2022-01-31 18:20:43 -05:00
rusefillc 751b1eaf77 ## January 2022 Release - "Green Juice" 2022-01-26 17:34:41 -05:00
rusefillc 7f465cd2ee Well, for release builds we want to build everything? #3817
## January 2022 Release - "Tin Can"
2022-01-19 22:09:52 -05:00
rusefillc aeb62d0849 Bosch Quick Start on B6 Passat is confused about phase #3812 2022-01-19 01:24:38 -05:00
rusefillc ec8f437333 ## January 2022 Release - "Rubber ducky" 2022-01-13 22:32:21 -05:00
rusefillc 8a41510171 rusefi_Console: Too long re-connection time #3305 2022-01-11 23:40:05 -05:00
rusefillc a98eaccac4 https://github.com/rusefi/rusefi/issues/2551 2022-01-11 10:32:42 -05:00
Matthew Kennedy 338c14c3a8
cylinder ignition trim (#3709)
* cylinder ignition trim

* changelog

* changelog

* test

* move UI
2022-01-01 15:47:47 -05:00
Matthew Kennedy ab3e3ac83f
hook up fuel trims (#3715)
* hook up fuel trims

* pass all the params

* store per-cylinder fuel mass directly

* main trigger callback only touches per-cylinder, no banks!

* test test test test

* move UI to happy land

* changelog
2022-01-01 02:19:59 -05:00
rusefillc 49c293583c ## December 2021 Release - "Cookie Exchange" 2021-12-22 19:20:04 -05:00
rusefillc 79586d42a6 CAN wake-up #3660 2021-12-13 17:53:20 -05:00
rusefillc f65907a192 rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:01:44 -05:00
Matthew Kennedy 4148ee76bf
smarter priming logic (#3674)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test

* priming happens on ignition-on

* priming has its own scheduling

* config & UI

* dead config

* implementation

* look, the test caught a bug

* keep the watchdog happy

* bad merge

* changelog

* easier to read the test

* test naming
2021-12-08 16:20:19 -05:00
Matthew Kennedy d5363b814a
better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
rusefillc 8f79906531 lua code formatting 2021-11-25 10:19:07 -05:00
Matthew Kennedy 9a28e8d938
correctly compute engine revolution number (#3586)
* add param

* first revolution is revolution 0, not revolution 1

* would you look at that, we sync one rev quicker!

* changelog

* rpm value
2021-11-21 09:01:27 +03:00
Andrey d48cab2136 Knock retard #3396 2021-11-15 21:21:45 -05:00
rusefillc 1471193da9 clarification 2021-11-14 18:36:59 -05:00
rusefi d348ba07ef ## November 2021 Release - "Loosen Up Lighten Up Day" 2021-11-14 17:47:07 -05:00
rusefillc 991d0c5001 Epic: Remove FSIO #2928 2021-11-14 08:33:19 -05:00
rusefillc 8f2bd93596 turbo speed turbospeed input #2935 2021-11-04 22:56:54 -04:00
Andrey 74a34bbea3 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04:00
rusefillc 13928a7b05 Better Windows build-in DFU #3338 2021-10-22 15:34:22 -04:00
rusefillc 913187825d - Higher Data Rate with TS 3.1.06.14 2021-10-19 19:22:42 -04:00
rusefillc 8318978077 - A/C control bugfix 2021-10-17 11:40:49 -04:00
rusefillc bac43abe99 Remove engine load acceleration enrichment #3357 2021-10-16 21:24:05 -04:00
rusefillc 63b0a1dcff ## October 2021 Release - "Pierogi Day" 2021-10-08 13:38:40 -04:00
rusefi 7f7cf66e5d ## October 2021 Release - "Frappe Day" 2021-10-07 13:53:05 -04:00
rusefillc b5b86ac584 CLT/IAT sensor calibration presets 2021-10-06 15:18:44 -04:00
rusefillc 94aa0eb9d6 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 12:32:26 -04:00
Andrey b2446a6ddb overdwell protection #3220 2021-10-02 01:36:54 -04:00
rusefillc cc02474dcd rusEFI firmware feature should be honest about it's Windows-only limitation 2021-09-27 21:36:47 -04:00
rusefillc 40ff37d9b7 GPPWM usability: no one remembers which one does what fix #3270 2021-09-26 23:19:31 -04:00
rusefillc 2c34c84da0 rusEFI console to compare current bundle against auto-DFU bundle #3266 2021-09-26 01:26:14 -04:00
rusefillc 94ccc87aa8 SD card doesn't work on H7 #2395 2021-09-20 18:52:15 -04:00
rusefillc 736a3949be 36/2/2/2 is an ambiguous trigger wheel fix #3242 2021-09-19 17:09:52 -04:00
Matthew Kennedy 520d81d75c
Dwell voltage correction (#3234)
* cfg + impl

* ui

* value_or

* changelog

* fix
2021-09-15 08:07:33 -04:00
rusefillc 7fc88fa304 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 13:58:03 -04:00
rusefillc 723db184f3 ## September 2021 Release - "Iguana Awareness Day" 2021-09-09 08:41:54 -04:00
rusefillc f47320fd70 my first Lua 2021-08-31 12:32:05 -04:00
rusefillc 55a6a9cf9d ## August 2021 Release - "Lottery Day" 2021-08-28 01:36:26 -04:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 3896795f1c firing order for some 911 2021-08-24 07:48:02 -04:00
rusefillc f74e63fa34 Tooth logger to use engineSnifferRpmThreshold #3161
use configurable limit
2021-08-15 13:59:18 -04:00
Andrey 167f2dbba0 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:56:56 -04:00
rusefillc 8fb8ffa7ad TS file read #3004 2021-08-07 05:13:16 -04:00
Andrey 2744fa53bc RUSEFI MSD to contain bundle-specific URL #2848 2021-07-30 22:23:52 -04:00
rusefillc 4a11a2259e ## July 2021 Release "Ice Cream Day" 2021-07-18 23:33:41 -04:00
Andrey 8fab157b88 wrong handling of symmetrical crank wheels NB2 VQ35 Renix #2980 2021-07-18 14:53:25 -04:00
rusefillc aee2ed4ba4 New hardware testing commands #2978 2021-07-17 13:42:10 -04:00
Andrey a2cf1e1409 kaiju is asking for vq30de trigger wheel decoder fix #2974 2021-07-17 10:59:02 -04:00
rusefi 12638ae723 rusEFI console start-up speed fix #2964 2021-07-14 13:01:12 -04:00
rusefi dda3feb8cd 1-4-3-6-2-5 firing order for VAG v6 2021-07-09 01:45:01 -04:00
Matthew Kennedy d10ba3ddfa
injector nonlinearity (#2916)
* nonlinear polynomial

* make existing tests work again

* test that nonlinearity is called

* s

* fix enum

* ui

* fix and test

* comment

* changeloggy
2021-07-07 23:46:44 -04:00
Andrey b08808cce8 VW warnings on cranking #2861
late CHANGELOG
2021-07-07 11:25:44 -04:00
Andrey 616313da85 Nissan VVT trigger decoder #2887 2021-07-03 12:57:14 -04:00
Andrey c65e786664 fresh attempt at a June release 2021-06-28 19:29:06 -04:00
rusefillc 9dc4e50fb3 ## June 2021 Release "Please Take My Children to Work Day" 2021-06-25 22:46:32 -04:00
Andrey 3092164e48 Minor change of Miata NA trigger shape #2855 #669 2021-06-24 22:21:30 -04:00
rusefillc 56fd45a81e June 2021 Release "Garbage Man Day" 2021-06-17 22:14:40 -04:00
Matthew Kennedy 71b552d3a7
changelog (#2825) 2021-06-17 04:56:32 -04:00
Matthew Kennedy 3a30f038ce
kill engine if no oil pressure (#2800)
* min oil pressure for crank

* do it time-based

* rename field

* include

* fix existing test

* tests

* fix logic

* more test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-16 17:20:28 -04:00
rusefillc 1245bbc48f # 2021 May "Piercing Day" 2021-05-17 04:28:13 -04:00
rusefillc 77db9c8049 Support STM32F7 1MB devices #2659 2021-05-09 10:10:00 -04:00
Matthew Kennedy 13f3d1e291
Fix multi bank fueling (#2661)
* add cylinder number

* changelog

* wording
2021-05-09 09:37:07 -04:00
rusefillc 377ce76ccb HD44780: start pins on init #2576 2021-04-21 18:17:59 -04:00
rusefillc a0b4ca9135 April 2021 Release - "Malbec" 2021-04-18 10:04:55 -04:00
rusefillc 923967c794 he reads my mind 2021-04-17 21:38:58 -04:00
rusefillc 5d09524fe3 NB2 trigger decoder fix #2533 2021-04-15 19:30:29 -04:00
rusefillc e5a2b58edf Launcher splash screen is freezy fix #2560 2021-04-15 17:03:24 -04:00
rusefillc 93bb5f1429 #2556 2021-04-15 12:00:48 -04:00
rusefillc 271e90e7dc changelog mount SD card and drive containing TunerStudio ini at the same time 2021-04-14 09:26:18 -04:00
rusefillc e4f051a843 ## April 2021 Release "Be Kind to Lawyers Day" 2021-04-13 23:32:31 -04:00
rusefi f4ce428e7a changelog 2021-04-04 23:36:49 -04:00
rusefillc d1b4e9c4ca Potato Chip Day 2021 Release 2021-03-15 13:57:47 -04:00
rusefillc 046f486b62 VAG MQB 2021-03-14 21:20:02 -04:00
rusefillc 1a45379bb9 fix error/warning buffer overflow #2456 2021-03-14 09:53:15 -04:00
rusefillc e3c034cfc3 Life in the Cracks 2021 Release 2021-03-10 23:20:22 -05:00
rusefillc 83533fd7f8 changelog update 2021-03-10 19:56:30 -05:00
Matthew Kennedy 187c4d00f7
USB mass storage tweaking (#2352)
* disable TS in case of USB MSD

* housekeeping while we're here

* enable on MRE

* changelog
2021-02-14 15:03:07 -05:00
Matthew Kennedy 4a9dcf4fee
changelog (#2315)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 15:13:28 -05:00
rusefillc 953990d10b Trigger pattern request Škoda Favorit fix #2302 2021-02-06 20:53:30 -05:00
rusefillc 8ab3780554 triggers 2021-02-06 20:29:32 -05:00
rusefillc 00c9338c37 triggers 2021-02-06 20:28:50 -05:00
rusefillc 20f05fd450 ### 2021 Printing Ink Day 2021-01-19 15:19:31 -05:00
rusefillc aec0e5c5aa Main Relay bench test button 2021-01-11 20:39:47 -05:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 5f17896227 2021 Orthodox Christmas Day 2021-01-07 05:48:22 -05:00
rusefillc 90743a4c7d 2021 Orthodox Christmas Day 2021-01-07 04:06:02 -05:00
Matthew Kennedy 20a967edf1
Implement flex sensor (#2189)
* config & ui

* stub sensor

* stub init

* output channel, gauge, SD log

* linky linky

* fix

* add sensor & init

* clamp

* update comment

* filter the resultant signal

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:13:56 -05:00
rusefillc bc5f32e4e2 Bake Cookies Day 2020-12-18 21:19:09 -05:00
rusefi 759e77461f Bake Cookies Day 2020-12-18 15:58:16 -05:00
rusefillc f1c9f9d08e more better changelog 2020-12-11 10:34:28 -05:00
rusefillc 37df00dd3e correction #2054 2020-12-11 09:07:36 -05:00
rusefillc 0912c9d871 GM x24 is a well defined trigger needs hard-coded tdcPosition #2054 2020-12-10 19:39:53 -05:00
rusefillc 4c3eae5676 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
rusefi 2e103697d1 National Mutt Day 2020-12-02 00:58:57 -05:00
rusefi e1b45756b8 National Mutt Day 2020-12-02 00:41:17 -05:00
rusefi 72855585ca next release header 2020-11-27 17:08:50 -05:00
Matthew Kennedy 5b0a178605
Fix crc again, for real this time (#1948)
* re enable

* changelog

* fix

* fix test

* put some tests back
2020-11-15 16:59:02 -05:00
Matthew Kennedy f9357d209a
fatal error + inhibit read on TS preset (#1922)
* fatal error + inhibit read on preset

* inhibit more stuff when flag is set

* don't need that message

* extract function, improve msg

* changelog entry
2020-11-03 19:03:46 -05:00
Matthew Kennedy f78f52cd2f
create changelog (#1917)
* add changelog

* clarify

* add october release

* mention tle

* add how-to
2020-10-28 17:16:06 -04:00