Giter VIP home page Giter VIP logo

Comments (10)

s60sc avatar s60sc commented on June 12, 2024

Copy the espcrashdecoder folder into the sketch folder to be analysed.
Gdb is core

from espcrashdecoder.

Tech500 avatar Tech500 commented on June 12, 2024

Already copied ESPCrashDecoder folder to sketch folder. Size of ESPCrashDecoder.out is 0 KB.

Backtrace:

Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x400d13ce PS : 0x00060830 A0 : 0x800d2b82 A1 : 0x3ffc51c0
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000014 A5 : 0x00000004
A6 : 0x3ffbd5ac A7 : 0x80000001 A8 : 0x00000000 A9 : 0x0000000a
A10 : 0x3ffc1c60 A11 : 0x00000078 A12 : 0x0000e100 A13 : 0x00000003
A14 : 0x00000001 A15 : 0x00000001 SAR : 0x00000003 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000 LBEG : 0x40085e68 LEND : 0x40085e73 LCOUNT : 0xffffffff

Backtrace: 0x400d13cb:0x3ffc51c0 0x400d2b7f:0x3ffc51f0

Output of ESPCrashDecoder.txt:

set listsize 1 l *0x400d13ce l *0x00000000 l *0x400d13cb l *0x400d2b7f q

William

from espcrashdecoder.

s60sc avatar s60sc commented on June 12, 2024

That is the interim file for gdb - see readme. It may be that the espressif path to gdb has changed, but I'm not able to check right now.

from espcrashdecoder.

Tech500 avatar Tech500 commented on June 12, 2024

ESP32 Core 2.0.11 gdb path?

C:\Users\William\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823\bin\xtensa-esp32-elf-gdb.exe

from espcrashdecoder.

s60sc avatar s60sc commented on June 12, 2024

It is different, the bat file will need updating

from espcrashdecoder.

Tech500 avatar Tech500 commented on June 12, 2024

My apologies; user error, wrong board specified in ESPCrashDecoder.bat. Switched board compiling to ESP32 Dev Module, left .bat file set to ESP32. Works as advertized. Thank you!

First board used to compile was an ESP32 Pico D4; with .bat file set to ESP32.

Feature request: Input board type from Arduino IDE.

William

from espcrashdecoder.

Tech500 avatar Tech500 commented on June 12, 2024

ESP32 Core 2.0.11

ESP32 Pico D4; modified path in ESPCrashDecode.bat :FoundFile:

"C:\Users\William\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823\bin\xtensa-esp32s2-elf-gdb.exe" "C:\Users\William\Documents\Arduino\libraries\Crash\build\esp32.esp32.pico32\Crash.ino.elf" --batch --command=%addresses% > %decoded% 2>nul

ESPCrashDecoder.out was produced after doing this modification to the path.

from espcrashdecoder.

s60sc avatar s60sc commented on June 12, 2024

I'll check the paths for different board types and amend bat file

from espcrashdecoder.

Tech500 avatar Tech500 commented on June 12, 2024

Thank you s60sc!

from espcrashdecoder.

s60sc avatar s60sc commented on June 12, 2024

looks like different boards can have different elf folder. In new bat file change elfTarget to pico32

from espcrashdecoder.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.