cancel
Showing results for 
Search instead for 
Did you mean: 

Output log showing HWrst mode while it's connected over DFU mode

Rafa096
Associate

I am building my own programmer app using the API provided with the CubeProgrammer program. If I follow the way I have to connect my board over DFU mode as in the USB_Example.cpp, this is the output:

STM32CubeProgrammer API v2.18.0 | Windows-64Bits

+++ USB Bootloader Example +++

------------- USB DFU List --------------
USB Port 0
USB index : USB1
USB SN : 3768346A3430
DFU version : 0x11A
-----------------------------------------

USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 DownLoad Firmware Update
SN : 3768346A3430
DFU protocol: 1.1
Board : --
IAP

--- Device Connected ---

while in the CubeProgrammer app, doing, I guess, exactly the same, this is the output:

Rafa096_0-1742370807022.png

It's showing the same output but with an extra line:

08:53:09: UR connection mode is defined with the HWrst reset mode

If I search in the cli documentation it says that this is reserved only for JTAG/SWD debug:

 -hardRst : Hardware reset
Available only with JTAG/SWD debug port

So why I am getting this line if I am connecting over DFU? and why is that line not showing in the output of the USB_example.cpp code?

Thanks

Rafa

0 REPLIES 0