Skip to main content
Visitor II
January 26, 2021
Question

STM32H7 missing USB device after DFU bootload

  • January 26, 2021
  • 0 replies
  • 602 views

Hi,

I have a bug with my bootload application on STM32H743ZI (my device is powered and bootloaded throw the same USB port)

1 - I send a HID USB message to tell the micro to jump to bootloader

2 - I bootload using DfuSe dll (it appears to work fine)

3 - After bootload I don't see my HID device on my PC even after unplug plug device (Perhaps is only the USB Core not working ?)

I want to move from SWD programming to USB DFU programming

I tried using STM32CubeProgrammer software and I got the same result and this logs which again seems to work fine :

 18:38:45 : USB speed : Full Speed (12MBit/s)
 18:38:45 : Manuf. ID : STMicroelectronics
 18:38:45 : Product ID : DFU in FS Mode
 18:38:45 : SN : 100364500000
 18:38:45 : FW version : 0x011a
 18:38:45 : Device ID : 0x0450
 18:38:45 : UPLOADING OPTION BYTES DATA ...
 18:38:45 : Bank : 0x00
 18:38:45 : Address : 0x5200201c
 18:38:45 : Size : 308 Bytes
 18:38:46 : UPLOADING ...
 18:38:46 : Size : 1024 Bytes
 18:38:46 : Address : 0x8000000
 18:38:46 : Read progress:
 18:38:46 : Data read successfully
 18:38:46 : Time elapsed during the read operation is: 00:00:00.005
 18:38:54 : Memory Programming ...
 18:38:54 : Opening and parsing file: usbAMP2.hex
 18:38:54 : File : usbAMP2.hex
 18:38:54 : Size : 56512 Bytes
 18:38:54 : Address : 0x08000000 
 18:38:54 : Erasing memory corresponding to segment 0:
 18:38:54 : Erasing internal memory sector 0
 18:38:55 : erasing sector 0000 @: 0x08000000 done
 18:38:55 : Download in Progress:
 18:38:55 : Error: failed to download Segment[0]
 18:38:55 : Error: failed to download the File
 18:38:55 : RUNNING Program ... 
 18:38:55 : Address: : 0x08000000
 18:38:55 : Start operation achieved successfully
 18:38:55 : Warning: Connection to device 0x450 is lost
 18:38:56 : Disconnected from device.

 Is it a known issue ? What can I do to solve/identify the problem ?

    This topic has been closed for replies.