Skip to main content
added a separator to make more clear that there are two parts to the answer
Source Link
Arsenal
  • 18.3k
  • 2
  • 36
  • 61

For connect under reset to work the ST-Link must have control over the reset pin, if you tie it to ground the ST-Link has no chance to get the target running and gain access to it.

 

If you pull the BOOT0 pin high during power up, the MCU will start into the internal bootloader and you can gain access using several serial protocols (see the reference manual for more details).

Inside the bootloader the SWD pins should be available to gain access, but I'm not 100% sure on this.

The ST Flash Loader Demonstrator is a tool which allows you to erase / program the micro using the UART interface. If you can't access any of the UARTs of your micro, this solution won't work for you.

For connect under reset to work the ST-Link must have control over the reset pin, if you tie it to ground the ST-Link has no chance to get the target running and gain access to it.

If you pull the BOOT0 pin high during power up, the MCU will start into the internal bootloader and you can gain access using several serial protocols (see the reference manual for more details).

Inside the bootloader the SWD pins should be available to gain access, but I'm not 100% sure on this.

The ST Flash Loader Demonstrator is a tool which allows you to erase / program the micro using the UART interface. If you can't access any of the UARTs of your micro, this solution won't work for you.

For connect under reset to work the ST-Link must have control over the reset pin, if you tie it to ground the ST-Link has no chance to get the target running and gain access to it.

 

If you pull the BOOT0 pin high during power up, the MCU will start into the internal bootloader and you can gain access using several serial protocols (see the reference manual for more details).

Inside the bootloader the SWD pins should be available to gain access, but I'm not 100% sure on this.

The ST Flash Loader Demonstrator is a tool which allows you to erase / program the micro using the UART interface. If you can't access any of the UARTs of your micro, this solution won't work for you.

Source Link
Arsenal
  • 18.3k
  • 2
  • 36
  • 61

For connect under reset to work the ST-Link must have control over the reset pin, if you tie it to ground the ST-Link has no chance to get the target running and gain access to it.

If you pull the BOOT0 pin high during power up, the MCU will start into the internal bootloader and you can gain access using several serial protocols (see the reference manual for more details).

Inside the bootloader the SWD pins should be available to gain access, but I'm not 100% sure on this.

The ST Flash Loader Demonstrator is a tool which allows you to erase / program the micro using the UART interface. If you can't access any of the UARTs of your micro, this solution won't work for you.