cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to programming STM32F407VET6 with command line interface CLI with V2.3.0, it worked with V2.2.0

WBoei.1
Associate

commandline is:

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe -c port=COM9 br=115200 -q -log %logfile% -w %hexfile% -v -g 0x08000000

Is there a solution?

LOG for V2.3.0

16:07:44:325 Device name : STM32F405xx/F407xx/F415xx/F417xx

16:07:44:325 Sending Read command and its XOR:

16:07:44:325 byte 0x11 sent successfully to target

16:07:44:341 byte 0xEE sent successfully to target

16:07:44:341 Wait ends after 1 loop, dataready = 1, delay = 0

16:07:44:341 Received response from target: 0x79

16:07:44:341 Sending Read address and its checksum:

16:07:44:341 data sent successfully to target: 0x1ffff7ccdb

16:07:44:341 Wait ends after 1 loop, dataready = 1, delay = 0

16:07:44:341 Received response from target: 0x79

16:07:44:341 Sending number of bytes to be read - 1 and its checksum:

16:07:44:341 data sent successfully to target: 0x03fc

16:07:44:341 Received response from target: 0x1f

16:07:44:341

Response received from device: NACK

16:07:44:341

16:07:44:341 Error: Number of bytes to be be read at address: 0x1FFFF7CC not acknowledged!

16:07:44:341 failed to read the requested memory content

16:07:44:341 Could not read flash size at address 0x1ffff7cc

LOG for V2.2.0

14:50:52:908 Device name : STM32F405xx/F407xx/F415xx/F417xx

14:50:52:908 Device type : MCU

14:50:52:908 Device CPU : Cortex-M4

14:50:52:908

14:50:52:908 byte 0x11 sent successfully to target

14:50:52:908 byte 0xEE sent successfully to target

14:50:52:908 data sent successfully to target: 0x0800000008

14:50:52:908 byte 0x00 sent successfully to target

14:50:52:908 byte 0xFF sent successfully to target

14:50:52:924

14:50:52:924 Memory Programming ...

1 REPLY 1
Khouloud ZEMMELI
ST Employee

​Hi @WBoei.1​ ,

This will be internally checked.

Best Regards,

Khouloud