Skip to main content
Associate II
Sep 27, 2024 10:44 AM UTC
Solved

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

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?

This topic has been closed for replies.
Sarra.SBest answer
ST Employee
Oct 31, 2024 1:28 PM UTC

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.

5 replies

Andrew Neil
Super User
Sep 27, 2024 11:14 AM UTC

@anandhram1988 wrote:

the stm L$ board


What board?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
Sep 27, 2024 11:16 AM UTC
STM32L4x3
Andrew Neil
Super User
Sep 27, 2024 11:20 AM UTC

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

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Rob.Riggs
Senior
Sep 29, 2024 9:26 PM UTC

Do you have STM32CubeCLT installed?

Sarra.SBest answer
ST Employee
Oct 31, 2024 1:28 PM UTC

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.