2024-11-12 08:01 PM - last edited on 2024-11-13 02:25 AM by Andrew Neil
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
2024-11-13 02:08 AM
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.
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.