Closed pauloeduardosp closed 8 years ago
I also ran into this issue, but I found a work around for now...
Arduino builds your sketch at a location like /tmp/arduino_build_XXXX
EspExceptionDecoder creates a directory at /tmp/build
tks for the answer, i'll try and send you a feedback.
Yup, doesn't work OOTB with the new IDE. Hopefully it'll be fixed soon.
It works with Thiago's workaround. btw, in Windows, the correct paths are:
copy all files from "C:\Users
Where NNNN are random numbers.
can some one point to the correct paths at Mac OS?
Tried to create a /tmp/build.tmp folder and copy the build contents from /var/folders/8l/
Still no success...
It would be good if we had a separate tool that we could just point where the build folder is.
I couldn't get the workaround to work. What version of IDE should I revert to if I want to get this working?
Every time you restart Arduino IDE it builds the sketch in a folder with a different build number:
i.e. /var/folders/8s/6k3r4rt57r38rl8r4ngd6j780000gn/T/arduino_build_XXXXX/
I can get it work on Mac OS by linking the built sketch in the folder where the Exception Decoder looks for it, in this way:
ln -s /var/folders/8s/6k3r4rt57r38rl8r4ngd6j780000gn/T/arduino_build_XXXXX/MySketch.ino.elf /var/folders/8s/6k3r4rt57r38rl8r4ngd6j780000gn/T/build9d362461b273ac7cd349f8fd844f1118.tmp/MySketch.ino.elf
where XXXXX is the build number that changes every time you restart Arduino IDE. So you have to run this command every time you restart Arduino IDE checking in advance which is the new build number.
FIXED! please download latest release
hey . i did download the latest release. still get the error. ERROR: neither testjaon.ino.elf or testjson.cpp.elf were found! Did you forget to compile the sketch?
not possible :) did you restart the IDE? which version did you download?
im using Arduino IDE Version 1.6.12 and EspExeptionDecoder Version 1.0.6 Ive extracted the jar file into this location: C:\Users\David\Documents\Arduino\tools\EspExceptionDecoder\tool\EspExceptionDecoder.jar restarted the Arduino IDE opened the SerialMonitor, uploaded my sketch, got the error on the serial monitor. then when i pressed ESP Exception Decder i see on screen
Uploading 233344 bytes from C:\Users\David\AppData\Local\Temp\arduino_build_182492/testjson.ino.bin to flash at 0x00000000 ................................................................................ [ 35% ] ................................................................................ [ 70% ] .................................................................... [ 100% ] ERROR: neither testjson.ino.elf or testjson.cpp.elf were found! Did you forget to compile the sketch?
im so sorry, i kept an old version on other location . seems like i saved the new one in the wrong location. this issue is Solved. thank you for the hard work!
tks
glad it works :)
After a upgrade to new ide 1.6.12 decoder stop to work. When I will open a decoder windown I receive this msg
ERROR: neither Varanda_Des.ino.elf or Varanda_Des.cpp.elf were found! Did you forget to compile the sketch?
But i already compile and make a sketch upload