Error: failed to download Segment[0]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-20 8:19 PM
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!!​
​
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-21 10:12 AM
Indeed, 0x80000000 is not flash memory (should it be 0x08000000 ?)
--pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-21 10:12 AM
Indeed, 0x80000000 is not flash memory (should it be 0x08000000 ?)
--pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-21 6:19 PM
yes! im fool!!!!!!!
thanks you Pavel!!!
