FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
43 stars 22 forks source link

DFU update does not work even once DLL is added #322

Closed rusefillc closed 8 months ago

rusefillc commented 8 months ago
Console version 20230220
Windows 10.0
Bundle fome.release_2312.f407-discovery
Executing 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 .\STM32_Programmer_CLI/bin/STM32_Programmer_CLI.exe -c port=usb1 -w "C:\stuff\bundles\fome_f407-discovery\fome.release_2312.f407-discovery\console\..\fome.bin" 0x08000000 -v -s
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.14.0                  
      -------------------------------------------------------------------

USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : STM32  BOOTLOADER
SN          : 206737645746
DFU protocol: 1.1
Board       : --
Device ID   : 0x0413
Device name : STM32F405xx/F407xx/F415xx/F417xx
Flash size  : 1 MBytes (default)
Device type : MCU
Revision ID : --  
Device CPU  : Cortex-M4

Memory Programming ...
Opening and parsing file: fome.bin
  File          : fome.bin
  Size          : 658.14 KB 
  Address       : 0x08000000 

Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
erasing sector 0000 @: 0x08000000 done
File segment @0x08000000 is not 255-bytes aligned. It will be aligned to @0x07FFFFF8
Download in Progress:
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%

Error: failed to download Segment[0]
Error: failed to download the File
ERROR: does not look like DFU has worked!
Devices: OK         USBDevice       STM32  BOOTLOADER                                                                USB\VID_...
1006 / 0
mck1117 commented 8 months ago

fixed in #324