Problem updating firmware on new uaEFI

Post Reply
Automate
Posts: 17
Joined: Mon Jun 23, 2025 1:58 pm

Problem updating firmware on new uaEFI

Post by Automate »

Gettting the following

Console version 20250615
Windows 10 10.0
Bundle BundleInfo{branchName='master', target='uaefi'}
Console version 20250615
Windows 10 10.0
Bundle BundleInfo{branchName='master', target='uaefi'}
Suspending port scanning...
Port scanning is suspended.
Connecting to port `COM8`...
Performing action on port COM8...
Received a signature rusEFI master.2025.06.05.uaefi.3565673735
Page size is 23804
Reading current calibrations...
Backing up current ini-file `C:\Users\...\.rusEFI\ini_database\3565673735.ini`...
`3565673735.ini` ini-file is backed up as `state/2025-33-12-11.33.53_prev_calibrations.ini`
Backing up calibrations to files `state/2025-33-12-11.33.53_prev_calibrations.zip` and `state/2025-33-12-11.33.53_prev_calibrations.msq`...
Calibrations are backed up to files `state/2025-33-12-11.33.53_prev_calibrations.zip` and `state/2025-33-12-11.33.53_prev_calibrations.msq`
Resuming port scanning...
Port scanning is resumed.
Using selected COM8

Reboot command [reboot_dfu] sent into serial=COM8!

Giving time for USB enumeration...
Executing command=wmic path win32_pnpentity where "Caption like '%STM32%' and Caption like '%Bootloader%'" get Caption,ConfigManagerErrorCode /format:list




Caption=STM32 BOOTLOADER

ConfigManagerErrorCode=0







Caption=STM32 BOOTLOADERConfigManagerErrorCode=0

Executing command=.\STM32_Programmer_CLI/bin/STM32_Programmer_CLI.exe -c port=usb1 -w "C:\RusEFI\console\..\rusefi.bin" 0x08000000 -v -s
-------------------------------------------------------------------
STM32CubeProgrammer v2.18.0
-------------------------------------------------------------------



USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 BOOTLOADER
SN : 315633663333
DFU protocol: 1.1
Board : --
Device ID : unknown
Warning: Device is under Read Out Protection or Target is held under reset
Error: a read Operation failed, please check if any memory protection mechanism is active.

ERROR: does not look like DFU has worked!
Devices: OK USBDevice STM32 BOOTLOADER USB\VID_...
556 / 0
hint: error state is already in your clipboard, please use PASTE or Ctrl-V while reporting issues
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Problem updating firmware on new uaEFI

Post by AndreyB »

At least two things are happening here:
* just improved https://github.com/rusefi/rusefi/issues/8286 try again in 15 minutes once new snapshot is build
* I do not have an explanation for https://github.com/rusefi/rusefi/issues/8287
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Automate
Posts: 17
Joined: Mon Jun 23, 2025 1:58 pm

Re: Problem updating firmware on new uaEFI

Post by Automate »

Seemed to default to DFU again and failed. So I manually selected OpenBLT and it seemed to update but then got errors at the end, including a java error.

Thanks for the help
image.png
image.png
Console version 20250713
Windows 10 10.0
Bundle BundleInfo{branchName='development', target='uaefi'}
Console version 20250713
Windows 10 10.0
Bundle BundleInfo{branchName='development', target='uaefi'}
Suspending port scanning...
Port scanning is suspended.
Connecting to port `COM8`...
Performing action on port COM8...
Received a signature rusEFI master.2025.06.05.uaefi.3565673735
Page size is 23804
Reading current calibrations...
Backing up current ini-file `C:\Users\...\.rusEFI\ini_database\3565673735.ini`...
`3565673735.ini` ini-file is backed up as `state/2025-25-13-08.25.58_prev_calibrations.ini`
Backing up calibrations to files `state/2025-25-13-08.25.58_prev_calibrations.zip` and `state/2025-25-13-08.25.58_prev_calibrations.msq`...
Calibrations are backed up to files `state/2025-25-13-08.25.58_prev_calibrations.zip` and `state/2025-25-13-08.25.58_prev_calibrations.msq`
Resuming port scanning...
Port scanning is resumed.
Using selected COM8

Reboot command [reboot_openblt] sent into serial=COM8!

Waiting for ECU on port COM8 (ECU w/ BL) to reboot to OpenBlt for up to 60 seconds.............
Waiting for new OpenBlt port to appear...............................
Serial port COM9 appeared, programming firmware...
flashSerial ..\rusefi_update.srec
Phase: Load firmware file
Phase: Start session
Phase: Erase
Progress: 5%
Progress: 10%
Progress: 15%
Progress: 20%
Progress: 25%
Progress: 30%
Progress: 35%
Progress: 41%
Progress: 46%
Progress: 51%
Progress: 56%
Progress: 61%
Progress: 66%
Progress: 71%
Progress: 77%
Progress: 82%
Progress: 87%
Progress: 92%
Progress: 97%
Progress: 100%
Phase: Program
Progress: 0%
Progress: 1%
Progress: 2%
Progress: 3%
Progress: 4%
Progress: 5%
Progress: 6%
Progress: 7%
Progress: 8%
Progress: 9%
Progress: 10%
Progress: 11%
Progress: 12%
Progress: 13%
Progress: 14%
Progress: 15%
Progress: 16%
Progress: 17%
Progress: 18%
Progress: 19%
Progress: 20%
Progress: 21%
Progress: 22%
Progress: 23%
Progress: 24%
Progress: 25%
Progress: 26%
Progress: 27%
Progress: 28%
Progress: 29%
Progress: 30%
Progress: 31%
Progress: 32%
Progress: 33%
Progress: 34%
Progress: 35%
Progress: 36%
Progress: 37%
Progress: 38%
Progress: 39%
Progress: 40%
Progress: 41%
Progress: 42%
Progress: 43%
Progress: 44%
Progress: 45%
Progress: 46%
Progress: 47%
Progress: 48%
Progress: 49%
Progress: 50%
Progress: 51%
Progress: 52%
Progress: 53%
Progress: 54%
Progress: 55%
Progress: 56%
Progress: 57%
Progress: 58%
Progress: 59%
Progress: 60%
Progress: 61%
Progress: 62%
Progress: 63%
Progress: 64%
Progress: 65%
Progress: 66%
Progress: 67%
Progress: 68%
Progress: 69%
Progress: 70%
Progress: 71%
Progress: 72%
Progress: 73%
Progress: 74%
Progress: 75%
Progress: 76%
Progress: 77%
Progress: 78%
Progress: 79%
Progress: 80%
Progress: 81%
Progress: 82%
Progress: 83%
Progress: 84%
Progress: 85%
Progress: 86%
Progress: 87%
Progress: 88%
Progress: 89%
Progress: 90%
Progress: 91%
Progress: 92%
Progress: 93%
Progress: 94%
Progress: 95%
Progress: 96%
Progress: 97%
Progress: 98%
Progress: 99%
Progress: 100%
Update completed successfully!
Phase: Cleanup
Suspending port scanning...
Port scanning is suspended.
Connecting to port `COM8`...
Failed to connect to port COM8 in a minute
Resuming port scanning...
Port scanning is resumed.
Failed to back up updated calibrations...
You do not have the required permissions to view the files attached to this post.
Automate
Posts: 17
Joined: Mon Jun 23, 2025 1:58 pm

Re: Problem updating firmware on new uaEFI

Post by Automate »

Problem seemed to be tied to Read Out Protection on the MCU. Removed that with STM32CubeProgrammer.
Post Reply