cancel
Showing results for 
Search instead for 
Did you mean: 

Attaching to a running MCU in the STM32CubeIDE.

Mykola_Levun
Associate III

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.

1 REPLY 1
Andrew Neil
Super User

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.