cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer can't connect in hotplug mode

nhedler
Associate

Using an STLINK-V3PWR, I can connect to the device in Normal, Under Reset, and hwRstPulse modes, but when I select Hot plug mode, I get an error "No STM32 target found." I've been tasked with trying to connect to this board without resetting it, but am at a loss about where to start with troubleshooting. I've tried changing various other configuration settings, but have not found anything that will allow hot plug connection.

1 REPLY 1
KnarfB
Principal III

make sure that the firmware leaves the SWD debug pins configured in SWD AF mode (which is the HW default).

Also, entering low-power modes may cause issues, see DBG_CR register.

hth

KnarfB