Skip to main content
Associate II
September 27, 2024
Solved

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

  • September 27, 2024
  • 4 replies
  • 2499 views

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?

Best answer by Sarra.S

Hello @anandhram1988

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

SarraS_0-1730381286761.png

 

4 replies

Andrew Neil
Super User
September 27, 2024

@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
September 27, 2024
STM32L4x3
Andrew Neil
Super User
September 27, 2024

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
September 29, 2024

Do you have STM32CubeCLT installed?

Sarra.SBest answer
ST Employee
October 31, 2024

Hello @anandhram1988

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

SarraS_0-1730381286761.png