cancel
Showing results for 
Search instead for 
Did you mean: 

cubeide debug without downloading

quanhongwei
Visitor

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

1 REPLY 1
Sarra.S
ST Employee

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

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.