HOWTO Update Firmware¶
Download the rusEFI bundle for your hardware.
Launch rusEFI Console. You can find it in the bundle you downloaded, in the "console" folder.
Click the "Update Firmware" button once you've picked desired update mode.
The canonical way to update the firmware on Linux is with DFU.
You will need dfu-util:
sudo apt install dfu-util
sudo pacman -Syu dfu-util
Once you have dfu-util, you can run this from the extracted bundle directory:
java -jar console/rusefi_console.jar reboot_dfu
dfu-util -a 0 -D rusefi.dfu
Q: I got "DRIVER ERROR"
A: in rusEFI console please hit "Device Manager". When ECU gets into DFU mode (blue LED stops blinking) you are expected to see "STM32 Bootloader" device. If you see "STM device in DFU mode" please uninstall it and remove old driver.
For more about DFU see HOWTO-DFU
ST-LINK is an advanced mode of firmware update which requires ST-LINK device, either external, or built-in like on Discovery/Nucleo board.
Update TunerStudio Definition¶
Once you have updated your firmware, you also need to update your TunerStudio definition so it is able to communicate properly.
You can find the .ini file in the USB storage device that rusEFI board presents to your computer, or in the rusEFI bundle. The former is preferable, as it ensures that you have the correct version for the firmware that is installed on your board.