Andrey
41ec764617
refactoring
2021-07-13 20:10:31 -04:00
Matthew Kennedy
2eb0b2a631
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -04:00
Andrey
24131cdc0e
s/controlPin1/controlPin/
2021-06-05 16:19:01 -04:00
rusefillc
20fcaafb92
https://github.com/rusefi/hellen72/issues/25
2021-04-10 23:30:36 -04:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefi
0622917e53
xmas tree
2020-12-26 21:25:19 -05:00
rusefi
75d141f2ad
xmas tree
2020-12-26 18:59:30 -05:00
rusefi
81e7da7e2b
proteusBoardTest
2020-12-26 13:41:33 -05:00
rusefillc
1ebce57721
proteusBoardTest
2020-12-26 10:41:33 -05:00
rusefi
af6ad0757e
PROTEUS_QC_TEST_BOARD
2020-12-26 00:57:23 -05:00
rusefi
fb98a3dffc
GDI Epic #1448
2020-11-22 01:14:34 -05:00
Andrey G
8e11675afd
Tle8888 big update 1 ( #1892 )
...
* smart gpio: fix tle8888 direct pin mapping for MRE
* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888
* TLE8888: cleanup
* TLE8888: do not reset driver private data on WD/undervoltage reset
* TLE8888: diagnostic updates
* TLE8888 driver: BIG driver rework
* TLE8888: check SPI answers for abnormal states
Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed
Keep tracking last accessed register and check with the next reply.
* TLE8888: debug clean-up
* TLE8888: implement spi array write
This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS
* TLE8888: fix PP outputs in OD mode
* TLE8888: cleanup register definitions
* TLE8888: run separate driver thread for each chip instance
Calculating poll interval for few chips become more complex, avoid
this running thread for each device.
* TLE8888: fix cypress and kinetic compilation
Both platforms define its own MAX and cause redifination error if
common.h is included in driver.
* MRE: update mapping.yaml and fix direct pin mapping for TLE8888
* TLE8888: diagnnostic: disable switch off in case of overcurrent
For all output, use current limiting instead
* TLE8888: check for overvoltage on OUT8..OUT13
* TLE8888: add TODO note about how to recover from failure condition
Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.
* TLE8888: save few bytes of RAM
* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888
Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c
* TLE8888: reorder code, cleanup
* TLE8888: mode all debug/statisctic to per-chip struct
* TLE8888: rework poll interval calculation
* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
rusefillc
ba906c2cee
GDI Epic #1448
2020-10-13 00:35:04 -04:00
rusefi
fc5f47a653
QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871
2020-10-11 19:16:41 -04:00
rusefi
94a6399e56
QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871
2020-10-11 19:05:56 -04:00
rusefi
67f305f48a
microRusEFI used as Body Control Module BCM BCU
2020-09-07 17:59:59 -04:00
rusefi
52cb30f9ea
microRusEFI used as Body Control Module BCM BCU
2020-09-06 20:09:26 -04:00
rusefi
c0b0622773
microRusEFI used as Body Control Module BCM BCU
2020-09-06 19:43:54 -04:00
rusefi
6f0267fb7e
blinking more LEDs
2020-08-31 17:15:04 -04:00
rusefi
d059cb4616
blinking more LEDs
2020-08-31 14:26:34 -04:00
rusefi
c1e7c315d4
blinking more LEDs
2020-08-31 13:44:58 -04:00
rusefi
45917215f1
blinking more LEDs
2020-08-31 13:27:56 -04:00
rusefi
6f6eb0f561
BCM
2020-08-29 14:29:34 -04:00
Matthew Kennedy
6591af7e05
defaults
2020-08-02 16:21:53 -07:00
rusefi
1dab19373a
MRE 0.5.1
2020-07-04 00:02:44 -04:00
rusefi
426d4e7c0c
u9 u10
2020-05-23 10:50:32 -04:00
rusefi
db2e6ec60f
HW test progress
2020-05-21 21:45:01 -04:00
rusefi
aac7712df5
test fixture progress
2020-05-21 18:36:32 -04:00
Matthew Kennedy
1bad5f3047
don't store self stim in config ( #1356 )
...
* kill
* add bench test
* fix
2020-04-23 22:38:14 -04:00
rusefi
a11166d992
dreaming about 63 volts
2020-04-15 21:28:44 -04:00
rusefi
171cf82b7d
test pins are needed
2020-04-15 16:20:18 -04:00
rusefi
8190971fc8
mc33 fix
2020-04-14 19:36:25 -04:00
rusefi
18c5fba979
MC restart
2020-04-14 19:23:53 -04:00
rusefi
4cde884f1d
MC flag0
2020-04-13 19:01:22 -04:00
Matthew Kennedy
001ef27eb8
support ETB disable pin ( #1273 )
...
* config & hand gen
* board configs
* add dc motor support
* initialization
* also set duty to zero
* use disable in etb
* fix proteus default
* add TS fields
* I guess we needed 8 bytes
* :D
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusEfi
c35f4aa2e3
more mc33816
2020-02-25 22:38:08 -05:00
rusefi
ce2ec3d544
TEST_33816
2020-02-25 21:35:21 -05:00
rusEfi
84995652df
reviving FRANKENSO_QA_ENGINE
2020-02-18 17:53:56 -05:00
rusEfi
59eb424ba0
TLE8888 watchdog #917
...
window watchdog progress
2020-02-10 13:24:09 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
5c85d53e16
Pass action_s instead of callback/param ( #1084 )
...
* change action
* consumers
* fix test
* didn't mean to add those
* simplify
* fix simulator
* fix sim for real
* oy
* maybe this time the simulator will actually be fixed, for real
* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
rusEfi
4126262aa6
improvements around weird engine types
2019-12-28 23:26:43 -05:00
rusEfi
6e881d53b7
improvements around weird engine types
2019-12-28 23:22:16 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
3ed889486e
making things nicer with dual ETB settings
2019-11-30 17:38:33 -05:00
rusEfi
799027c2e9
all ETBs to run in same HW mode
2019-11-29 16:51:51 -05:00
rusefi
04f6913d56
MapAveragingCallback schedules all cylinders at once #974
...
saving pennies
2019-11-24 20:48:25 -05:00
rusefi
a2bee7f46b
moving setDefaultFrankensoConfiguration down is the way of righteousness
2019-11-03 19:36:56 -05:00
andreika-git
ee5ee1942c
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusEfi
dfef5748b9
pin conflict in MRE test config
2019-10-10 13:32:07 -04:00
Matthew Kennedy
faa2a481ea
Simplify thermistor config ( #962 )
...
* simplify thermistor config
* fix test
2019-10-02 21:00:10 -04:00
rusEfi
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusEfi
47bbd6ebe4
ETB progress
2019-08-31 20:17:17 -04:00
rusEfi
3851b37be6
NB2 MRE
2019-08-31 18:36:44 -04:00
rusefi
b09ab8a57f
TLE8888 should be re-initialized every time we get +12 volts fix #901
...
fuel pump test passed, also longer start-up timeout is needed for reliable start
2019-08-16 23:21:03 -04:00
rusEfi
1a1fe77ff8
MRE ETB
2019-08-15 01:59:15 -04:00
rusefi
23377516a9
making LCD great again
2019-08-13 00:03:31 -04:00
rusefi
7fa780b9e5
making LCD great again
2019-08-12 23:48:58 -04:00
rusefi
f8315fa5c2
TS refresh & better MRE test configuration
2019-08-10 16:25:42 -04:00
rusefi
074c99fab7
low side channels on MRE #900
...
this should NOT work but it works?
2019-08-10_15_19_19_770: EngineState: injection #1 @ ext:TLE8888.OUT22 led1
2019-08-10_15_19_19_771: EngineState: injection #2 @ PE10 led10
2019-08-10_15_19_19_773: EngineState: injection #3 @ PE12 led5
2019-08-10_15_19_19_774: EngineState: injection #4 @ PE14 led4
2019-08-10_15_19_19_775: EngineState: injection #5 @ ext:TLE8888.OUT24 led7
2019-08-10_15_19_19_775: EngineState: injection #6 @ PE11 led6
2019-08-10_15_19_19_777: EngineState: injection #7 @ PE9 led9
2019-08-10_15_19_19_777: EngineState: injection #8 @ PE8 led8
2019-08-10_15_19_19_779: EngineState: injection #9 @ PE13 led3
2019-08-10_15_19_19_780: EngineState: injection #10 @ ext:TLE8888.OUT23
led2
2019-08-10 15:23:41 -04:00
rusefi
4ddf0ba5a2
low side channels on MRE #900
...
getting closer but still issues
2019-08-10 14:53:57 -04:00
rusefi
ef79fb15ba
low side channels on MRE #900
...
progress - now all 10 BLINK, but two are blinking together
2019-08-10 13:45:00 -04:00
rusefi
961d6d8c5b
low side channels on MRE #900
2019-08-09 23:45:35 -04:00
rusEfi
41bde00ed4
MRE test setup
2019-08-09 21:16:27 -04:00
rusEfi
4da57da755
MRE test
2019-08-09 19:11:15 -04:00
rusefi
f0c318aafd
WTF is wrong with MRE_miata_na6 config? operationMode complexity fix #898
2019-08-08 23:11:56 -04:00
rusefi
8d14561fb9
better method name
2019-08-06 17:12:15 -04:00
rusEfi
070ebd65c6
MRE test setup
2019-08-05 23:00:35 -04:00
andreika-git
11b718adf7
Use BOARD_TLE8888_COUNT for more compatibility ( #889 )
2019-07-27 09:37:45 -04:00
rusefi
3ac83dc34e
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
2019-07-24 22:00:48 -04:00
rusefi
fc241ce665
setDefaultBoardConfiguration shouldn't have Frankenso pinout #852
...
merging methods since always invoked together
2019-07-24 21:24:39 -04:00
andreika-git
e1b00468f0
Small fix for simulator + bootloader ( #877 )
...
* fix simulator
* fix bootloader
2019-07-09 06:06:07 -04:00
andreika-git
00cf9fafe1
More portability (GPIO_F/G + auto_generated_enums) ( #876 )
...
* GPIO ports F and G are not everywhere
* auto_generated_enums path flexibility
2019-07-09 05:29:03 -04:00
rusefi
b2dece5269
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit f07f96599b
.
2019-06-30 14:28:47 -04:00
rusefi
f07f96599b
"Calibrate TPS" broken in TS fix #805
2019-06-17 22:00:34 -04:00
rusefi
7dff7a08c9
reviving tle8888 configuration
2019-06-05 22:32:30 -04:00
rusefi
e731060952
docs
2019-06-03 18:15:41 -04:00
rusefi
58f92ae30d
the future is now :)
2019-05-05 16:43:07 -04:00
rusefi
a59ac4ad0e
8888 usability
2019-05-05 12:48:04 -04:00
rusefi
d09bcad3e7
dreams of two ETBs
2019-05-05 12:02:42 -04:00
rusEfi
f5b247bb8f
tiny ETB progress
2019-05-04 11:01:05 -04:00
rusefi
d2e2f817db
ETB monte carlo keeps track of best result
2019-05-04 09:57:57 -04:00
rusefi
ac2a81d381
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
...
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi
ff641d81e2
fixing build & refactoring
2019-04-28 23:42:49 -04:00
rusEfi
7ee1090ef2
LEDs to test configs
2019-04-28 23:18:51 -04:00
rusefi
7a857ae298
ETB progress
2019-04-24 23:46:49 -04:00
rusefi
2540aebf6e
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-04-21 14:22:05 -04:00
rusefi
c096680ce6
tiny progress
2019-04-21 14:21:47 -04:00
rusefi
b19370505d
:(
2019-04-21 14:16:56 -04:00
rusefi
c802e46be0
docs
2019-04-21 14:11:39 -04:00
rusefi
5b522dc8fd
this change is probably breaking stuff, but some stuff is already broken. something is not right in too many places :(
2019-04-21 14:00:19 -04:00
rusefi
3d5338c1de
docs
2019-04-21 12:24:31 -04:00
rusefi
14f3c6ad0c
USB and TLE8888 not working for F4 or F767 #764
2019-04-21 10:13:34 -04:00
rusefi
f3a6ce0769
USB and TLE8888 not working for F4 or F767 #764
2019-04-20 23:49:26 -04:00
rusefi
73bc740967
USB and TLE8888 not working for F4 or F767 #764
...
ready to try anything
2019-04-20 18:15:05 -04:00
andreika-git
370b0dd003
Default config refactor ( #762 )
...
* Refactor config
* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
andreika-git
ffd44bf0fe
More config portability: TLE6240, Trigger_input, UART/Serial ( #759 )
...
* Add fields to UART/Serial configs
* trigger_input: can be both HAL_USE_PAL and HAL_USE_COMP
* tle6240 config: local temporary solution
* Fix for custom_engine::setFsio
* EFI_ACTIVE_CONFIGURATION_IN_FLASH
2019-04-15 08:40:12 -04:00
rusefi
2f34edb0d4
we need TLE8888 driver #714
2019-04-14 16:08:39 -04:00
rusefi
75ea5cd812
we need TLE8888 driver #714
2019-04-13 12:43:19 -04:00
rusefi
fb0bbc075c
steps towards smarter gpio
2019-04-13 12:02:34 -04:00