Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions firmware/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ or
- Instant RPM is now used automatically on triggers with 24 or more teeth per engine cycle (a 12 tooth crank wheel or better), instead of only when "Always use instant RPM" was enabled. RPM, and everything derived from it, now responds within a fraction of an engine cycle instead of once per cycle. The setting remains, and now forces instant RPM on triggers with fewer teeth than that.

### Fixed
- Applying an engine preset no longer performs the flash burn while holding the configuration critical section, preventing a fault on STM32H7 ECUs when the flash driver sleeps.
- Changing or clearing the MAP 2, MAF, MAF 2 or fuel level sensor input no longer leaves the sensor reading its old pin (and the pin claimed) until the ECU is rebooted. MAF and fuel level input changes now take effect immediately, like other analog sensors
- STM32F7 dual-bank ECUs no longer stall (potentially stopping the engine) when burning configuration with the engine running - configuration is now committed to flash when the engine is stopped #776
- SD card log field names now include their category prefix (e.g. `Boost: Target` instead of just `Target`), matching the names shown in TunerStudio
Expand Down
6 changes: 4 additions & 2 deletions firmware/controllers/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,13 @@ void setEngineType(engine_type_e value) {
engineConfiguration->engineType = value;
resetConfigurationExt(value);
engine->resetEngineSnifferIfInTestMode();
}

#if EFI_INTERNAL_FLASH
writeToFlashNow();
// H7 flash operations sleep while the other bank remains executable.
// Finish the configuration critical section before entering the driver.
writeToFlashNow();
#endif // EFI_INTERNAL_FLASH
}

incrementGlobalConfigurationVersion();
#if !EFI_UNIT_TEST
Expand Down
Loading