Associate II
March 9, 2020
Question
Fatal Bug: STM32CubeProgrammer 2.4.0 CLI, Upload size is bigger than flash memory size
- March 9, 2020
- 5 replies
- 2222 views
Hi,
when I'm trying to read the content of the internal flash memory via internal UART DFU bootloader STM32CubeProgrammer 2.4.0 CLI reports the following fatal error:
> .\bin\STM32_Programmer_CLI.exe -c port=COM3 br=57600 P=EVEN db=8 sb=1 -u 0x8000000 0x400 test.hex
-------------------------------------------------------------------
STM32CubeProgrammer v2.4.0
-------------------------------------------------------------------
Serial Port COM3 is successfully opened.
Port configuration: parity = even, baudrate = 57600, data-bit = 8,
stop-bit = 1.0, flow-control = off
Activating device: OK
Chip ID: 0x410
BootLoader protocol version: 2.2
Device name : STM32F101/F102/F103 Medium-density
Flash size : 128 KBytes (default)
Device type : MCU
Device CPU : Cortex-M3
UPLOADING ...
File : test.hex
Size : 1024 Bytes
Address: : 0x8000000
Read progress:
Error: Upload size is bigger than flash memory size.This happens for all sizes, except 0 Bytes.
Using the STM32CubeProgrammer GUI works as expected.
I tried with a STM32F103C8T6 and a STM32F407VGT.
My system:
- Windows 10 1903 x64
- STM32CubeProgrammer 2.4.0 CLI
Best regards!
