Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: xtensa-lx106-elf-gdb.exe not found! #36

Open
MSKeith opened this issue Apr 23, 2018 · 16 comments
Open

ERROR: xtensa-lx106-elf-gdb.exe not found! #36

MSKeith opened this issue Apr 23, 2018 · 16 comments

Comments

@MSKeith
Copy link

MSKeith commented Apr 23, 2018

I just installed the stack trace tool, and I am getting this error message. I have also searched for the tool chain...and found it can be installed from here:
gnutoolchains.com/esp8266/
but after that installation and re starting the Arduino IDE... I am still not getting the stack trace decoder to start.

Thoughts?

Keith

@haxinglong
Copy link

I got it too,but I fixed it up.
Try copy xtensa-lx106-elf-gdb.exe to "C:\Users\***\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\bin".
It works.
Arduino IDE ver :1.8.0
OS: win7 X64

@Traste
Copy link

Traste commented May 2, 2018

@haxinglong
I would have tried that, but i can not seem to find it in the folder it is supposed to be:
C:\Users\Drufus\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\bin
On Windows 10 and with Arduino 1.8.5 (traditional download, not from the app store.)

@beikeland
Copy link

Duplicate, and according to other issues:

"Since this problem is recent, using the previous release should temporarily do it.
https://github.com/me-no-dev/EspExceptionDecoder/tree/1.0.6"

Worked for me

@BoOM26
Copy link

BoOM26 commented May 25, 2018

https://forum.arduino.cc/index.php?topic=540292.0

This helps me...

@Tvde1
Copy link

Tvde1 commented Jun 2, 2018

Getting the same error

@randm2001
Copy link

I download EspExceptionDecoder-1.0.6.zip from
https://github.com/me-no-dev/EspExceptionDecoder/releases
and there isn't any problem with this release

@tarzan115
Copy link

download toolchain from this
and copy file xtensa-lx106-elf-gdb.exe to tools/xtensa-lx106-elf
it will run perfectly.

@ofekp
Copy link

ofekp commented Jul 21, 2018

@tarzan115 for future reference, if anybody encouters this, the folder to which you need to copy the xtensa-lx106-elf-gdb.exe file is (and not arduino-1.8.5\tools\xtensa-lx106-elf):
C:\Users\{user_id}\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\bin
reference from here https://forum.arduino.cc/index.php?topic=540292.0

Also, IDE 1.6.8 did not work with this and I had to update to 1.8.5 to make use of it.

@diraniyoussef
Copy link

@tarzan I always had hard times choosing among NonOS SDK and IoT SDK 2.0.0. I'm using NodeMCU Lolin.
What do you suggest?

@diraniyoussef
Copy link

Just to help out the ones (like me) that didn't know where to find xtensa-lx106-elf-gdb.exe after installing the "Prebuilt GNU toolchain for esp8266" linked by tarzan115, it is here "C:\SysGCC\esp8266\bin"

@V1DEOJAMES
Copy link

Has anyone else found they need to copy this file again after restarting the IDE?

@YuMERA
Copy link

YuMERA commented Nov 16, 2018

@tarzan115 for future reference, if anybody encouters this, the folder to which you need to copy the xtensa-lx106-elf-gdb.exe file is (and not arduino-1.8.5\tools\xtensa-lx106-elf):
C:\Users\{user_id}\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\bin
reference from here https://forum.arduino.cc/index.php?topic=540292.0

On Win10 and IDE 1.8.5 folder when must copy file xtensa-lx106-elf-gdb.exe is
C:\Users\{user_id}\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\bin

@somandubey
Copy link

download toolchain from this
and copy file xtensa-lx106-elf-gdb.exe to tools/xtensa-lx106-elf
it will run perfectly.

Almost correct! but @ofekp has pointed out the right location. Thanks!

@apanasara
Copy link

apanasara commented Feb 8, 2019

tried for win 10 Arduino IDE 1.8.8 for all above suggestions, but failed with error that

ERROR: xtensa-lx106-elf-gdb.exe not found!

@ArduinoData Folder
image

@Arduino15 Folder
image

@RobotGarage
Copy link

I was having the same issue in Arduino IDE 1.8.8 (Windows 10):

  • ERROR: xtensa-lx106-elf-gdb.exe not found!

This worked for me:

  • In Arduino IDE, un-install ESP8266 from >Tools >Boards >Board Manager
  • In File Manager, remove "esp8266" folder from here: C:\Users<UserName>\AppData\Local\Arduino15\packages
  • In Arduino IDE, re-install ESP8266 to >Tools >Boards >Board Manager

@AndreiKorchunov
Copy link

Arduino IDE 1.8.19
Boards:
AVR 1.8.3
Esp32 2.0.11
Esp8266 3.1.2
Esp exception decoder 2.0.3

When I try to run the esp exception decoder, I get the following error:

gdbPath: C:\Users\kors\Documents\ArduinoData\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823/bin/xtensa-lx106-elf-gdb.exe

ERROR: xtensa-lx106-elf-gdb.exe not found!

It can be seen that the problem is that the search for xtensa-lx106-elf-gdb.exe for some reason is carried out along the path C:\Users\kors\Documents\ArduinoData\packages\esp32, although the file itself is located in c:\Users\kors \Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec\bin\xtensa-lx106-elf-gdb.exe

Esp exception decoder is installed as recommended by the developer:
c:\Arduino\tools\EspExceptionDecoder\tool\EspExceptionDecoder.jar

The suggested solution above didn't help.
Just in case, I reinstalled c:\Users\kors\Documents\ArduinoData\packages\esp32. Did not help
How to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests