Nucleo - semihosting hangup?

With my STM32F303K8 Nucleo, things work well as long as connected to a PC. When connected to just a raw USB power in though the device just sits there blinking a slow-red-blink. Any clues? Seems like semihosting is waiting a PC that never responds…

This is because the STLink negotiate with the PC in order to get 300mA power budget.
If you use a USP power block, the negotiation does not conclude and the board remains powered OFF.
The work around is to make SB1 ON as described in the board user’s manual section 6.4.1

1 Like

Nice! Thank you for this