Commit Graph

226 Commits

Author SHA1 Message Date
rusefi 70a94ee1f7 occasional tunerstudio CRC errors #1943
second step back
2020-11-15 22:41:04 -05:00
Matthew Kennedy 80edfe64ce 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 3a052682dd fix large response packets (#1947)
* fix console text mode

* oops I should actually write the crc
2020-11-15 07:14:50 -05:00
Matthew Kennedy ebcd4f73af fix CRC errors (#1944)
* fix crc mismatch

* cleanup

* use size_t, add null check

* bounds check for good measure

* rename to scratchBuffer

* comment
2020-11-14 19:21:29 -05:00
Matthew Kennedy 5f11390f58 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
rusefi 63b1a6652b Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/console/binary/tunerstudio_io.cpp
#	firmware/console/console_io.cpp
2020-09-11 05:54:21 -04:00
rusefi 58be12bf0e Hellen says merge #1772 TS 2020-09-11 05:50:48 -04:00
Matthew Kennedy d2c93afff8 Ts error codes (#1706)
* correct TS errors

* tidy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 08:24:31 -04:00
Matthew Kennedy eb7888fba3 improve (#1702) 2020-08-18 22:37:08 -04:00
rusefi 8f2f8bc132 TS SD integration #1653 2020-08-06 01:15:41 -04:00
Matthew Kennedy cd547ceb00 no more setFuelMap 2020-08-03 12:14:11 -07:00
rusefi e4a4377780 TS SD integration #1653 2020-08-02 22:31:11 -04:00
rusefi e634564a8a TS SD integration #1653 2020-08-02 21:38:32 -04:00
rusefi 8c471df389 Stack usage is still all over the place #1662 2020-08-02 10:52:52 -04:00
rusefi fb250c0309 analog temperature inputs validation for quality control 2020-07-27 22:49:59 -04:00
Matthew Kennedy 1249c11690 more spots 2020-07-20 00:55:45 -07:00
rusefi eff12bbeb1 EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806 2020-07-12 18:11:10 -04:00
rusefi 408836931c more on wipeString 2020-07-05 14:09:43 -04:00
rusefi 8396237890 wipe strings in configuration images 2020-07-05 11:16:07 -04:00
rusefi 7b5f782e91 idle_min through FSIO not working as intended #1553
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
rusefi 88b958a2d1 detailed error message 2020-07-04 17:46:16 -04:00
rusefi 4a3de20ae7 detailed error message 2020-07-04 17:22:27 -04:00
andreika-git 8b84243dae Gen config refactor 2 (#1560)
* gen_config refactor, part II

* short board defines

* oops

* comment & undef

* define QUOTE

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
rusefi 025ac28a2c REO progress 2020-06-20 18:36:58 -04:00
rusefi 7165b43030 making dead code! 2020-06-13 11:54:19 -04:00
rusefi e5c839b5b1 extracting protocol constants 2020-05-30 12:23:27 -04:00
rusefi 0c1cafde57 composite logger for console 2020-05-30 11:31:18 -04:00
Matthew Kennedy c95ed26d89 Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
rusefi e1ee03cdf9 console composite logger 2020-05-26 22:30:53 -04:00
rusefi 87a1f59591 better location, better command name 2020-05-25 13:12:15 -04:00
rusefi 804f4b9db5 better file name 2020-05-25 13:02:05 -04:00
rusefi 958ef0a3de BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-05-21 00:14:08 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
rusefi 965f247e11 steps towards BT 2020-05-03 01:43:39 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy d37b5f0494 Show fatal error text in TS (the right way) (#1232)
* enable TS error readout

* friendlier text for common errors

* improve comment
2020-03-29 07:27:36 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
Matthew Kennedy b7033bbde9 Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -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 aa5e6feb41 better message 2020-03-08 09:17:55 -04:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
rusefi 1a3bfa4b02 code style 2020-01-21 01:47:58 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
Matthew Kennedy 9d796ea782 remove concept of TS pages (#1075)
* remove pages

* unify validation

* these need to be unsigned or we can still overrun
2020-01-07 07:56:45 -05:00
rusefi 27f617686b progress towards ETB controller mocking 2019-12-13 13:52:34 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy 87ec74119d ETB Encapsulation & C++ Conventions (#1049)
* encapsulate etb stuff, c++ conventions

* remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE

* reduce include dependencies

* Revert "reduce include dependencies"

This reverts commit c529bbbf757cd9070f6e00616f84b1229eeb768e.

* Revert "remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE"

This reverts commit ca98b18cd4dae24b993d1263a18daf509dcd54b9.
2019-12-10 19:37:04 -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
Matthew Kennedy 3c9c9e028c Perf trace housekeeping (#1038)
* use default params

* fix that mess

* format
2019-12-02 19:18:00 -05:00
rusefi 002a08316c steps towards dual ETB 2019-11-28 15:24:30 -05:00
rusefi 265727b7db steps towards dual ETB 2019-11-27 22:07:36 -05:00
Matthew Kennedy e7ea88044e s (#1023) 2019-11-21 23:45:16 -05:00
rusefi 95e8f4227b making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi b865698e23 reducing warnings 2019-11-17 08:44:07 -05:00
rusefi 7eaed773ff evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
Matthew Kennedy 6f3bfcb099 fix wwae (#980) 2019-10-17 00:06:54 -04:00
Matthew Kennedy ec33723587 hook up TS commands 2019-10-14 23:41:15 -07:00
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07:00
Matthew Kennedy 821ca6156f move tsOutputChannels to header (#970) 2019-10-08 21:02:51 -04:00
rusefi fe6b5d8c56 Live Data: trigger current gap 2019-09-03 19:30:51 -04:00
rusefi 6318f2ac38 Live Data: more Idle & ETB data points! 2019-09-01 15:46:40 -04:00
rusefi 8be592f3d4 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 8be92bbdb7 live data: consistent naming 2019-08-31 23:39:30 -04:00
rusefi 04009fd6f7 refactoring: extracting common magic constant 2019-08-18 12:30:59 -04:00
rusefi fe43256c91 ETB live docs 2019-08-15 21:01:04 -04:00
rusefi cc6257bf5c trigger counters to formula, docs & improvements 2019-07-20 14:56:56 -04:00
rusefi 0e6509906b longer field names 2019-07-13 10:32:36 -04:00
rusefi 6f5c8a17bf fixing build 2019-07-13 09:01:27 -04:00
rusefi fd8f70d8c4 Annotations in C++ code to produce formulas in rusEfi console #807 2019-07-13 09:00:03 -04:00
rusefi e2a5e11616 More than one aux pid #866
refactoring
2019-07-07 19:59:48 -04:00
rusefi 10c06ab73c EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
Matthew Kennedy 55aaa1c95a Implement TS tooth logger (#873)
* FW changes

* config changes

* whitespace

* comment

* simplify
2019-07-06 20:48:58 -04:00
Matthew Kennedy 1dba6bf139 Tunerstudio.cpp cleanup (#871)
* convert to switch, cleanup

* undo if constexpr
2019-07-05 18:16:32 -04:00
rusefi e309e223aa Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
Matthew Kennedy 1505e722eb Add "Reset ECU" button (#857)
* add reset button

* fix signed/unsigned bug

* goodbye degree symbols
2019-06-23 09:18:54 -04:00
rusefi 0b843819eb TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi d90c6ee1a3 Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi fb36ef4708 removing dead code related to text to binary switch 2019-06-15 19:46:42 -04:00
rusefi 8575e2f4d2 refactoring 2019-05-27 18:58:43 -04:00
andreika-git 20b6a17695 EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes (#793)
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE

* Impl. EFI_CONSOLE_UART_DEVICE

* Move flash source files to ports/stm32/ & hw_ports.mk

* Fix TLE6240

* Fix EFI_NO_CONFIG_WORKING_COPY

* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
rusefi c0d27913e2 electrical noise during tuning ETB causes full tune reset fix #775 2019-04-25 22:28:46 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi acf1216ab0 rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi 7807651412 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
sweet progress!
2019-04-01 14:18:21 -04:00
rusefi 1c1216cb53 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 12:11:57 -04:00
rusefi 05c70b1a9f The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
few lines of dead code
2019-04-01 11:39:25 -04:00
andreika-git 97191fda08 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi 24e6f13d6a TS command to reset firmware 2019-03-12 20:33:13 -04:00
rusefi d37c5c54a2 idle bench test from TS 2019-01-13 19:41:39 -05:00
rusefi 937b78718e warning code refactoring related to
Question: something strange trigger errors #662
2019-01-11 09:58:48 -05:00
rusefi 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
Matthew Kennedy 2575252334 TunerStudio Cleanup (#649)
* TS cleanup

* remove fl_protocol

* fix build
2019-01-05 07:55:21 -05:00
rusefi 4868a9fd82 refactoring 2018-09-16 22:25:17 -04:00
rusEfi 9e78fcfc7e minor bugfix: periodic version status message via TTL 2018-04-01 23:49:57 -04:00
rusefi 3f4075b4d5 #365 2018-01-24 15:08:10 -05:00
rusefi 0b0f9efa3a Feature 463 (#464)
* #463

* #463

* default .LD filename

* #463

* fixing start-up by disabling LSE until rusEfi patch is applied

* simulator compiles now

* latest ChibiOS 17 with FatFS 0.13
2018-01-23 21:17:30 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00