Skip to main content
seppeltronics_v
Associate III
June 1, 2023
Question

Stm32CubeIDE: Debugging without Programming/Flashing when connecting?

  • June 1, 2023
  • 2 replies
  • 4574 views

Hello,

because I use the Flash-EEPROM-Emulation (eeprom_emul) I need to connect to the microcontroller with the debugger without programming it.

Where do I find the debugger-settings to connect to the target without flashing it, using the STM32CubeIDE and the StLink V3?

Thanks a lot, Best Regards, Seppel

This topic has been closed for replies.

2 replies

KnarfB
Super User
June 3, 2023

Hi Seppel,

Debug Configurations > Startup > Load Image and Symbols

Edit the entry, set Download to false.

You can still load the symbols and debug, but must take care yourself that the correct binary is in the flash.

hth

KnarfB

seppeltronics_v
Associate III
June 5, 2023

Hello,

many thanks for the reply, it's a little hidden, I'll add a screenshot here for completeness,... and I can re-read it myself id I forget ;) .

Best regards, Seppel


_legacyfs_online_stmicro_images_0693W00000dJvGFQA0.png

MMARI.1
Senior II
November 23, 2023

hi , i  have unticked the download option and debugged the program but Live Expressions not updating data's  with download option enable -  program flash down load + debug = Live Expression Data's working . what is the exact way to achieve Program flash download ( once )  and then

No Program flash down load + debug = Live Expression data's  ( this just for hardware reset or some dip setting outside or other hardware inputting )