Commit Graph

590 Commits

Author SHA1 Message Date
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
darren siepka 380ffc20b8 update serial3 and canbus related data transfer protocols and naming 2017-11-01 20:17:47 +00:00
Josh Stewart 17030a9df7 Add in check for ignition count to the closed loop AFR control 2017-11-01 16:10:06 +11:00
Josh Stewart 9d2192d04c Fix the array (packet) sizes for both the main serial and CAN 2017-11-01 14:55:47 +11:00
Josh Stewart 95aea5637c Merge pull request #108 from Autohome2/can-serial3
Serial3 own sendvalues routine
2017-10-27 09:42:43 +11:00
Josh Stewart 1cfdcb0c77 Bunch of small tweaks to reduce Bluepill flash usage 2017-10-26 12:25:53 +11:00
autohome2 ef657a08b3 added sendcanValues routine for serial3 and canbus use 2017-10-26 01:43:33 +01:00
Josh Stewart b67ae45b69 Added NO2C pin mapping
Closes #106
2017-10-25 20:55:46 +11:00
Josh Stewart 763f434a57 Addition of experimental ignition schedule refreshing (Not enabled yet) 2017-10-24 23:31:42 +11:00
Josh Stewart 5de68f3c54 Add matching corrections.h to go with the current corrections.ino 2017-10-24 23:30:51 +11:00
Josh Stewart 91bea0766f Fix bug that could cause RPM to spike when first cranking on missing tooth patterns 2017-10-24 21:07:22 +11:00
Josh Stewart 2ec972948f Changes to logged variables 2017-10-24 16:54:18 +11:00
Josh Stewart 6a8ab1015b Move the pulse width function into the speeduino.h scope 2017-10-24 14:08:32 +11:00
Josh Stewart 543b33c774 Remove some unused variables 2017-10-24 11:22:05 +11:00
Josh Stewart d3303e8b3d Add small flash mode to help with the Bluepill memory problem 2017-10-19 17:15:08 +11:00
Josh Stewart 53b039a3df Add check on the fuel schedules to prevent overflow below 58rpm 2017-10-19 17:02:43 +11:00
VitorBoss a52adc48a8 Merge branch 'master' of git://github.com/noisymime/speeduino into noisymime-master 2017-10-13 18:00:58 -03:00
Josh Stewart 98f5640a77 Another attempted fix for fluctuating MAP readings 2017-10-11 18:54:42 +11:00
Josh Stewart ace8c1f129 Potential fix for erratic MAP readings in some instances 2017-10-11 00:12:07 +11:00
Josh Stewart e921901fc0 Pass fuel pulse width full value to TS 2017-10-10 21:58:03 +11:00
Josh Stewart 91a428401a October dev signature 2017-10-10 19:56:37 +11:00
Josh Stewart 2fca4d481b Correction for fuel pump over analog pin mapping 2017-10-09 13:34:41 +11:00
Josh Stewart b067ef100b Signature and base tunes for Sep 2017 release 2017-10-09 12:02:05 +11:00
Josh Stewart 34cd1d3cfd Corrected scope for valueOffset to fix chunk write issue 2017-10-09 11:52:27 +11:00
Josh Stewart ea77358045 More string trimming for bluepill 2017-10-08 20:50:54 +11:00
Josh Stewart 7adeeb3eaa Some incomplete work on 4g63 sequential 2017-10-08 20:15:49 +11:00
Josh Stewart 9af5534de4 Better handling of live chunk receives in comms 2017-10-08 11:07:49 +11:00
VitorBoss 59be466201 Typo fix 2017-10-06 16:44:29 -03:00
VitorBoss bc71f23895 Merge branch 'master' of git://github.com/noisymime/speeduino into noisymime-master 2017-10-06 14:43:56 -03:00
Josh Stewart ef89229e27 More consistent rolling hard cut 2017-10-04 21:16:08 +11:00
Josh Stewart 485affc81e Cleanup some of the strings to reduce sketch size for Bluepill 2017-10-04 18:02:12 +11:00
Josh Stewart 9202afe7cf Prevent memory corruption from the page expansion 2017-10-04 12:24:40 +11:00
Josh Stewart 621f6b4d68 Small adjustments to Miata 9905 pattern 2017-10-04 10:45:00 +11:00
Josh Stewart 683fe44562 Initial work on rolling sign cut rev limit 2017-10-04 09:48:46 +11:00
Josh Stewart 172cd18435 Add explicit on/off mode for the VVT table 2017-10-02 20:01:08 +11:00
Josh Stewart c901748974 Allow use of Analog pins for some selectable outputs 2017-10-01 00:07:36 +10:00
VitorBoss 44a0da5a62 Small fixes 2017-09-23 11:47:48 -03:00
Josh Stewart 9591d4f935 Add dedicated CPU and memory outputs for future benchmarking 2017-09-22 21:28:34 +10:00
Josh Stewart 7aa8d277f3 Potential fix for cranking problem on Miata 9905 pattern 2017-09-20 16:43:55 +10:00
Josh Stewart 515f0a626f MISRA cleanup from the comms work 2017-09-20 14:38:42 +10:00
Josh Stewart e4a18fb45e Updater script for all the crazy serial stuff 2017-09-20 14:07:15 +10:00
Josh Stewart 46b1663da9 Support chunk serial comms mode 2017-09-20 14:06:55 +10:00
Josh Stewart 9d89494666 Expand page 4 to 128 bytes 2017-09-20 12:15:41 +10:00
Josh Stewart 1cd2a0f296 Expand page 2 to 128 bytes in size 2017-09-19 15:09:32 +10:00
Josh Stewart 5b3df5ac4d Merge config pages 6 and 7 2017-09-19 14:51:33 +10:00
Josh Stewart 6763ff15b4 Initial work on new serial comms protocols (Working, but slow) 2017-09-19 14:10:07 +10:00
Josh Stewart 7ca7650a31 Disable manual WDT to prevent it causing problems with serial comms 2017-09-19 14:09:02 +10:00
Josh Stewart ae780dc940 New per page based EEPROM writes 2017-09-19 14:05:43 +10:00
Josh Stewart 02976029cf Comment cleanup 2017-09-18 10:38:49 +10:00
Josh Stewart 7d3ffa5941 Fix for fuel pump priming never ending on 4g63 and Miata9905 patterns 2017-09-16 16:45:40 +10:00
Josh Stewart 2d03665162 Remove unused odd fire variable 2017-09-12 14:02:00 +10:00
Josh Stewart d0d5a38c23 Double sync checking method for 4g63 2017-09-12 14:01:28 +10:00
Josh Stewart 0694564ed1 September dev signature 2017-09-10 00:51:10 +10:00
Josh Stewart d8d1d8ff04 August signature and base tune 2017-09-09 22:07:46 +10:00
Josh Stewart 70693ae3a8 Further improvements to the Nissan 360 pattern 2017-09-09 22:07:12 +10:00
Josh Stewart 62d3c19c31 Adjust for full sensitivity scale on ideal PID controller 2017-09-07 08:58:24 +10:00
Josh Stewart 7c0932a396 Adjust boost timings slightly 2017-09-07 06:20:22 +10:00
Josh Stewart 72c2a3fb4b Change MAP variable type to long for boost levels > 255kPa 2017-09-06 09:40:56 +10:00
Josh Stewart 4e858f1ca8 Completed new PID mode for boost control 2017-09-04 11:50:55 +10:00
Josh Stewart 3b33094230 Initial commit of new Ideal PID implementation (Active for boost control) 2017-09-03 20:28:49 +10:00
VitorBoss 8af08a7209 Included 12bit math for STM
Boost/VVT pins dont change if 0%
Change visual led clock to 4Hz
Change analog resolution to 10bits on STM32GENERIC core
2017-09-02 13:26:41 -03:00
VitorBoss 5721c9700b Changed pins to any STM32F1
Make debug more friendly on Updates.ino
2017-09-01 23:21:14 -03:00
VitorBoss da39db1476 Fix potential crash on IDLE when first flash
Other cosmetic changes
2017-09-01 16:16:45 -03:00
VitorBoss 04fe29010c Merge branch 'master' of https://github.com/VitorBoss/speeduino 2017-08-31 17:40:21 -03:00
VitorBoss 6b205e832f Fix error on IDLE 2017-08-31 17:38:41 -03:00
Josh Stewart bd54aae566 Enable per tooth timing on Nissan 360 2017-08-31 21:04:32 +10:00
Josh Stewart eb400302f4 Fix incorrect divide on Nissan 360 2017-08-31 18:20:25 +10:00
Josh Stewart e7ac717796 Startup improvements on Nissan 360 CAS 2017-08-31 18:01:37 +10:00
Josh Stewart 515cf332f1 MISRA cleanup 2017-08-31 15:03:39 +10:00
Josh Stewart 2d0189c76d Cleanup of files that didn't need to be changed in preparation for merge 2017-08-31 14:53:46 +10:00
Josh Stewart 976c18fb26 Merge branch 'master' into master 2017-08-31 14:46:06 +10:00
Josh Stewart 0ccab57e61 Fix for potential miss on trailing spark of FC rotary mode at high RPM 2017-08-31 12:09:13 +10:00
Josh Stewart 6aebf7e068 Allow for setting secondary trigger edge on Miata 99-05 2017-08-30 12:54:21 +10:00
Josh Stewart e93bf9f5ac Fix RPM calc issue on Miata 99-05 2017-08-30 12:53:56 +10:00
Josh Stewart 2ced120022 Tweaks to Miata 99-05 pattern 2017-08-29 00:11:50 +10:00
VitorBoss b9282e1edd Clear MISRA error on decoders 2017-08-28 02:36:28 -03:00
VitorBoss d4876f5883 Removed unused table code 2017-08-28 02:32:18 -03:00
VitorBoss 9e4746596a Fix github mistakes 2017-08-28 02:21:34 -03:00
VitorBoss 04be30dc03 Add missing variables 2017-08-28 02:15:05 -03:00
VitorBoss 1ffbad8a43 Revert "Merge branch 'master' into pr/5"
This reverts commit d8898db9fe, reversing
changes made to b1e7b854d0.
2017-08-28 02:01:36 -03:00
Vitor Moreno B. Sales 8f9619ca96 Update timers.ino 2017-08-28 01:54:53 -03:00
Vitor Moreno B. Sales d8898db9fe Merge branch 'master' into pr/5 2017-08-28 01:53:24 -03:00
VitorBoss b1e7b854d0 Enable CRC on multi lib 2017-08-28 01:44:08 -03:00
VitorBoss c10a637853 Sync with last changes 2017-08-28 01:35:49 -03:00
Josh Stewart a15e830321 Add filters for Miata 99-05 2017-08-28 13:02:06 +10:00
Josh Stewart e01dccc6b8 Initial work on revised version of the Miata 99-05 decoder 2017-08-27 09:26:36 +10:00
VitorBoss 38a89e41d0 082617 2017-08-26 19:48:04 -03:00
Josh Stewart b8706f69b2 Re-add scope guard in comms.ino 2017-08-25 17:26:24 +10:00
Josh Stewart 4e47e8ae19 Cleanup page 11 array 2017-08-25 17:26:04 +10:00
Josh Stewart fc06ce4d1b Minor ini and comms cleanup 2017-08-24 17:24:28 +10:00
Josh Stewart 630a3bfe2a Checks on trailing ignition angles for FC rotary 2017-08-24 10:17:35 +10:00
Josh Stewart 9e4c191d7b Use correct page size for Pg 11 2017-08-24 08:33:32 +10:00
Josh Stewart 73712764c4 Add missing #defines for stm32 platforms 2017-08-24 01:05:25 +10:00
Josh Stewart 5400b3fe81 Comment cleanup 2017-08-24 00:56:05 +10:00
Josh Stewart 0a7b782af9 Better method of doing trailing select for FC rotary configs 2017-08-24 00:55:44 +10:00
Josh Stewart 7db1101429 Completely untested trailing spark for FC rotary ignitions
May God have mercy on us all
2017-08-23 17:18:59 +10:00
Josh Stewart 539618c583 Initial interface work on rotary ignition modes 2017-08-23 08:14:11 +10:00
Josh Stewart cf6beeb53c Disable VVT and Boost control timers when engine is off 2017-08-22 19:57:45 +10:00
Josh Stewart 13e3b1f37b Starting improvements on the 4g63 pattern 2017-08-21 11:52:12 +10:00
Josh Stewart b71c59947e Cleanup #defines in maths.x 2017-08-21 11:51:05 +10:00
Josh Stewart 4340e58fa3 Add very lite filter to the cycle average MAP sampling 2017-08-21 11:50:50 +10:00
Josh Stewart 90b4f5f62f Minor Subaru 6/7 decoder tweak 2017-08-18 08:50:39 +10:00
Josh Stewart c791302a0e Harley EVO decoder (courtesy of @bitwise17)
Closes #93
Slightly changed to fix bugs and be MISRA compliant
2017-08-17 14:17:21 +10:00
Josh Stewart afa83cfdd7 Experimental new low res mode (Testing only) 2017-08-17 13:51:12 +10:00
Josh Stewart 77094a59d1 Better startup procedure and DIY watchdog 2017-08-17 11:24:26 +10:00
Josh Stewart 83b486ef1f Change to single calculation of the cranking RPM 2017-08-10 11:44:32 +10:00
Josh Stewart 692cb68cf1 Better locked ignition timing during cranking 2017-08-09 10:37:53 +10:00
VitorBoss bf21e87829 MISRA work 2017-08-07 22:05:35 -03:00
Vitor Moreno B. Sales 33f14e8fe5 Merge branch 'master' into master 2017-08-07 21:57:58 -03:00
VitorBoss 1defafb387 Work on boost/vvt and timers for STM32 2017-08-07 21:40:27 -03:00
Josh Stewart 482bbfab40 Cleanup unused variables ignXLastRev 2017-08-07 16:42:34 +10:00
Josh Stewart d4b93c2b54 Fixed tacho output on wasted COP mode 2017-08-06 22:40:26 +10:00
Josh Stewart 345bf5d405 August dev signatures 2017-08-06 22:15:15 +10:00
Josh Stewart be9ad6bb85 Fix missing value for TPS calibration 2017-08-06 17:12:57 +10:00
Josh Stewart 4f7e11c233 Fix for spark miss every ~250 revs 2017-08-06 17:00:58 +10:00
Josh Stewart 586a71f08f Fix typo on fuel pump macro (Wasn't used anyway) 2017-08-06 16:28:40 +10:00
VitorBoss 94e0c6c19c Fix error on no STM32 boards 2017-08-04 17:05:16 -03:00
VitorBoss 7c15b2657c Fix last merge 2017-08-04 16:12:16 -03:00
VitorBoss 9f64ba2b6c idle, boost and vvt PWM added 2017-08-04 00:13:32 -03:00
VitorBoss 9398dadb48 Merge remote-tracking branch 'refs/remotes/noisymime/master'
# Conflicts:
#	speeduino/speeduino.ino
2017-08-03 22:49:10 -03:00
Josh Stewart e4207d9ee3 Add check to prevent system hanging on startup with fresh board if invalid flex pin is attempted 2017-08-03 23:45:51 +10:00
VitorBoss 6d3439060d Added possibility to use another library for STM32 2017-08-02 23:29:05 -03:00
VitorBoss fb3c345f23 Merge remote-tracking branch 'refs/remotes/noisymime/master' 2017-08-02 23:17:20 -03:00
Vitor Moreno B. Sales d9f38f82de Fixing last comit 2017-08-02 22:51:07 -03:00
Vitor Moreno B. Sales e9db1a2f78 New update to STM32
Using timer bits instead (mainLoopCount & 31) comparators.
Few changes to support another library on STM32
2017-08-02 22:46:48 -03:00
Josh Stewart 32b5c4684e Minor changes to multiple decoders 2017-08-03 00:35:10 +10:00
Josh Stewart e9861a299f Additional cranking check 2017-07-30 23:09:42 +10:00
Josh Stewart 523c05fda9 July signature and base tune 2017-07-30 23:07:48 +10:00
Josh Stewart 07afb535d0 Updater for July firmware 2017-07-30 23:04:37 +10:00
Josh Stewart c69499497b Better baro reading on startup 2017-07-30 14:25:07 +10:00
Josh Stewart 8db6ef21f8 New experimental boost control PID 2017-07-29 22:38:54 +10:00
Josh Stewart b9e6d8973a Enable the cranking curve lookup 2017-07-28 00:48:08 +10:00
Josh Stewart fde322f8f5 Fix for rare RPM error when cranking using missing tooth wheel 2017-07-27 15:25:57 +10:00
Josh Stewart 9cd31f335f Cleanup of comms variables 2017-07-27 14:04:38 +10:00
Josh Stewart 3db9dc99fd New MAP calculation method (More accurate and allows negative calibration values) 2017-07-27 12:47:59 +10:00
Josh Stewart a183838887 Prevent occasional pulses when boost duty = 0%. Helps prevent overboost in some conditions 2017-07-24 17:05:55 +10:00
Josh Stewart f11cae0eb8 Guard boost/vvt control from stm32 2017-07-24 16:40:50 +10:00
Josh Stewart e53f8c628d Mostly complete boost/vvt control for Teensy 2017-07-24 16:34:13 +10:00
Josh Stewart bfc5c7c841 Cleaner transitions when using VVT for on/off control 2017-07-24 16:04:29 +10:00
Josh Stewart 1da217eb40 Type fix 2017-07-24 14:24:41 +10:00
Josh Stewart 9a7d3b1fdf Fix ini 3/4 pin mapping for MX5 PNP 2017-07-24 14:19:39 +10:00
Josh Stewart e878be5260 MISRA work in tables.ino 2017-07-24 14:19:29 +10:00
Josh Stewart e16da51101 Additional work for the new memory page 2017-07-24 14:19:07 +10:00
Josh Stewart 11294364bc 4G63 decoder improvements (+MISRA work) 2017-07-24 14:18:25 +10:00
Josh Stewart be98d2d0d3 Addition of comms for Pg 11 2017-07-24 09:50:50 +10:00
Josh Stewart ccb6e194b7 Initial work creating a new memory page (pg 11) 2017-07-20 16:54:50 +10:00
Josh Stewart 4d8ca38a05 Small improvements to the TPSdot calc 2017-07-18 14:05:26 +10:00
Josh Stewart c570e6de78 Correct revolutionTime variable on Basic Distributor to allow dwell limiter to function 2017-07-18 09:55:31 +10:00