Skip to main content
Associate III
October 28, 2025
Solved

Attaching to a running MCU in the STM32CubeIDE.

  • October 28, 2025
  • 1 reply
  • 115 views

Hello,

How can I attach to running microcontroller in the STM32CubeIDE?

The IAR has the Attach to running target function. The STM32CubeIDE have not this function.

Best answer by Andrew Neil

Create a Debug Configuration with 'Reset  behaviour' set to 'None' and 'Download' disabled:

AndrewNeil_0-1761649264302.png

AndrewNeil_1-1761649402660.png

 

#AttachToRunningTarget

1 reply

Andrew Neil
Andrew NeilBest answer
Super User
October 28, 2025

Create a Debug Configuration with 'Reset  behaviour' set to 'None' and 'Download' disabled:

AndrewNeil_0-1761649264302.png

AndrewNeil_1-1761649402660.png

 

#AttachToRunningTarget

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.