Skip to content

Commit

Permalink
move flashing troubleshooting (#268)
Browse files Browse the repository at this point in the history
* move flashing troubleshooting

to keep the flashing guide tidy for the time being
eventually we should acknowledge OpenBLT in the regular flashing guide flow

* fix link
  • Loading branch information
nmschulte committed May 26, 2024
1 parent e214ae6 commit d18ad3b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 24 deletions.
26 changes: 2 additions & 24 deletions docs/02-Intro-Start-Here/04-HT-Updating-The-Firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,6 @@ as shown here) to load the preset for your vehicle (**not the button to *Reset f
Once the preset has been loaded, you can either start tuning or load your tune from the older firmware versions under
*File > Load Tune (msq)*. After that, the update is complete!

## Troubleshooting updates prior to release FOME 2312
## Troubleshooting and Other Notes

If an error persist during the DFU update for release 2312 a manual driver update may be required.

When the FOMEconsole prompts with a ConfigManagerErrorCode=28 proceed by opening Device Manager. Look for the following device "STM32 BOOTLOADER" It may be under 'Other Devices'.

![image](Updating-FW/stm32drivererror.png)

Right click STM32 BOOTLOADER and select 'Update Drivers'

![image](Updating-FW/updatedriver.png)

Select 'Browse my computer for drivers' and proceed to Browse and have windows update the drivers for STM32 BOOTLOADER by directing it to 'Drivers/silent_st_drivers/'

Proceed to unplug the ECU and retry the install. If another DFU update error persist such as "Data mismatch found at address" or "looks like ECU didn't reboot to OpenBLT"

![image](Updating-FW/datamismatcherror.png)

Proceed to unplug the ECU and retry the install. At this point, the FOME console should have detected the ECU as OpenBLT Bootloader. Proceed by updating the firmware "Manual OpenBLT Update"

![image](Updating-FW/openblt.png)

If prompted with Update completed successfully, proceed with power cycle. From this release onwards the ECU can be updated using OpenBLT and should not require any manual driver installs.

![image](Updating-FW/openbltsuccess.png)
See the [Flashing Software Notes](/Hardware/Flashing-Software-Notes) page for troubleshooting and other flashing notes.
28 changes: 28 additions & 0 deletions docs/09-Hardware/Flashing-Software-Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,31 @@ To erase a device, use the following invocation:
```sh
dfu-util -v -d 0483:df11 -a 0 -s :mass-erase:force
```

## Troubleshooting updates prior to release FOME 2312

If an error occurs during the DFU update for release 2312 a manual driver update may be required. This may be the case if the ECU is not yet using the OpenBLT bootloader implementation.

When FOME console prompts with a "ConfigManagerErrorCode=28", proceed by opening Device Manager. Look for the device named "STM32 BOOTLOADER"; it may be under "Other Devices".

![image](Flashing-Notes/stm32drivererror.png)

Right click the STM32 BOOTLOADER device and select "Update driver" from the context menu.

![image](Flashing-Notes/updatedriver.png)

Select "Browse my computer for drivers" and proceed to browse and have Windows update the drivers for STM32 BOOTLOADER by directing it to "../drivers/silent_st_drivers/" directory, which is extracted from the ".../drivers/silent_st_drivers2.exe" archive.

Then, unplug the ECU and retry the firmware udpate from FOME console.

Other DFU update errors may occur, such as "Data mismatch found at address" or "looks like ECU didn't reboot to OpenBLT."

![image](Flashing-Notes/datamismatcherror.png)

Again, unplug the ECU and retry the firmware update. At this point, FOME console should have detected the ECU as "OpenBLT Bootloader". Proceed by updating the firmware via "Manual OpenBLT Update."

![image](Flashing-Notes/openblt.png)

If prompted with "Update completed successfully!", proceed by power cycling the ECU. From this release onwards the ECU can be updated using OpenBLT and should not require any manual driver installs.

![image](Flashing-Notes/openbltsuccess.png)

0 comments on commit d18ad3b

Please sign in to comment.