cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Run or Debug from CubeIDE

Chao
Senior II

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

 

21 REPLIES 21

Sorry, here it is:

Chao_0-1760642172567.png

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:

Chao_1-1760642299079.png

 

The complete messages for Connect and Download in CubeProgrammer:

Chao_0-1760643062352.png

 

Ok :)

so bit strange :

AScha3_0-1760643100318.png

board: nucleo G070

target: F76x , 767 maybe.

So nucleo-G070 is used as link to F767 ?

If you feel a post has answered your question, please click "Accept as Solution".

Follow your suggestion, set the following:

Chao_0-1760643654225.png

then click on Apply and Debug buttons, I got the following message:

Chao_1-1760643751224.png

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.

 

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.

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 ?

If you feel a post has answered your question, please click "Accept as Solution".

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.

I also did the test after switching back to GDB Server mode, and failed.

STM32CubeIDE

 

Version: 1.14.1

Build: 20064_20240111_1413 (UTC)

 

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 ?

If you feel a post has answered your question, please click "Accept as Solution".