cancel
Showing results for 
Search instead for 
Did you mean: 

OPEN OCD arm-none-eabi-gdb.exe was not found

anandhram1988
Associate II

i always gets the below error while debugging the stm L$ board via visual studio

OPEN OCD gdb executable arm-none-eabi-gdb.exe was not found

Please configure cortex-debug.armtoolchainpath or cortex-debug.gdbpath correctly.

can i know the reason for this and how this can be fixed?

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

Hello @anandhram1988

You should include the directrory path containing the ARM toolchain here: 

SarraS_0-1730381286761.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.

View solution in original post

5 REPLIES 5

@anandhram1988 wrote:

the stm L$ board


What board?

anandhram1988
Associate II
STM32L4x3

That's a chip (actually, a range of chips) - not a board.

What board is that chip mounted on - an ST board? a 3rd-party board? a custom board?

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

Rob.Riggs
Senior III

Do you have STM32CubeCLT installed?

Sarra.S
ST Employee

Hello @anandhram1988

You should include the directrory path containing the ARM toolchain here: 

SarraS_0-1730381286761.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.