cancel
Showing results for 
Search instead for 
Did you mean: 

Error: failed to download Segment[0]

JPark.20
Associate II

HI, ST

​

Im trying to fw update using MFC Tool, STM32_Programmer_CLI.exe.

​

first, i checked that the fw download operation was completed using Terminal.

so, I makeed the mfc tool in the way the terminal works in the background and checked the fw download works, but it doesn't work well.

​

this is the output on Debug message(using TRACE()):

​

[command : STM32_Programmer_CLI.exe -c port=usb1 -d C:\TEST\TEST.bin 0x08000000]

​

​

​   -------------------------------------------------------------------

            STM32CubeProgrammer v2.5.0          

   -------------------------------------------------------------------

​

​

​

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : STM32 BOOTLOADER

SN     : 205530724352

FW version : 0x011a

Device ID  : 0x0470

Device name : STM32L4Rxxx/STM32L4Sxxx

Flash size : 2 MBytes (default)

Device type : MCU

Device CPU : Cortex-M4

​

​

​

Memory Programming ...

Opening and parsing file: TEST.bin

 File     : TEST.bin

 Size     : 645823 Bytes

 Address    : 0x80000000 

​

​

Erasing memory corresponding to segment 0:

Not flash Memory : No erase done

Download in Progress:

 0%

​

​

Error: failed to download Segment[0]

Error: failed to download the File

​---------------------------------------------------------------------------------------------------------------------------------------

​

it doesn't seem to be working from erasing memory before updating. (likewise, '--skipperase')

​

I appeciate any comment or suggestions

​

thanks you!!​

​

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Super User

Indeed, 0x80000000 is not flash memory (should it be 0x08000000 ?)

--pa

View solution in original post

2 REPLIES 2
Pavel A.
Super User

Indeed, 0x80000000 is not flash memory (should it be 0x08000000 ?)

--pa

yes! im fool!!!!!!!

thanks you Pavel!!!