2020-03-09 02:51 AM
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:
Best regards!
2020-03-12 07:47 AM
Hello @eGDY2CVw4jwV
Thanks for the feedback,
The reported problem will be reviewed by our STM32CubeProgrammer team, we will come back to you if there is any update.
Regards,
Nesrine
2020-03-18 07:56 AM
Hi @Nesrine.JLASSI ,
thank's for your reply.
If you need further information from our side don't hasitate to contact us.
Best regards
2020-10-02 05:24 AM
Same problem with STM32L010R8 (and v2.4.0)
2020-10-09 08:07 AM
Hi @SBros.1
Please try with the last STM32CubeProgrammer version 2.5.0, then tell me if it solve the issue or not.
Best regards,
Nesrine
2020-10-15 12:14 AM
Hi Nesrine
Thank you for your reply! With the new version 2.5.0 is does work.
(e.g. STM32_Programmer_CLI.exe -c port=COM5 -r 0x8000000 4096 read.hex)
:grinning_face:
Kind regards,
Steven