2024-04-08 02:24 PM
Hello,
After installing STM32CubeProgrammer v2.16, I was unable to program a STM32F412 by USB (in DFU mode).
I've never had a problem doing this and after uninstalling v2.16 and installing v2.15, everything worked fine.
This problem was also confirmed by my colleague who is in a different location.
Here is the log for v2.15:
12:22:33 : STM32CubeProgrammer API v2.15.0 | Windows-64Bits
12:22:48 : UR connection mode is defined with the HWrst reset mode
12:22:48 : USB speed : Full Speed (12MBit/s)
12:22:48 : Manuf. ID : STMicroelectronics
12:22:48 : Product ID : STM32 BOOTLOADER
12:22:48 : SN : 3141B9563238
12:22:48 : DFU protocol: 1.1
12:22:48 : Board : --
12:22:48 : Device ID : 0x0441
12:22:48 : UPLOADING OPTION BYTES DATA ...
12:22:48 : Bank : 0x00
12:22:48 : Address : 0x1fffc000
12:22:48 : Size : 16 Bytes
12:22:48 : UPLOADING ...
12:22:48 : Size : 1024 Bytes
12:22:48 : Address : 0x8000000
12:22:48 : Read progress:
12:22:48 : Data read successfully
12:22:48 : Time elapsed during the read operation is: 00:00:00.005
12:22:56 : Memory Programming ...
12:22:56 : Opening and parsing file: V125_20230420.hex
12:22:56 : File : V125_20230420.hex
12:22:56 : Size : 254.96 KB
12:22:56 : Address : 0x08000000
12:22:56 : Erasing memory corresponding to segment 0:
12:22:56 : Erasing internal memory sectors [0 4]
12:22:57 : erasing sector 0000 @: 0x08000000 done
12:22:57 : erasing sector 0001 @: 0x08004000 done
12:22:57 : erasing sector 0002 @: 0x08008000 done
12:22:58 : erasing sector 0003 @: 0x0800c000 done
12:22:59 : erasing sector 0004 @: 0x08010000 done
12:22:59 : Erasing memory corresponding to segment 1:
12:22:59 : Erasing internal memory sector 6
12:23:01 : erasing sector 0006 @: 0x08040000 done
12:23:01 : Erasing memory corresponding to segment 2:
12:23:01 : Erasing internal memory sector 7
12:23:02 : erasing sector 0007 @: 0x08060000 done
12:23:02 : Erasing memory corresponding to segment 3:
12:23:02 : Not flash Memory : No erase done
12:23:02 : Download in Progress:
12:23:07 : File download complete
12:23:07 : Time elapsed during download operation: 00:00:11.188
12:23:07 : Verifying ...
12:23:07 : Read progress:
12:23:08 : Download verified successfully
Here is the log for v2.16:
12:18:04 : STM32CubeProgrammer API v2.16.0 | Windows-64Bits
12:18:10 : UR connection mode is defined with the HWrst reset mode
12:18:10 : USB speed : Full Speed (12MBit/s)
12:18:10 : Manuf. ID : STMicroelectronics
12:18:10 : Product ID : STM32 BOOTLOADER
12:18:10 : SN : 3141B9563238
12:18:10 : DFU protocol: 1.1
12:18:10 : Board : --
12:18:10 : Device ID : 0x0441
12:18:10 : UPLOADING OPTION BYTES DATA ...
12:18:10 : Bank : 0x00
12:18:10 : Address : 0x1fffc000
12:18:10 : Size : 16 Bytes
12:18:10 : UPLOADING ...
12:18:10 : Size : 1024 Bytes
12:18:10 : Address : 0x8000000
12:18:10 : Read progress:
12:18:10 : Data read successfully
12:18:10 : Time elapsed during the read operation is: 00:00:00.004
12:18:40 : Memory Programming ...
12:18:40 : Opening and parsing file: V125_20230420.hex
12:18:40 : File : V125_20230420.hex
12:18:40 : Size : 254.96 KB
12:18:40 : Address : 0x08000000
12:18:40 : Erasing memory corresponding to segment 0:
12:18:40 : Erasing internal memory sectors [0 4]
12:18:40 : sector 0000 does not exist
12:18:40 : sector 0001 does not exist
12:18:40 : sector 0002 does not exist
12:18:40 : sector 0003 does not exist
12:18:40 : sector 0004 does not exist
12:18:40 : Erasing memory corresponding to segment 1:
12:18:40 : Erasing internal memory sector 6
12:18:40 : sector 0006 does not exist
12:18:40 : Erasing memory corresponding to segment 2:
12:18:40 : Erasing internal memory sector 7
12:18:40 : sector 0007 does not exist
12:18:40 : Erasing memory corresponding to segment 3:
12:18:40 : Not flash Memory : No erase done
12:18:40 : Download in Progress:
12:18:43 : File download complete
12:18:43 : Time elapsed during download operation: 00:00:02.584
12:18:43 : Verifying ...
12:18:43 : Read progress:
12:18:43 : Error: Data mismatch found at address 0x080045BC (byte = 0x30 instead of 0x70)
12:18:43 : Error: Download verification failed
You can see many problems with the v2.16 log.
Thank you in advance for your help.
2024-04-08 03:06 PM
Hello @STeve-o
A simular problem was reported on an STM32L4. I will add your case to the internal escalation ticket for correction. Thank you so much for reporting.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-09 07:26 AM
This issue is confirmed and reported on the 178135 and it will be solved on the next Releases.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-09 01:21 PM
Is there an ETA for the next release? I can't download an earlier version of this program on your website.