Commit Graph

537 Commits

Author SHA1 Message Date
Josh Stewart 7bc42b13eb July dev signatures 2018-07-10 15:13:00 +10:00
darren siepka 8dd9ed9fbd improve TS ini selection options
fix bit masking
storage table fix
2018-07-04 01:16:35 +01:00
Autohome2 fbfa727f6f
Merge pull request #60 from noisymime/master
update for 03072018 release
2018-07-03 21:51:12 +01:00
Josh Stewart 72397a90e1 Base tune and signatures for June release 2018-07-03 17:31:28 +10:00
Josh Stewart 02a8fe6cd3 MISRA cleanup 2018-07-03 17:20:13 +10:00
Josh Stewart 5c79f2ac15 Multiple nitrous control fixes. Appears to be working fully. Closes #147 2018-07-03 15:46:23 +10:00
Josh Stewart 043673dd78 Improvements to nitrous contol. Now complete and needing testing #147 2018-07-01 20:37:57 +10:00
Josh Stewart 5ce2d61186 Stub versions of new crank maths files to allow compiling 2018-06-30 09:21:13 +10:00
darren siepka a124f4d6b1 fix minor typos 2018-06-29 23:38:41 +01:00
Autohome2 757256bbb7
Merge pull request #59 from noisymime/master
update with josh 29062018
2018-06-29 23:15:31 +01:00
darren siepka a480996cfc add option to use can channels for local input pins 2018-06-29 23:09:27 +01:00
Josh Stewart 8ff299e3ac Initial nitrous control implementation (Needs tweaking and testing) 2018-06-30 01:19:51 +10:00
Josh Stewart 4000c24dde Change boost control hyster to work above 100kpa 2018-06-29 18:08:17 +10:00
Josh Stewart f276bb7042 Add Fix angle on/off setting 2018-06-29 18:07:39 +10:00
Josh Stewart 2b1a7d38ef Fixes for missing tooth @ cam speed 2018-06-26 12:17:43 +10:00
Josh Stewart 3c719d00b7 Relax sync requirements on 6g72 pattern 2018-06-20 16:46:21 +10:00
Josh Stewart e5ea1ce36e Allow 6g72 patterns under the new sync method of the 4g63 decoder. #76 2018-06-17 15:16:22 +10:00
Josh Stewart 600fa72f7f Auto switching of TPS reverse calibration. Closes #131 2018-06-17 12:20:09 +10:00
Josh Stewart d291d6433f Fix minor bug where cranking RPM would be rough on startup for 1 second 2018-06-17 11:29:47 +10:00
Josh Stewart 3773647062 Initial implementation of AE RPM tapering (Issue #138) 2018-06-10 14:57:52 +10:00
Josh Stewart 34e0aca5b6 June Dev signatures 2018-06-10 13:04:57 +10:00
Josh Stewart ab08140bbc Cleanup of new micros() timer stuff 2018-06-07 15:23:34 +10:00
Josh Stewart 47b7da893e Base tunes and signtatures for May 18 FW 2018-06-07 15:22:04 +10:00
Josh Stewart 627d6d98fa Tweaks and bug fixes on the PID AFR algorithm 2018-06-06 16:51:28 +10:00
Josh Stewart 6258fd1556 Correct schedule function definitions to match actual functions 2018-06-06 12:15:07 +10:00
Josh Stewart 88429b977b Minor changes to Simple closed loop AFR algorithm
See Issue #142
2018-06-04 17:01:53 +10:00
Josh Stewart 388ad9ac41 Add UA4C board definition 2018-06-04 16:33:19 +10:00
Josh Stewart badb088006 Change fan on/off logic to be more reliable 2018-05-31 08:29:17 +10:00
Josh Stewart a694651caa Add open loop boost option back in 2018-05-15 14:05:45 +10:00
Josh Stewart 19e258ecfb Independent fuel and ignition load algorithms 2018-05-08 16:43:18 +10:00
Josh Stewart 00daa6b93a Initial Idle Up implementation 2018-05-04 17:55:58 +10:00
Josh Stewart 50196ce247 May dev signatures 2018-05-02 16:40:57 +10:00
Josh Stewart d7599089dc April 18 signatures and base tunes 2018-05-01 17:40:05 +10:00
Josh Stewart ba88cfc07d Allow negative fixed ignition angles 2018-05-01 17:33:52 +10:00
Josh Stewart c0cf1c5119 MISRA cleanup 2018-04-25 08:00:16 +10:00
Josh Stewart 4b5f580649 All base work on EMAP sensor configuration and reading 2018-04-24 21:31:52 +10:00
Josh Stewart d473e00ce4 Groundwork for proper variable algorithms 2018-04-24 17:11:10 +10:00
Josh Stewart 1d5a79757a Send through channel and squirt info to TS 2018-04-23 15:27:57 +10:00
Josh Stewart 1f998a2764 Add sequential set modes for 6 and 8 cylinder fuel 2018-04-20 17:13:20 +10:00
Josh Stewart f62a4d727c Add protection check on Miata 99-05 fixed cranking timing 2018-04-20 17:02:59 +10:00
Josh Stewart 8706c107fb Multi-squirt enable (giggity) 2018-04-20 17:02:35 +10:00
darren siepka aa3904b448 add dvjcodec rev a and b teensy board entry
reactivate second o2 input
2018-04-10 23:17:38 +01:00
darren siepka 2498f53730 fix second o2 error 2018-04-05 22:11:58 +01:00
darren siepka a5e226c58c add teensy ifdef for new board entries 2018-04-05 22:02:33 +01:00
darren siepka 8583e8ac7a Merge branch 'teensy_reva' of https://github.com/Autohome2/speeduino 2018-04-05 21:42:47 +01:00
darren siepka 339ece2618 add reva and revb teensy boards and enable second o2 2018-04-05 21:41:33 +01:00
Josh Stewart 8d7370e0df Multiple safety checks and fixes on fixed cranking and Miata 99-05 decoder 2018-04-04 14:40:09 +10:00
Josh Stewart 818a2416b8 Increase the cranking RPM setting resolution to 10rpm 2018-04-04 14:39:17 +10:00
Josh Stewart 6df7e4c345 Timer configs for boost and vvt on Teensy 2018-04-03 17:47:33 +10:00
Josh Stewart 915c6b9107 Fix timer initialisation on Teensy for more than 4 ign/inj channels 2018-04-03 17:12:23 +10:00
Josh Stewart 34ab5a3a67 Allow final values in the WUE table below 100% 2018-03-28 12:50:36 +11:00
Josh Stewart 7353782399 Correct some of the extra fuel enable/disable macros 2018-03-20 23:58:17 +11:00
Josh Stewart dd197adb07 Revert a few problem changes from the last PR 2018-03-20 22:49:00 +11:00
Josh Stewart 18e91ac378
Merge pull request #134 from VitorBoss/master
STM32 fast update
2018-03-19 08:44:32 +11:00
Josh Stewart 5d68ca4c6f Copy/paste errors in schedule numbers 2018-03-19 08:43:34 +11:00
VitorBoss bcf3a2922b fix for digitalPinToInterrupt on libmaple core 2018-03-18 03:39:30 -03:00
VitorBoss 7e19e6c4ad Fixes for STM crash 2018-03-18 03:26:12 -03:00
Vitor Moreno B. Sales 4a532a7a80
Merge pull request #19 from noisymime/master
Bunch more work on dynamic ignition assignment
2018-03-18 02:57:54 -03:00
Josh Stewart 7f0ba43d51 Bunch more work on dynamic ignition assignment 2018-03-18 10:37:31 +11:00
Vitor Moreno B. Sales 17a551d89b
Merge pull request #18 from noisymime/master
Early March Sync
2018-03-16 22:17:54 -03:00
Josh Stewart c35ed913a1 March dev firmware sigs 2018-03-14 23:10:30 +11:00
Josh Stewart 0a8d5e21c5 Feb 2018 signature and base tune 2018-03-10 20:55:21 +11:00
Josh Stewart 981d087d64 Work on the dynamic ignition functions 2018-03-10 14:07:29 +11:00
Josh Stewart 4183be51f2 Fast versions of millis() and micros() that use timer5 rather than timer0. Current disabled 2018-03-10 14:07:06 +11:00
Josh Stewart d4f0bdc03e Fix potential issue that would prevent sync on 4cyl Daihatsu +1 patterns 2018-03-01 16:29:20 +11:00
Josh Stewart 4c47ea93d3 Add a check that prevents staged injection from trying to run when there are more cylinders than injection channels 2018-02-22 23:10:35 +11:00
Murray 684f668c84 changed ini for page 10 unused bytes to match the convention used in other config pages. reformatted the reset control config page section. fixed first element of flex bins not being initialized to 0. 2018-02-17 11:46:42 -06:00
VitorBoss 8a636e407f Update Timers and limited BluePill to 4 Inj/Ign 2018-02-16 20:44:12 -02:00
Josh Stewart 7477ba3322 MISRA errors cleanup 2018-02-12 10:45:02 +11:00
Vitor Moreno B. Sales e510c0e909
Merge pull request #17 from noisymime/master
Get latest fixes from Josh
2018-02-09 13:06:05 -02:00
Josh Stewart d646553b6f Fix for 24x decoder not syncing after startup 2018-02-06 21:47:02 +11:00
Josh Stewart 11a0c8069e Fix initial state of the dual wheel decoder on first rev after sync 2018-02-05 18:05:58 +11:00
Josh Stewart 0c374cf081 Prevent overflow of fuel when RPM < 115 and sequential is selected 2018-02-05 18:05:36 +11:00
Josh Stewart 0c5b3ef006 Add a 1s cache timeout for the 2D table caches 2018-02-05 17:31:22 +11:00
Josh Stewart c038ebb1d7 Fix bug that prevents the per tooth based timing from functioning 2018-02-05 16:13:26 +11:00
Josh Stewart 725b93e083 Add additional caching on 2D table lookups 2018-02-05 12:44:24 +11:00
Josh Stewart dfa48ed250 Fix for rare overflow issue that could cause an incorrect pulse width at very low RPM (<200rpm) 2018-02-05 09:39:46 +11:00
VitorBoss 27e22eef1b Merge branch 'master' of git://github.com/noisymime/speeduino 2018-02-01 18:28:53 -02:00
Josh Stewart 33b85f3b9d Cleanup a bunch of errors and warnings for stm32 2018-01-27 22:14:11 +11:00
Josh Stewart b1c307b01b Fixup errors from last merge 2018-01-26 00:37:38 +11:00
Josh Stewart 05ebf72e53
Merge branch 'master' into 0x15e-master-amalgamation 2018-01-25 17:25:11 +11:00
Josh Stewart 9dfc8e0429 8 channel dynamic work to allow stm32 and teensy to compile 2018-01-24 16:23:15 +11:00
Josh Stewart 8e2e3f125b Convert all tables in code to match the numbering in the ini (Probably has bugs for now) 2018-01-24 12:05:50 +11:00
Josh Stewart c0f0cd2a0a
Merge branch 'master' into 0x15e-master-amalgamation 2018-01-23 16:52:19 +11:00
Josh Stewart 80a77d4c4a More work on the dynamic channel usage 2018-01-23 16:14:03 +11:00
Josh Stewart c3173296f5 Some initial ground work for the dynamic inj/ign assignment 2018-01-22 12:21:33 +11:00
Murray b5c56495e9 Merge branch 'flextable' of https://github.com/0x15e/speeduino into 0x15e-master-amalgamation
# Conflicts:
#	reference/speeduino.ini
#	speeduino/comms.h
#	speeduino/comms.ino
#	speeduino/globals.h
2018-01-21 14:55:47 -06:00
Murray 9369ec73d8 Merge branch 'reset-lock' of https://github.com/0x15e/speeduino into 0x15e-master-amalgamation
# Conflicts:
#	reference/speeduino.ini
#	speeduino/globals.h
2018-01-21 14:32:51 -06:00
Murray 8e789d4644 Merge branch 'master' of https://github.com/noisymime/speeduino into flextable
# Conflicts:
#	reference/speeduino.ini
#	speeduino/globals.h
2018-01-20 18:16:19 -06:00
Murray 23862103e5 extremely rough flex table editors. added flexBoostCorrection to currentStatus. shortened flex correction table names. gave each flex table its own set of eth% bins. fixed the incredibly broken EEPROM update code. 2018-01-20 16:33:14 -06:00
Josh Stewart 264090863d
Merge pull request #118 from ConnerMcLaughlin/master
Launch Control TPS II
2018-01-21 07:18:51 +11:00
Murray 929756b63a Merge branch 'master' of https://github.com/noisymime/speeduino into flextable
# Conflicts:
#	.gitignore
#	reference/speeduino.ini
#	speeduino/globals.h
2018-01-19 22:24:02 -06:00
Murray 2350d5d785 Table-based flex fuel corrections
Changed the linear low / high flex fuel correction method to a table2D-based one.
2018-01-19 21:25:01 -06:00
Vitor Moreno B. Sales 94b2154bed
Merge pull request #15 from noisymime/master
1801
2018-01-19 19:18:00 -02:00
Murray d07d20ffb8 ini spec version bump to maximum supported by the current stable TunerStudio. removed debug code from comms.ino. updated ini file so that only appropriate options will be shown based on whether the connected Speeduino is using the custom firmware. 2018-01-16 20:02:04 -06:00
ConnerMcLaughlin b6096329d8 cam4minus1 var is now trigPatternSec
All the instances of the variable name cam4minus1 is changed to trigPatternSec
2018-01-15 20:38:37 -06:00
ConnerMcLaughlin b2ed338f2e MISRA violation fix
rule 12.1 was being violated and this is the fix where several sets of parentheses are removed.
2018-01-15 20:21:09 -06:00
ConnerMcLaughlin 0622666434 Special fix for STM32F103C8 uCs
Was not compiling because of misplaced and/or insufficient preprocessor directives
2018-01-14 23:32:24 -06:00
ConnerMcLaughlin 52701e98ad Initial commit for missing tooth secondary
This also includes setups that have Toyota 36-2+3 trigger wheels to work.
2018-01-14 20:23:25 -06:00
ConnerMcLaughlin 124c0d51da Launch Control TPS II
Adding TPS limit on launch control
2018-01-14 17:42:38 -06:00
Murray 27641514f4 Merge branch 'master' of https://github.com/noisymime/speeduino into reset-lock
# Conflicts:
#	reference/speeduino.ini
2018-01-14 11:29:29 -06:00
Murray 2819adb865 Custom bootloader recognition
Added a new serial command that allows a custom 16u2 firmware to let the speeduino know about itself. After issuing a `, the speeduino will expect one more byte indicating the capabilities level of the custom firmware (only 1 for now).
2018-01-12 21:37:21 -06:00
Josh Stewart dd9941ce5d Introduce end-of-line normalization 2018-01-12 14:04:43 +11:00
Josh Stewart d49d8f5fb7 SpeedyMAP initial work on RPM detection 2018-01-12 13:54:31 +11:00
Murray 81d8ccd358 Merge branch 'master' of https://github.com/noisymime/speeduino into reset-lock 2018-01-09 18:20:47 -06:00
Josh Stewart e2dfeeb93d Revised launch/clutch default pins 2018-01-10 00:12:14 +11:00
Josh Stewart 6c8e238697 January dev signature 2018-01-10 00:11:57 +11:00
Murray 6d0e93bc58 display a different message on U command if reset control is disabled 2018-01-07 18:54:45 -06:00
Murray 43f0d35839 Merge branch 'master' of https://github.com/noisymime/speeduino into reset-lock 2018-01-07 16:22:55 -06:00
Murray ae8ea08d41 Reset Control
Changed reset lock feature to a more general "reset control" feature. Moved reset control settings to the general Settings menu. added a serial U command that will halt comms and set the control pin low when another byte is received to facilitate reset control for devices that lack an AtmegaXXu2 usb controller. Improved context help for reset control. Corrected reset lock status indicator on / off labels. moved reset control setup to utils.ino.
2018-01-07 16:22:18 -06:00
Vitor Moreno B. Sales 936c0e882b
Merge pull request #14 from noisymime/master
Jan2018
2018-01-05 20:05:11 -02:00
Josh Stewart f474a95dc5 December 2017 signature and base tunes 2018-01-03 21:52:25 +11:00
Josh Stewart a2e1379fd6 MISRA cleanup 2018-01-03 20:48:35 +11:00
Josh Stewart 3a98d08c1a Prevent staging and sequential trying to function at once 2018-01-03 20:12:37 +11:00
Josh Stewart 9f53002b9d Adjust injector setting priority so that sequential will override the Simultaneous/Alternating option 2018-01-03 17:27:22 +11:00
Murray 03e6c2d476 Software controlled auto-reset prevention
This feature enables the Speeduino to set a pin high that will tell the Arduino's 8U2/16U2 firmware not to reset on new serial connections. This requires a slightly modified firmware for the 8U2/16U2 that will only reset on DTR when PB7 is also held low.
2018-01-01 15:39:43 -06:00
Josh Stewart 6b822ba85c Faster starting on 4g63 decoder 2017-12-29 11:59:29 +11:00
Josh Stewart 58842645d4 Add Teensy pin mapping for the MX5 PNP board (Incomplete) 2017-12-27 23:12:07 +11:00
Josh Stewart e11e22e2ae Fixes for 1 cylinder operation on the Basic Distributor decoder 2017-12-24 13:37:11 +11:00
Vitor Moreno B. Sales b13297cb44
Merge pull request #13 from noisymime/master
Early december
2017-12-21 17:29:36 -02:00
Josh Stewart 38dfb2d8f6 Fix for timing bug on Miata 99-05 pattern 2017-12-21 13:30:45 +11:00
Josh Stewart ef72a28064 Reset the schedule status if over dwell protection has to kick in 2017-12-21 11:51:32 +11:00
Josh Stewart ef0f6dd6cb Clear RUN and ASE flags in the timeout area to make sure they don't come on incorrectly upon power on 2017-12-20 12:23:14 +11:00
Josh Stewart 6c0c5962cd Initial commit of working 36-2-2-2 pattern 2017-12-19 17:28:01 +11:00
Josh Stewart 36c08d42cc Initial layout work for 36-2-2-2 decoder 2017-12-15 16:38:17 +11:00
Josh Stewart 8fe7ff66a9 December dev signature 2017-12-15 16:23:56 +11:00
Vitor Moreno B. Sales 2c10a969dd
Merge pull request #12 from noisymime/master
December merge
2017-12-13 15:25:10 -02:00
VitorBoss d746de22f8 Increase STM32 max write 2017-12-13 15:21:33 -02:00
Josh Stewart e19ce69bfd Warnings and MISRA violation cleanup 2017-12-10 22:29:53 +11:00
Josh Stewart aebe4d2719 November signature and base tunes 2017-12-10 17:21:55 +11:00
Josh Stewart a57be61913 Missed lines from last commit 2017-12-07 13:46:25 +11:00
Josh Stewart 35fa068575 Staged injection (Table and automatic modes) 2017-12-07 13:46:04 +11:00
Josh Stewart 98ea973a80 Add individual pulse widths to the comms output 2017-12-07 11:42:44 +11:00
VitorBoss 31d134c05d Merge branch 'master' of git://github.com/noisymime/speeduino 2017-12-06 16:13:58 -02:00
Josh Stewart d715f95c7b Pinout correction on the INJ 3/4 MX5 PNP 2017-12-05 16:05:00 +11:00
Josh Stewart 298ad3f1b4 Fix for fuel interrupt clashes 2017-12-05 09:15:17 +11:00
Josh Stewart 1e432514f9 Allow separate bars calibration 2017-11-28 10:09:54 +11:00
Josh Stewart 6ba1e4f946 Make sure stepper homing completes with 0 rpm 2017-11-27 17:39:53 +11:00
Josh Stewart d26c5298a3 Fixes for homing not working with stepper idles 2017-11-27 09:24:00 +11:00
Josh Stewart 2989e32f15 Memory adjustments for staging fuel table 2017-11-21 15:17:55 +11:00
Josh Stewart 36ca95a330 November dev signatures 2017-11-13 09:14:58 +11:00
Josh Stewart eead290bc6 Fix incorrect part designation on the MX5 PNP B2 BOM 2017-11-09 10:07:10 +11:00
Josh Stewart 883ba4a25f Potential fix for access enrich overflow 2017-11-08 22:51:40 +11:00
Josh Stewart fa5d721b98 October release signatures and base tune 2017-11-07 22:13:27 +11:00
Josh Stewart 0de3a231c9 Minor cleanups before release 2017-11-07 22:05:23 +11:00
Josh Stewart 8f0d654ffa Smoother adjustments of the simple EGO algorithm 2017-11-05 20:03:16 +11:00
Josh Stewart cfb8d20f4e Fix problem with the AFR correction ignition count not being checked correctly 2017-11-05 19:56:04 +11:00
Josh Stewart 575c9d0334 Fix fan pin off by 1 bit 2017-11-05 02:05:48 +11:00
Josh Stewart 4b5b040615
Merge pull request #110 from Autohome2/can-serial3
Can serial3 updates
2017-11-03 00:00:53 +11:00
darren siepka 7d4b90a6a0 fix conflicts 2017-11-02 00:19:57 +00:00