Skip to main content
hardrock
Associate II
April 26, 2024
Solved

STM32CubeProgrammer not work the Automatic Mode in USB DFU connection.

  • April 26, 2024
  • 2 replies
  • 1494 views

I am using STM32CubeProgrammer v2.16.0 and Windows 10.

 

In case of ST-LINK connection,
Both [Start Programming] and [Start Automatic Mode] work well.


In case of USB DFU connection,
[Start Programming] works well but [Start Automatic Mode] doesn't work.

 

14:13:51 : UR connection mode is defined with the HWrst reset mode
14:13:51 : USB speed : Full Speed (12MBit/s)
14:13:51 : Manuf. ID : STMicroelectronics
14:13:51 : Product ID : STM32 BOOTLOADER
14:13:51 : SN : FFFFFFFEFFFF
14:13:51 : DFU protocol: 1.1
14:13:51 : Board : --
14:13:51 : Device ID : 0x0448
14:13:51 : UPLOADING OPTION BYTES DATA ...
14:13:51 : Bank : 0x00
14:13:51 : Address : 0x1ffff800
14:13:51 : Size : 16 Bytes
14:13:51 : UPLOADING ...
14:13:51 : Size : 1024 Bytes
14:13:51 : Address : 0x8000000
14:13:51 : Read progress:
14:13:51 : Data read successfully
14:13:51 : Time elapsed during the read operation is: 00:00:00.003
14:13:55 : Starting Automatic Mode...
14:13:55 : Waiting for device n:1...

 

This topic has been closed for replies.
Best answer by Aziz BRIGUI

Hello @hardrock

Just tried using automatic mode with USB DFU on a G0 board (I know you're using F0 but that's what I had on hand) and it worked just fine.

Could you please send a screenshot of the automatic mode options you're using ? I mean this section : 

AzizBRIGUI_0-1714122453175.png

I will try to test on F0 as soon as I can.

Thanks,

Aziz

2 replies

Aziz BRIGUI
Aziz BRIGUIBest answer
Technical Moderator
April 26, 2024

Hello @hardrock

Just tried using automatic mode with USB DFU on a G0 board (I know you're using F0 but that's what I had on hand) and it worked just fine.

Could you please send a screenshot of the automatic mode options you're using ? I mean this section : 

AzizBRIGUI_0-1714122453175.png

I will try to test on F0 as soon as I can.

Thanks,

Aziz

In order 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.
hardrock
hardrockAuthor
Associate II
April 29, 2024

Sorry my mistake... It works very well.

In case of USB DFU connection of STM32F070,
Both [Start Programming] and [Start Automatic Mode] work well.

I appreciate it very much.