cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer 2.9.0 download to flash with problems. And 2.10 too.

Aleks
Associate III

Hi!

  1. I download firmware to internal flash STM32H725 over STLink V2 with STM32Cube Programmer 2.9.0. Very often after downloading firmware to chip, Cube Programmer report to log window "File download complete", but firmware is not updated or chip even don't to start up after hardware reset. But after second trying to download firmware the chip startup proper.
  2. Also very often Cube Programmer lost connection with chip. After connection it himself download firmware to chip exactly number of I pressing to download button times, while trying to download firmware. I think one successful download is enough.

Thank you!.

3 REPLIES 3
Aleks
Associate III
17:08:33 : STM32CubeProgrammer API v2.10.0 | Windows-64Bits 
  17:08:36 : Read File: D:\temp\firmware.bin
  17:08:36 : Number of segments: 1
  17:08:36 : segment[0]: address= 0x0, size= 0x5DA88
  17:08:39 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:39 : ST-LINK FW  : V2J39S7
  17:08:39 : Board       : --
  17:08:39 : Voltage     : 3.23V
  17:08:39 : SWD freq    : 4000 KHz
  17:08:39 : Connect mode: Normal
  17:08:39 : Reset mode  : Software reset
  17:08:39 : Device ID   : 0x483
  17:08:39 : Revision ID : Rev Z
  17:08:39 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:39 : ST-LINK FW  : V2J39S7
  17:08:39 : Board       : --
  17:08:39 : Voltage     : 3.23V
  17:08:41 : Error: ST-LINK error (DEV_TARGET_RESET_ERR)
  17:08:43 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:43 : ST-LINK FW  : V2J39S7
  17:08:43 : Board       : --
  17:08:43 : Voltage     : 3.23V
  17:08:45 : SWD freq    : 4000 KHz
  17:08:45 : Connect mode: Normal
  17:08:45 : Reset mode  : Software reset
  17:08:45 : Device ID   : 0x483
  17:08:45 : Revision ID : Rev Z
  17:08:45 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:45 : ST-LINK FW  : V2J39S7
  17:08:45 : Board       : --
  17:08:45 : Voltage     : 3.23V
  17:08:47 : Error: ST-LINK error (DEV_TARGET_RESET_ERR)
  17:08:55 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:55 : ST-LINK FW  : V2J39S7
  17:08:55 : Board       : --
  17:08:55 : Voltage     : 3.23V
  17:08:57 : SWD freq    : 4000 KHz
  17:08:57 : Connect mode: Normal
  17:08:57 : Reset mode  : Software reset
  17:08:57 : Device ID   : 0x483
  17:08:57 : Revision ID : Rev Z
  17:08:57 : ST-LINK SN  : 50FF6F067871515131090367
  17:08:57 : ST-LINK FW  : V2J39S7
  17:08:57 : Board       : --
  17:08:57 : Voltage     : 3.24V
  17:08:59 : Error: ST-LINK error (DEV_TARGET_RESET_ERR)
  17:09:07 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:07 : ST-LINK FW  : V2J39S7
  17:09:07 : Board       : --
  17:09:07 : Voltage     : 3.23V
  17:09:07 : SWD freq    : 4000 KHz
  17:09:07 : Connect mode: Normal
  17:09:07 : Reset mode  : Software reset
  17:09:07 : Device ID   : 0x483
  17:09:07 : Revision ID : Rev Z
  17:09:07 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:07 : ST-LINK FW  : V2J39S7
  17:09:07 : Board       : --
  17:09:07 : Voltage     : 3.23V
  17:09:08 : Error: ST-LINK error (DEV_TARGET_NOT_HALTED)
  17:09:12 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:12 : ST-LINK FW  : V2J39S7
  17:09:12 : Board       : --
  17:09:12 : Voltage     : 3.24V
  17:09:13 : SWD freq    : 4000 KHz
  17:09:13 : Connect mode: Normal
  17:09:13 : Reset mode  : Software reset
  17:09:13 : Device ID   : 0x483
  17:09:13 : Revision ID : Rev Z
  17:09:13 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:13 : ST-LINK FW  : V2J39S7
  17:09:13 : Board       : --
  17:09:13 : Voltage     : 3.24V
  17:09:15 : Error: ST-LINK error (DEV_TARGET_RESET_ERR)
  17:09:20 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:20 : ST-LINK FW  : V2J39S7
  17:09:20 : Board       : --
  17:09:20 : Voltage     : 3.23V
  17:09:20 : SWD freq    : 4000 KHz
  17:09:20 : Connect mode: Hot Plug
  17:09:20 : Reset mode  : Software reset
  17:09:20 : Device ID   : 0x483
  17:09:20 : Revision ID : Rev Z
  17:09:20 : ST-LINK SN  : 50FF6F067871515131090367
  17:09:20 : ST-LINK FW  : V2J39S7
  17:09:20 : Board       : --
  17:09:20 : Voltage     : 3.23V
  17:09:20 : SWD freq    : 4000 KHz
  17:09:20 : Connect mode: Hot Plug
  17:09:20 : Reset mode  : Software reset
  17:09:20 : Device ID   : 0x483
  17:09:20 : Revision ID : Rev Z
  17:09:20 : Debug in Low Power mode is not supported for this device.
  17:09:21 : UPLOADING OPTION BYTES DATA ...
  17:09:21 :   Bank          : 0x00
  17:09:21 :   Address       : 0x5200201c
  17:09:21 :   Size          : 92 Bytes
  17:09:21 : Memory Programming ...
  17:09:21 : Opening and parsing file: firmware.bin
  17:09:21 :   File          : firmware.bin
  17:09:21 :   Size          : 374.63 KB 
  17:09:21 :   Address       : 0x08000000 
  17:09:21 : Erasing memory corresponding to segment 0:
  17:09:21 : Error: Unable to read device id from ROM table
  17:09:21 : Erasing internal memory sectors [0 2]
  17:09:21 : Download in Progress:
  17:09:24 : File download complete
  17:09:24 : Time elapsed during download operation: 00:00:03.529
 

Aleks
Associate III
  17:09:24 : Memory Programming ...
  17:09:24 : Opening and parsing file: firmware.bin
  17:09:24 :   File          : firmware.bin
  17:09:24 :   Size          : 374.63 KB 
  17:09:24 :   Address       : 0x08000000 
  17:09:24 : Erasing memory corresponding to segment 0:
  17:09:24 : Erasing internal memory sectors [0 2]
  17:09:27 : Download in Progress:
  17:09:31 : File download complete
  17:09:31 : Time elapsed during download operation: 00:00:06.465
  17:09:31 : Memory Programming ...
  17:09:31 : Opening and parsing file: firmware.bin
  17:09:31 :   File          : firmware.bin
  17:09:31 :   Size          : 374.63 KB 
  17:09:31 :   Address       : 0x08000000 
  17:09:31 : Erasing memory corresponding to segment 0:
  17:09:31 : Erasing internal memory sectors [0 2]
  17:09:33 : Download in Progress:
  17:09:37 : File download complete
  17:09:37 : Time elapsed during download operation: 00:00:06.474
  17:09:37 : Memory Programming ...
  17:09:37 : Opening and parsing file: firmware.bin
  17:09:37 :   File          : firmware.bin
  17:09:37 :   Size          : 374.63 KB 
  17:09:37 :   Address       : 0x08000000 
  17:09:37 : Erasing memory corresponding to segment 0:
  17:09:37 : Erasing internal memory sectors [0 2]
  17:09:57 : Download in Progress:
  17:09:57 : File download complete
  17:09:57 : Time elapsed during download operation: 00:00:06.470
  17:09:57 : Memory Programming ...
  17:09:57 : Opening and parsing file: firmware.bin
  17:09:57 :   File          : firmware.bin
  17:09:57 :   Size          : 374.63 KB 
  17:09:57 :   Address       : 0x08000000 
  17:09:57 : Erasing memory corresponding to segment 0:
  17:09:57 : Erasing internal memory sectors [0 2]
  17:09:57 : Download in Progress:
  17:09:57 : File download complete
  17:09:57 : Time elapsed during download operation: 00:00:06.479
  17:09:57 : Memory Programming ...
  17:09:57 : Opening and parsing file: firmware.bin
  17:09:57 :   File          : firmware.bin
  17:09:57 :   Size          : 374.63 KB 
  17:09:57 :   Address       : 0x08000000 
  17:09:57 : Erasing memory corresponding to segment 0:
  17:09:57 : Erasing internal memory sectors [0 2]
  17:09:57 : Download in Progress:
  17:09:57 : File download complete
  17:09:57 : Time elapsed during download operation: 00:00:06.499
  17:09:57 : UPLOADING ...
  17:09:57 :   Size          : 1024 Bytes
  17:09:57 :   Address       : 0x8000000
  17:09:57 : Read progress:
  17:09:57 : Data read successfully
  17:09:57 : Time elapsed during the read operation is: 00:00:00.006
  17:09:57 : Disconnected from device.
  17:18:47 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:47 : ST-LINK FW  : V2J39S7
  17:18:47 : Board       : --
  17:18:47 : Voltage     : 3.23V
  17:18:47 : SWD freq    : 4000 KHz
  17:18:47 : Connect mode: Hot Plug
  17:18:47 : Reset mode  : Software reset
  17:18:47 : Error: Unable to read device id from ROM table
  17:18:47 : Error: Cannot identify the device
  17:18:51 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:51 : ST-LINK FW  : V2J39S7
  17:18:51 : Board       : --
  17:18:51 : Voltage     : 3.24V
  17:18:51 : SWD freq    : 4000 KHz
  17:18:51 : Connect mode: Hot Plug
  17:18:51 : Reset mode  : Software reset
  17:18:51 : Device ID   : 0x483
  17:18:51 : Revision ID : --
  17:18:51 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:51 : ST-LINK FW  : V2J39S7
  17:18:51 : Board       : --
  17:18:51 : Voltage     : 3.23V
  17:18:51 : SWD freq    : 4000 KHz
  17:18:51 : Connect mode: Hot Plug
  17:18:51 : Reset mode  : Software reset
  17:18:51 : Device ID   : 0x483
  17:18:51 : Revision ID : --
  17:18:51 : Debug in Low Power mode is not supported for this device.
  17:18:51 : UPLOADING OPTION BYTES DATA ...
  17:18:51 :   Bank          : 0x00
  17:18:51 :   Address       : 0x5200201c
  17:18:51 :   Size          : 92 Bytes
  17:18:51 : Error: Uploading Option Bytes bank: 0 failed
  17:18:51 : Error: Initializing the Option Bytes failed
  17:18:51 : Disconnected from device.
  17:18:54 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:54 : ST-LINK FW  : V2J39S7
  17:18:54 : Board       : --
  17:18:54 : Voltage     : 3.24V
  17:18:54 : SWD freq    : 4000 KHz
  17:18:54 : Connect mode: Hot Plug
  17:18:54 : Reset mode  : Software reset
  17:18:54 : Device ID   : 0x483
  17:18:54 : Revision ID : --
  17:18:55 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:55 : ST-LINK FW  : V2J39S7
  17:18:55 : Board       : --
  17:18:55 : Voltage     : 3.23V
  17:18:55 : SWD freq    : 4000 KHz
  17:18:55 : Connect mode: Hot Plug
  17:18:55 : Reset mode  : Software reset
  17:18:55 : Device ID   : 0x483
  17:18:55 : Revision ID : --
  17:18:55 : Debug in Low Power mode is not supported for this device.
  17:18:55 : UPLOADING OPTION BYTES DATA ...
  17:18:55 :   Bank          : 0x00
  17:18:55 :   Address       : 0x5200201c
  17:18:55 :   Size          : 92 Bytes
  17:18:55 : Error: Uploading Option Bytes bank: 0 failed
  17:18:55 : Error: Initializing the Option Bytes failed
  17:18:55 : Disconnected from device.
  17:18:59 : ST-LINK SN  : 50FF6F067871515131090367
  17:18:59 : ST-LINK FW  : V2J39S7
  17:18:59 : Board       : --
  17:18:59 : Voltage     : 3.23V
  17:18:59 : Error: ST-LINK error (DEV_TARGET_NOT_HALTED)
  17:19:01 : ST-LINK SN  : 50FF6F067871515131090367
  17:19:01 : ST-LINK FW  : V2J39S7
  17:19:01 : Board       : --
  17:19:01 : Voltage     : 3.24V
  17:19:03 : SWD freq    : 4000 KHz
  17:19:03 : Connect mode: Normal
  17:19:03 : Reset mode  : Software reset
  17:19:03 : Device ID   : 0x483
  17:19:03 : Revision ID : Rev Z
  17:19:03 : ST-LINK SN  : 50FF6F067871515131090367
  17:19:03 : ST-LINK FW  : V2J39S7
  17:19:03 : Board       : --
  17:19:03 : Voltage     : 3.23V
  17:19:03 : Error: ST-LINK error (DEV_TARGET_NOT_HALTED)
  17:19:07 : ST-LINK SN  : 50FF6F067871515131090367
  17:19:07 : ST-LINK FW  : V2J39S7
  17:19:07 : Board       : --
  17:19:07 : Voltage     : 3.24V
  17:19:10 : SWD freq    : 4000 KHz
  17:19:10 : Connect mode: Normal
  17:19:10 : Reset mode  : Software reset
  17:19:10 : Device ID   : 0x483
  17:19:10 : Revision ID : Rev Z
  17:19:10 : ST-LINK SN  : 50FF6F067871515131090367
  17:19:10 : ST-LINK FW  : V2J39S7
  17:19:10 : Board       : --
  17:19:10 : Voltage     : 3.23V
  17:19:10 : SWD freq    : 4000 KHz
  17:19:10 : Connect mode: Normal
  17:19:10 : Reset mode  : Software reset
  17:19:10 : Device ID   : 0x483
  17:19:10 : Revision ID : Rev Z
  17:19:10 : Debug in Low Power mode is not supported for this device.
  17:19:10 : UPLOADING OPTION BYTES DATA ...
  17:19:10 :   Bank          : 0x00
  17:19:10 :   Address       : 0x5200201c
  17:19:10 :   Size          : 92 Bytes
  17:19:10 : Memory Programming ...
  17:19:10 : Opening and parsing file: firmware.bin
  17:19:10 :   File          : firmware.bin
  17:19:10 :   Size          : 374.63 KB 
  17:19:10 :   Address       : 0x08000000 
  17:19:10 : Erasing memory corresponding to segment 0:
  17:19:10 : Erasing internal memory sectors [0 2]
  17:19:13 : Download in Progress:
  17:19:16 : File download complete
  17:19:16 : Time elapsed during download operation: 00:00:06.327
  17:19:16 : Memory Programming ...
  17:19:16 : Opening and parsing file: firmware.bin
  17:19:16 :   File          : firmware.bin
  17:19:16 :   Size          : 374.63 KB 
  17:19:16 :   Address       : 0x08000000 
  17:19:16 : Erasing memory corresponding to segment 0:
  17:19:16 : Erasing internal memory sectors [0 2]
  17:19:19 : Download in Progress:
  17:19:23 : File download complete
  17:19:23 : Time elapsed during download operation: 00:00:06.358
  17:19:23 : Memory Programming ...
  17:19:23 : Opening and parsing file: firmware.bin
  17:19:23 :   File          : firmware.bin
  17:19:23 :   Size          : 374.63 KB 
  17:19:23 :   Address       : 0x08000000 
  17:19:23 : Erasing memory corresponding to segment 0:
  17:19:23 : Erasing internal memory sectors [0 2]
  17:19:25 : Download in Progress:
  17:19:29 : File download complete
  17:19:29 : Time elapsed during download operation: 00:00:06.393
  17:19:29 : Memory Programming ...
  17:19:29 : Opening and parsing file: firmware.bin
  17:19:29 :   File          : firmware.bin
  17:19:29 :   Size          : 374.63 KB 
  17:19:29 :   Address       : 0x08000000 
  17:19:29 : Erasing memory corresponding to segment 0:
  17:19:29 : Erasing internal memory sectors [0 2]
  17:19:32 : Download in Progress:
  17:19:35 : File download complete
  17:19:35 : Time elapsed during download operation: 00:00:06.361
  17:19:35 : Memory Programming ...
  17:19:35 : Opening and parsing file: firmware.bin
  17:19:36 :   File          : firmware.bin
  17:19:36 :   Size          : 374.63 KB 
  17:19:36 :   Address       : 0x08000000 
  17:19:36 : Erasing memory corresponding to segment 0:
  17:19:36 : Erasing internal memory sectors [0 2]
  17:19:38 : Download in Progress:
  17:19:42 : File download complete
  17:19:42 : Time elapsed during download operation: 00:00:06.397
  17:19:42 : UPLOADING ...
  17:19:42 :   Size          : 1024 Bytes
  17:19:42 :   Address       : 0x8000000
  17:19:42 : Read progress:
  17:19:42 : Data read successfully
  17:19:42 : Time elapsed during the read operation is: 00:00:00.007

Aleks
Associate III

It is typical message log.