cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer fail to connect over DFU

HAlzo
Senior

Hello,

When I try to connec to my STM32H743 micro using USB in DFU mode , it fails and gives the following message

13:27:11 : STM32CubeProgrammer API v2.5.0
13:27:31:738 : Device Descriptor:
13:27:31:739 : |_bLength : 0x12
13:27:31:739 : |_bDescriptorType : 0x01
13:27:31:740 : |_bcdUSB : 0x0200
13:27:31:740 : |_bDeviceClass : 0x00
13:27:31:740 : |_bDeviceSubClass : 0x00
13:27:31:741 : |_bDeviceProtocol : 0x00
13:27:31:741 : |_bMaxPacketSize : 0x40
13:27:31:741 : |_idVendor : 0x0483
13:27:31:741 : |_idProduct : 0xdf11
13:27:31:742 : |_bcdDevice : 0x0200
13:27:31:742 : |_iManufacturer : 0x01
13:27:31:742 : |_iProduct : 0x02
13:27:31:743 : |_iSerialNumber : 0x03
13:27:31:743 : |_bNumConfigurations : 0x01
13:27:31:743 : Configuration Descriptor:
13:27:31:743 : |_bLength : 0x09
13:27:31:743 : |_bDescriptorType : 0x02
13:27:31:744 : |_wTotalLength : 0x24
13:27:31:744 : |_bNumInterfaces : 0x01
13:27:31:744 : |_bConfigurationValue : 0x01
13:27:31:744 : |_iConfiguration : 0x02
13:27:31:745 : |_bmAttributes : 0xc0
13:27:31:745 : |_bMaxPower : 0x32
13:27:31:745 : Interface Descriptor Alternate Settings: 0x00
13:27:31:745 : |_bLength : 0x09
13:27:31:745 : |_bDescriptorType : 0x04
13:27:31:746 : |_bInterfaceNumber : 0x00
13:27:31:746 : |_bAlternateSetting : 0x00
13:27:31:746 : |_bNumEndpoints : 0x00
13:27:31:747 : |_bInterfaceClass : 0xfe
13:27:31:747 : |_bInterfaceSubClass : 0x01
13:27:31:747 : |_bInterfaceProtocol : 0x02
13:27:31:747 : |_iInterface : 0x06
13:27:31:748 : Interface Descriptor Alternate Settings: 0x01
13:27:31:748 : |_bLength : 0x09
13:27:31:748 : |_bDescriptorType : 0x04
13:27:31:748 : |_bInterfaceNumber : 0x00
13:27:31:749 : |_bAlternateSetting : 0x01
13:27:31:749 : |_bNumEndpoints : 0x00
13:27:31:749 : |_bInterfaceClass : 0xfe
13:27:31:749 : |_bInterfaceSubClass : 0x01
13:27:31:750 : |_bInterfaceProtocol : 0x02
13:27:31:750 : |_iInterface : 0x07
13:27:31:750 : Functional Descriptor :
13:27:31:750 : |_bLength : 0x09
13:27:31:750 : |_bDescriptorType : 0x21
13:27:31:751 : |_bmAttributes : 0x0b
13:27:31:751 : |_wDetachTimeOut : 0xff
13:27:31:751 : |_wTransferSize : 0x0400
13:27:31:751 : |_bcdDFUVersion : 0x011a
13:27:31:751 : USB speed : Full Speed (12MBit/s)
13:27:31:752 : Manuf. ID : STMicroelectronics
13:27:31:752 : Product ID : DFU in FS Mode
13:27:31:752 : SN : 200364500000
13:27:31:752 : FW version : 0x011a
13:27:31:752 : Device ID : 0x0450
13:27:31:753 : DFU status = 0
13:27:31:753 : DFU State = 2
13:27:31:753 : Status: 0, State: 2
13:27:31:753 : setting the address pointer to address: 0x08000000
13:27:31:755 : DFU status = 0
13:27:31:755 : DFU State = 4
13:27:31:756 : DFU status = 0
13:27:31:756 : DFU State = 5
13:27:31:756 : data: 2100000008
13:27:31:831 : DFU status = 0
13:27:31:831 : DFU State = 5
13:27:31:832 : Status: 0, State: 5
13:27:31:832 : setting the address pointer to address: 0x08000000
13:27:31:839 : DFU status = 0
13:27:31:840 : DFU State = 4
13:27:31:842 : DFU status = 0
13:27:31:842 : DFU State = 5
13:27:31:843 : data: 2100000008
13:27:31:846 : DFU status = 0
13:27:31:850 : DFU State = 5
13:27:31:850 : Status: 0, State: 5
13:27:31:850 : setting the address pointer to address: 0x08000000
13:27:31:860 : DFU status = 0
13:27:31:861 : DFU State = 4
13:27:31:866 : DFU status = 0
13:27:31:866 : DFU State = 5
13:27:31:866 : data: 2100000008
13:27:31:866 : receiving packet nbr: 0
13:27:31:869 : DFU status = 0
13:27:31:870 : DFU State = 5
13:27:31:870 : sending an abort request
13:27:31:872 : DFU status = 0
13:27:31:872 : DFU State = 2
13:27:31:873 : UpLoading data
13:27:31:873 : DFU status = 0
13:27:31:873 : DFU State = 9
13:27:31:874 : data: 00000220
13:27:31:874 : Database: Config 0 is active.
13:27:31:878 : DFU status = 0
13:27:31:878 : DFU State = 9
13:27:31:878 : Status: 0, State: 9
13:27:31:879 : sending an abort request
13:27:31:879 : DFU status = 0
13:27:31:879 : DFU State = 2
13:27:31:879 : setting the address pointer to address: 0x08000000
13:27:31:887 : DFU status = 0
13:27:31:887 : DFU State = 4
13:27:31:887 : DFU status = 0
13:27:31:888 : DFU State = 5
13:27:31:888 : data: 2100000008
13:27:32:494 : DFU status = 0
13:27:32:494 : DFU State = 5
13:27:32:494 : Status: 0, State: 5
13:27:32:495 : setting the address pointer to address: 0x08000000
13:27:32:495 : DFU status = 0
13:27:32:495 : DFU State = 4
13:27:32:495 : DFU status = 0
13:27:32:495 : DFU State = 5
13:27:32:495 : data: 2100000008
13:27:32:496 : UPLOADING OPTION BYTES DATA ...
13:27:32:496 : Bank : 0x00
13:27:32:496 : Address : 0x5200201c
13:27:32:496 : Size : 308 Bytes
13:27:32:496 : DFU status = 0
13:27:32:496 : DFU State = 5
13:27:32:497 : Status: 0, State: 5
13:27:32:497 : setting the address pointer to address: 0x5200201c
13:27:32:497 : DFU status = 0
13:27:32:497 : DFU State = 4
13:27:32:497 : DFU status = 0
13:27:32:497 : DFU State = 5
13:27:32:498 : data: 211c200052
13:27:32:498 : receiving packet nbr: 0
13:27:32:498 : DFU status = 0
13:27:32:498 : DFU State = 5
13:27:32:498 : sending an abort request
13:27:32:498 : DFU status = 0
13:27:32:498 : DFU State = 2
13:27:32:498 : UpLoading data
13:27:32:499 : DFU status = 0
13:27:32:499 : DFU State = 9
13:27:32:499 : data: f0aac60bf0aac60b00000000ff000000ff000000ff000000ff000000ff000000ff0000000008f01f0008f01f100800101008001000001c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034000000000000000000000030000000000000000000000001000000f0aac60bf0aac60b00000000ff000000ff000000ff000000ff000000ff000000ff0000000008f01f0008f01f1008001010080010
13:27:32:500 : UPLOADING OPTION BYTES DATA ...
13:27:32:500 : Bank : 0x00
13:27:32:501 : Address : 0x5200201c
13:27:32:501 : Size : 308 Bytes
13:27:32:501 : DFU status = 0
13:27:32:501 : DFU State = 9
13:27:32:501 : Status: 0, State: 9
13:27:32:501 : sending an abort request
13:27:32:502 : DFU status = 0
13:27:32:502 : DFU State = 2
13:27:32:502 : setting the address pointer to address: 0x5200201c
13:27:32:502 : DFU status = 0
13:27:32:503 : DFU State = 4
13:27:32:503 : DFU status = 0
13:27:32:503 : DFU State = 5
13:27:32:503 : data: 211c200052
13:27:32:503 : receiving packet nbr: 0
13:27:32:503 : DFU status = 0
13:27:32:504 : DFU State = 5
13:27:32:504 : sending an abort request
13:27:32:504 : DFU status = 0
13:27:32:504 : DFU State = 2
13:27:32:504 : UpLoading data
13:27:32:504 : DFU status = 0
13:27:32:504 : DFU State = 9
13:27:32:505 : data: f0aac60bf0aac60b00000000ff000000ff000000ff000000ff000000ff000000ff0000000008f01f0008f01f100800101008001000001c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034000000000000000000000030000000000000000000000001000000f0aac60bf0aac60b00000000ff000000ff000000ff000000ff000000ff000000ff0000000008f01f0008f01f1008001010080010
13:27:32:656 : UPLOADING ...
13:27:32:656 : Size : 1024 Bytes
13:27:32:656 : Address : 0x8000000
13:27:32:656 : Read progress:
13:27:32:657 : DFU status = 0
13:27:32:657 : DFU State = 9
13:27:32:657 : Status: 0, State: 9
13:27:32:657 : sending an abort request
13:27:32:657 : DFU status = 0
13:27:32:657 : DFU State = 2
13:27:32:658 : setting the address pointer to address: 0x08000000
13:27:32:658 : DFU status = 0
13:27:32:658 : DFU State = 4
13:27:32:658 : DFU status = 0
13:27:32:658 : DFU State = 5
13:27:32:658 : data: 2100000008
13:27:32:658 : receiving packet nbr: 0
13:27:32:658 : DFU status = 0
13:27:32:659 : DFU State = 5
13:27:32:659 : sending an abort request
13:27:32:659 : DFU status = 0
13:27:32:659 : DFU State = 2
13:27:32:659 : UpLoading data
13:27:32:659 : libusb control transfer error: -9
13:27:32:659 : Error: Data read failed
13:27:32:941 : Warning: Connection to device 0x450 is lost
13:27:34:015 : Warning: Connection to device 0x450 is lost
13:27:34:248 : Disconnected from device.
13:27:34:248 : STLinkUSBDriver.dll loaded
13:27:34:260 : Disconnected from device.
13:27:34:262 : STLinkUSBDriver.dll loaded

What is the problem causing such a problem?

0 REPLIES 0