Fail during download with bootloader in USB DFU mode
I have a custom board with a STM32H743ZI 144-pin processor. I can start the bootloader and the device is correctly recognized in the STM32CubeProgrammer as DFU in FS mode. I can read from device memory without issue, however when I try to download a firmware file to the device,it will always fail mid-transfer with the following error:
12:03:30:267 : Download in Progress:
12:03:30:268 : Size : 80352 Bytes
12:03:30:268 : Address : 0x08000000
12:03:30:307 : setting the address pointer to address: 0x08000000
12:03:30:309 : sending packet nbr: 0
12:03:30:309 : downloading data
12:03:30:309 : libusb control transfer error: -9
12:03:30:309 : sending an abort request
12:03:30:309 : downloading data
12:03:30:373 : libusb control transfer error: -9
12:03:30:373 : Error: failed to download Segment[0]
12:03:30:373 : Error: failed to download the FileI repeated the exact same procedure on a NUCLEO-H743ZI2 that has the same processor and the download completes successfully.
My first guess was a hardware issue, so I used an oscilloscope to measure if there's any interference on the D+ and D- lines leading to the MCU pins, but based on my observation the signal looks fine and pretty much the same as on the Nucleo. On my design the D+ and D- are short, run along side each other and have an uninterrupted ground plane beneath them.

I also captured the traffic on the USB line with a USB tool. Here is the part where the transmission fails.

Thank you for any help in advance.
