Commit Graph

2960 Commits

Author SHA1 Message Date
Josh Stewart e3b931b3d1 Dev signatures for 202210-dev 2022-07-27 10:01:03 +10:00
Josh Stewart 4518bb6c40 Update signatures for 202207 in legacy comms 2022-07-11 07:10:14 +10:00
Josh Stewart 77eca577a3 Update README.md 2022-07-11 00:11:08 +10:00
Josh Stewart 722072e5fa Signatures for 202207 2022-07-10 23:45:49 +10:00
Afroboltski d527f173a8
Add necessary pin translations (#887). Fixes #867 2022-07-10 22:38:42 +10:00
Tjeerd ca2bab0725
bug fix EGO PID controller + some improvements. (#879)
* Fix for EGO pid

* Further improvements on ego PID

* Stop EGO controllers from calculating while DFCO is active. To prevent integrator windup.

* Fix bug in DFCO enable/disable of the controller

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-07-09 22:22:18 +10:00
Josh Stewart ce7ea412db Missing commas in ini 2022-07-09 16:56:26 +10:00
Josh Stewart 6af9265f70 Fix typo from last commit 2022-07-08 22:54:15 +00:00
Min 15d43db61a
TS option to display pressure in bar #842 (#864)
Adds options in TunerStudio project settings to have default units
for fuel and oil pressure in bar. Adds gauge in kPa. This only
adds convertion from psi to bar, not affecting firmware.

Co-authored-by: Min <min@infcof.com>
2022-07-08 14:35:15 +10:00
Josh Stewart c129fa3326 Add option for SD logging with external switch 2022-07-08 14:31:48 +10:00
Josh Stewart fcde4f795b Add engine protection flags to datalog 2022-07-08 13:27:38 +10:00
Josh Stewart 63b52a5037 Remove controller priority on trigger edge. Fixes #860
This was added for a specific FW update in 2018 and no longer needed.
2022-06-29 17:42:52 +10:00
Josh Stewart 4ab13299b5 Remove old unused corrections code 2022-06-29 17:39:18 +10:00
Daniel Tobias a330b78632
Don't try to run inappropriate CI on forked repositories (#871) 2022-06-29 17:11:42 +10:00
Vitor Moreno B. Sales c6d9fd7a10
Fix for semi-seq inj after #478 (#883) 2022-06-29 16:41:52 +10:00
Vitor Moreno B. Sales adaa6a227e
Enable use of disabled functions pins (#549)
* Enable use pins of disabled functions or unused ign channels

* Added new pins and functions to check
2022-06-29 16:37:50 +10:00
Josh Stewart bb49774d4e Further fixes to the ASE correction 2022-06-27 12:18:17 +10:00
Pasi Kemppainen 0c8ced22a9
Fix hanging on boot (#858) 2022-06-27 11:54:47 +10:00
tx_haggis 3009c39767
Narrow scope of EEPROM_MAX_WRITE_BLOCK to writeConfig (#881)
* EEPROM_MAX_WRITE_BLOCK can be local to writeConfig()
This saves a byte of memory ;-)

* Fix MISRA/lint warnings
Correctly cast address parameter of eeprom_read_block
Statically access table 3d type_key member

* Remove force burn code - unused

* Replace eepromWritesPending with bit set/check

* Refactor: chain write_location instances.
Clearer code.
2022-06-27 11:53:33 +10:00
Josh Stewart bf23114b13 Fix broken build on Teensy from #880 2022-06-27 11:48:12 +10:00
Daniel Tobias 540b3a4fa2
Correct typos found by codespell (#880) 2022-06-27 10:39:14 +10:00
Tjeerd dc87795718
bug fix. A workaround for failing emulated on internal flash writes + a root cause fix (#876)
* workaround for failing flash writes

* Root cause fix for EEPROM emulation on STM32

* Oops, remove some debugging functions.

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-06-27 09:30:40 +10:00
larmicfre ae3347f571
Fixed value mode for AFR protection (#877) 2022-06-27 09:21:11 +10:00
larmicfre d5fc16d97c
Corrected RPM to TPS (#878). Fixes #874 2022-06-26 17:43:35 +10:00
Josh Stewart 61708a5716 Prevent cranking and ASE corrections running at once. Alternative fix to #868 2022-06-20 15:03:31 +10:00
larmicfre 298d994ba1
AFR protection function (#861)
* Implementing AFR protection

* Update globals.h

* Bug fixes and code refactoring

* Moved variables to prevent ODR

* Dialog for AFR protection

* Data size and math corrections

* Possibility to use either AFR or lambda

* Updated default AFR protection values

* No need to do multiplications due to existing RPMdiv100 variable

* The X100 multiplier was wrongfully removed

* Add defaults in updates.ino, minor formatting cleanups

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-06-20 09:52:07 +10:00
Josh Stewart f64d9348dc Only set the idle up pin state on init if it's enabled 2022-06-06 14:33:41 +10:00
Josh Stewart 1d85100ea7 Add dynamic EEPROM block write limit based on RPM. Should fix #859 2022-06-03 18:23:22 +10:00
Josh Stewart 30139e89af Minor cleanup of boost dialog from previous PR 2022-06-03 16:14:30 +10:00
Tjeerd 20c5e17756
Improve closedloop boost control (#736)
* First try on updating closedloop boost control

* added eeprom updates for backward comp[atibility

* fix merge conflict

* Change updates to next release EEPROM version.

* Fix some issues after merging master

* some cleanup to minimize changes and speedup review

* cleanup updates

* chances on updates to alaign with new table format

* move LUT to new config page in eeprom

* little cleanup

* Update storage.h comments

* fix some ini warnings

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-06-03 15:44:09 +10:00
Josh Stewart 5fafa94056 Fix unit test value 2022-06-01 17:06:44 +10:00
Josh Stewart 7055accb5a Merge branch 'master' of https://github.com/noisymime/speeduino 2022-06-01 00:04:28 +00:00
Josh Stewart 6390040263 Disable SD on T4.1 temporarily to prevent lockups. See #847 2022-06-01 00:04:20 +00:00
RempageR1 c2de8737fc
Moved currentStatus.startRevolutions++ so it only increments every revolution instead of every tooth. (#855)
Co-authored-by: RempageR1 <unconfigured@null.spigotmc.org>
2022-05-27 08:07:12 +10:00
Josh Stewart ec2fcd906f Add more unit tests for TAE 2022-05-25 15:28:11 +10:00
Josh Stewart e16108d806 Prevent overflow of the AE RPM taper. Fixes #843 2022-05-25 11:03:33 +10:00
Josh Stewart 3bd945f546 Add unit test for basic TAE 2022-05-25 11:02:55 +10:00
Pasi Kemppainen d7ccf4945b
Added option to fix tacho signal to coil dwell (#825)
* Add dwell fixed tacho option

* Better implentation

Added description to TS. Removed code duplication and unnecessary if's.

* Resolve conflicts and minor changes to wording on this option

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-05-24 14:29:38 +10:00
Josh Stewart 15dbaafc91 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-05-24 13:49:21 +10:00
Josh Stewart f8084ae5f1 Add pin mapping for new 4 channel T4.1 testing board 2022-05-24 13:49:15 +10:00
Pasi Kemppainen b863edf9ee
Update BMW PnP pin mapping (#850)
* Update BMW PnP pin mapping

* Fix typo
2022-05-24 10:37:37 +10:00
Pasi Kemppainen 6388b9d703
Set onboard logging settings to zero. (#849) 2022-05-24 10:36:59 +10:00
Josh Stewart 9673dd8fe6 Add valid option for unusedClusterBits in ini. Fixes #829 2022-05-16 14:07:48 +10:00
Pasi Kemppainen d2b9612409
bug fix for init.ino (#834) 2022-05-02 10:40:22 +10:00
Josh Stewart 7c94329bf3 Fix issue when switching to sequential fuel post PR #478 2022-04-28 10:57:36 +10:00
Josh Stewart 2467960bbd Merge branch 'master' of https://github.com/noisymime/speeduino 2022-04-27 11:03:06 +10:00
Josh Stewart df4d2bc6ce Minor improvements to AE corrections logic/calcs 2022-04-27 11:03:02 +10:00
Josh Stewart 19dabd526f Correct TPS and MAP dot gauge labels. Fixes #828 2022-04-26 14:20:59 +10:00
mbbrinkman eddc59d65b
Allow WOT ego correction (#832) 2022-04-26 10:38:09 +10:00
Josh Stewart 97f8ef795a Remove duplicate updates from last PR 2022-04-21 16:37:05 +10:00