Skip to main content
Visitor II
February 5, 2025
Question

STM32CubeProgrammer can't connect in hotplug mode

  • February 5, 2025
  • 1 reply
  • 770 views

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

KnarfB
Super User
February 5, 2025

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