rusefi_documentation/HOWTO-Update-Firmware.md

62 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

# HOWTO Update Firmware
Disconnect it from the vehicle. Use caution.
<!-- this URL is hard-coded in rusEFI console splash screen MAKE SURE NOT TO RENAME -->
2020-05-07 17:09:23 -07:00
2023-01-02 11:22:23 -08:00
[Download the rusEFI bundle](Download) for your hardware.
## Windows
2020-05-07 17:09:23 -07:00
Launch [rusEFI Console](Console). You can find it in the bundle you downloaded, in the "console" folder.
2020-05-07 17:09:23 -07:00
Click the "Update Firmware" button once you've picked desired update mode.
2023-01-02 11:22:23 -08:00
## Linux
The canonical way to update the firmware on Linux is with DFU.
You will need dfu-util:
2023-01-02 11:22:23 -08:00
```shell
# Debian/Ubuntu
sudo apt install dfu-util
# Arch/Manjaro
sudo pacman -Syu dfu-util
```
Once you have dfu-util, you can run this from the extracted bundle directory:
```shell
java -jar console/rusefi_console.jar reboot_dfu
dfu-util -a 0 -D rusefi.dfu
```
## FAQ
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.
Bad
![x](https://user-images.githubusercontent.com/7377949/76368499-dbfd8500-6306-11ea-9aff-823b22b46283.png)
Good
![x](https://user-images.githubusercontent.com/568254/76368785-90d77800-62ee-11ea-8fc1-bf03165909b7.png)
## More Information
For more about DFU see [HOWTO-DFU](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.
2021-07-17 14:43:56 -07:00
## Update TunerStudio Definition
Once you have updated your firmware, you also need to update your TunerStudio definition so it is able to communicate properly. Happy installation of TunerStudio would download current .ini file automatically!
2021-07-17 14:43:56 -07:00
If you chose to go more manually you can find the .ini file in the USB storage device that rusEFI board presents to your computer, or in the [rusEFI bundle](Download).