Skip to main content
Associate III
November 13, 2024
Question

cubeide debug without downloading

  • November 13, 2024
  • 2 replies
  • 1419 views

ST Technical Support:
    I have encountered a strange question and have not yet found the answer. When using Cubeide, I only wanted to debug the hardware but didn't want to write flash, which was supposed to be a simple task, but I failed. Using the default settings of cubeide, there is no problem connecting J-Link/JTAG burning code to enter DEBUG. I tried to modify the DEBUG settings. In Debug Configuration, I removed the verify flash download, edited the. dlf file, removed the Download, and then compiled it into Debug. F6 and F5 had the same functionality, but the modified code had no effect and still run the code on the original chip. All the operations became very strange.
Can Cubeide be debugged online without write flash? If possible, how can we do it?
I hope to receive a response.

thanks

2 replies

ST Employee
November 13, 2024

Hello @quanhongwei, welcome to ST Community,

You can use the "attach and debug" lunch, what is important in the debug configuration is in "load image and symbols": Edit the line for your project to uncheck "download", this is to avoid to download the code in the target.

SarraS_0-1731492523041.png

 

Associate III
November 29, 2024

Hi,The problem has not been solved yet! Is there a solution?

Thanks!

ST Employee
November 29, 2024

Hello  @quanhongwei

Have you tried to migrate to the latest version of CubeIDE 1.17?