2025-10-16 9:50 AM
Hi
I don't know what happens, I just restarted my laptop, then it does not run or debug from CubeIDE. Before I retarted the laptop, I was debugging.When I click to Run or Debug, there is nothing appearing in the console window. I closed the IDE twice, but nothing changed.
Anybody knows how to resolve this issue?
Chao
Solved! Go to Solution.
2025-10-16 12:23 PM
Sorry, here it is:
The Serial Port Assistant software is for printing text messages sent by F767 USART1, in another words, for displaying messages produced by printf() in App code:
2025-10-16 12:31 PM
The complete messages for Connect and Download in CubeProgrammer:
2025-10-16 12:33 PM
Ok :)
so bit strange :
board: nucleo G070
target: F76x , 767 maybe.
So nucleo-G070 is used as link to F767 ?
2025-10-16 12:48 PM
Follow your suggestion, set the following:
then click on Apply and Debug buttons, I got the following message:
This should be because the Programmer is still connected, so disconnect in Programmer, repeat the above process again, but the debugger is still not launched.
2025-10-16 12:53 PM
yes, the ST-Link on a nucleo-G070 board is used as link to F767, this method has been working for more than 20 projects for F767, F407, especially F103 over the last 3 years.
2025-10-16 12:57 PM - edited 2025-10-16 12:58 PM
Hmmm...
btw. 24MHz connection is for st-linkV3 , V2 works at 4 M .
but no link detected - is strange. Because in CubeProgrammer link ( nucleo G070 ) is detected.
Sorry, but this is nothing i ever seen... try unplug and re-plug the st-link or nucleo board, you use as link;
then start debug in IDE again.
Sometimes its helping: set debug back to GDB , try again debug.
+
btw
which version of IDE you use ?
2025-10-16 1:14 PM
Okay, tried 4 MHz (I saw 8MHz is the default) for the OCD mode, tried twice by unplugging and re-plugging the st-link and nucleo board, it still does not work!
Is there a log file logging the activities of IDE ?
Probably, I need to re-install the CubeIDE, recently, I lose the perspective I configour quite often when I switch between Editor's tabs, and sometimes I got Error 87 when I do a build since day one after I installed the CubeIDE, I have to do build without any code change again and again till it builds correctly.
2025-10-16 1:16 PM
I also did the test after switching back to GDB Server mode, and failed.
2025-10-16 1:18 PM
STM32CubeIDE
Version: 1.14.1
Build: 20064_20240111_1413 (UTC)
2025-10-16 1:46 PM - edited 2025-10-16 1:50 PM
That is a pretty old version.. dont know, maybe try: update to actual . (Maybe update restores something..)
+
Whats with your other boards? nucleo-F767 or so ? working ?