2025-07-02 1:43 AM
Hello forum,
i'm working with a custom design where a STM32H743XIH6 is provided on the board along with an USB connection. I'm actually dealing with an issue on USB firmware programming using STM32CubeProgrammer v2.19.0 (up-to-date, but same issue occur with previous versions).
When downloading firmware the following error occurs:
10:34:53 : STM32CubeProgrammer API v2.19.0 | Windows-64Bits
10:34:59 : UR connection mode is defined with the HWrst reset mode
10:34:59 : USB speed : Full Speed (12MBit/s)
10:34:59 : Manuf. ID : STMicroelectronics
10:34:59 : Product ID : DFU in FS Mode
10:34:59 : SN : 200364500000
10:34:59 : DFU protocol: 1.1
10:34:59 : Board : --
10:34:59 : Device ID : 0x0450
10:34:59 : UPLOADING OPTION BYTES DATA ...
10:34:59 : Bank : 0x00
10:34:59 : Address : 0x5200201c
10:34:59 : Size : 308 Bytes
10:34:59 : UPLOADING ...
10:34:59 : Size : 1024 Bytes
10:34:59 : Address : 0x8000000
10:34:59 : Read progress:
10:34:59 : Data read successfully
10:34:59 : Time elapsed during the read operation is: 00:00:00.004
10:35:14 : Opening and parsing file: H7adctest.elf
10:35:14 : Memory Programming ...
10:35:14 : File : H7adctest.elf
10:35:14 : Size : 60.15 KB
10:35:14 : Address : 0x08000000
10:35:14 : Erasing memory corresponding to sector 0:
10:35:14 : Erasing internal memory sector 0
10:35:15 : Erasing memory corresponding to sector 0:
10:35:15 : Not flash Memory : No erase done
10:35:15 : Download in Progress:
10:35:16 : Error: failed to download Sector[0]
10:35:16 : Error: failed to download the File
Error: failed to download the file
Some other test have been given:
Warning: difference found
Thanks in advance for your support,
Luca
2025-07-02 2:48 AM
Check voltage and capacitors placed on VCAP pins.
2025-07-02 5:53 AM
Hi Tesla,
according to design:
where C2,C3,C4: "CAP 2.2UF 50V X7R 10%" TAIYO YUDEN UMK212BB7225KG-T.
They seems compliant to datasheet, I'm only in doubt with ESR (which installed ones seems mismatch):
I measure a stable 1.01V on all three VCAP pins when in DFU mode, since I use internal regulator it should be ok.
Does it makes sense?