From d18ad3bc323000043d71f90f88d233f61b13e83d Mon Sep 17 00:00:00 2001 From: Nathan Schulte <8540239+nmschulte@users.noreply.github.com> Date: Sat, 25 May 2024 19:04:34 -0500 Subject: [PATCH] move flashing troubleshooting (#268) * 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 --- .../04-HT-Updating-The-Firmware.md | 26 ++-------------- .../Flashing-Notes}/datamismatcherror.png | Bin .../Flashing-Notes}/openblt.png | Bin .../Flashing-Notes}/openbltsuccess.png | Bin .../Flashing-Notes}/stm32drivererror.png | Bin .../Flashing-Notes}/updatedriver.png | Bin docs/09-Hardware/Flashing-Software-Notes.md | 28 ++++++++++++++++++ 7 files changed, 30 insertions(+), 24 deletions(-) rename docs/{02-Intro-Start-Here/Updating-FW => 09-Hardware/Flashing-Notes}/datamismatcherror.png (100%) rename docs/{02-Intro-Start-Here/Updating-FW => 09-Hardware/Flashing-Notes}/openblt.png (100%) rename docs/{02-Intro-Start-Here/Updating-FW => 09-Hardware/Flashing-Notes}/openbltsuccess.png (100%) rename docs/{02-Intro-Start-Here/Updating-FW => 09-Hardware/Flashing-Notes}/stm32drivererror.png (100%) rename docs/{02-Intro-Start-Here/Updating-FW => 09-Hardware/Flashing-Notes}/updatedriver.png (100%) diff --git a/docs/02-Intro-Start-Here/04-HT-Updating-The-Firmware.md b/docs/02-Intro-Start-Here/04-HT-Updating-The-Firmware.md index e888691..24c3347 100644 --- a/docs/02-Intro-Start-Here/04-HT-Updating-The-Firmware.md +++ b/docs/02-Intro-Start-Here/04-HT-Updating-The-Firmware.md @@ -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. diff --git a/docs/02-Intro-Start-Here/Updating-FW/datamismatcherror.png b/docs/09-Hardware/Flashing-Notes/datamismatcherror.png similarity index 100% rename from docs/02-Intro-Start-Here/Updating-FW/datamismatcherror.png rename to docs/09-Hardware/Flashing-Notes/datamismatcherror.png diff --git a/docs/02-Intro-Start-Here/Updating-FW/openblt.png b/docs/09-Hardware/Flashing-Notes/openblt.png similarity index 100% rename from docs/02-Intro-Start-Here/Updating-FW/openblt.png rename to docs/09-Hardware/Flashing-Notes/openblt.png diff --git a/docs/02-Intro-Start-Here/Updating-FW/openbltsuccess.png b/docs/09-Hardware/Flashing-Notes/openbltsuccess.png similarity index 100% rename from docs/02-Intro-Start-Here/Updating-FW/openbltsuccess.png rename to docs/09-Hardware/Flashing-Notes/openbltsuccess.png diff --git a/docs/02-Intro-Start-Here/Updating-FW/stm32drivererror.png b/docs/09-Hardware/Flashing-Notes/stm32drivererror.png similarity index 100% rename from docs/02-Intro-Start-Here/Updating-FW/stm32drivererror.png rename to docs/09-Hardware/Flashing-Notes/stm32drivererror.png diff --git a/docs/02-Intro-Start-Here/Updating-FW/updatedriver.png b/docs/09-Hardware/Flashing-Notes/updatedriver.png similarity index 100% rename from docs/02-Intro-Start-Here/Updating-FW/updatedriver.png rename to docs/09-Hardware/Flashing-Notes/updatedriver.png diff --git a/docs/09-Hardware/Flashing-Software-Notes.md b/docs/09-Hardware/Flashing-Software-Notes.md index 2b91e9e..2c6d559 100644 --- a/docs/09-Hardware/Flashing-Software-Notes.md +++ b/docs/09-Hardware/Flashing-Software-Notes.md @@ -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)