ESP Exception Decoder for ESP32 Wrover Module

I get the error message "Target not found for 'ESP32 Wrover Module' when I click on ESP Exception Decoder.

I followed all of me-no-dev's instructions. The sketchbook location is C:\User\user\AppData\Local\Arduino15.
The decoder is in C:\Users\user\AppData\Local\Arduino15\tools\EspExceptionDecoder\tool. The elf file is in C:\Users\user\AppData\Local\Temp\arduino_build_360380. One problem may be the decoder wants an .elf extension, but the elf file has an .ino extension. The ESP Exception Decoder window opens, but won't allow me to paste anything in there.

Here is some of the Arduino output (edited):

Arduino: 1.8.12 (Windows 10), Board: "ESP32 Wrover Module, Default. 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, Debug"

"C:\Program Files (x86)\Arduino\hardware\espressif\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-size" -A "C:\Users\user\AppData\Local\Temp\arduino_build_360380/sketch_dec27a.ino.elf"
Sketch uses 261535 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13392 bytes (4%) of dynamic memory, leaving 314288 bytes for local variables. Maximum is 327680 bytes.
C:\Program Files (x86)\Arduino\hardware\espressif\esp32/tools/esptool/esptool.exe --chip esp32 --port COM3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Program Files (x86)\Arduino\hardware\espressif\esp32/tools/partitions/boot_app0.bin 0x1000 C:\Program Files (x86)\Arduino\hardware\espressif\esp32/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 C:\Users\user\AppData\Local\Temp\arduino_build_360380/sketch_dec27a.ino.bin 0x8000 C:\Users\user\AppData\Local\Temp\arduino_build_360380/sketch_dec27a.ino.partitions.bin
esptool.py v2.6
Serial port COM3
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 4d:71:25:16:b3:90
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...

Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4096.1 kbit/s)...
Hash of data verified.
Compressed 18608 bytes to 12030...

Writing at 0x00001000... (100 %)
Wrote 18608 bytes (12030 compressed) at 0x00001000 in 0.1 seconds (effective 1033.8 kbit/s)...
Hash of data verified.
Compressed 261648 bytes to 121196...

Writing at 0x00010000... (12 %)
Writing at 0x00014000... (25 %)
Writing at 0x00018000... (37 %)
Writing at 0x0001c000... (50 %)
Writing at 0x00020000... (62 %)
Writing at 0x00024000... (75 %)
Writing at 0x00028000... (87 %)
Writing at 0x0002c000... (100 %)
Wrote 261648 bytes (121196 compressed) at 0x00010000 in 2.4 seconds (effective 867.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...

Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1536.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Arch Not Found for 'ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, Debug'. Defaulting to 'xtensa'
Target Not Found for 'ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, Debug'. Defaulting to 'esp32'

Here is some of the serial output:

Core 1 register dump:
PC : 0x4008b2cd PS : 0x00060034 A0 : 0x8008babd A1 : 0x3ffb1e50
A2 : 0x3ffbdc9c A3 : 0x0000abab A4 : 0xb33fffff A5 : 0x00000000
A6 : 0x00000000 A7 : 0x0000cdcd A8 : 0x0000cdcd A9 : 0x3ffb1e50
A10 : 0x00000003 A11 : 0x00060023 A12 : 0x00060021 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000011 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x400d0dd0 LEND : 0x400d0dd6 LCOUNT : 0x00000052

ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000

Backtrace: 0x4008b2cd:0x3ffb1e50 0x4008baba:0x3ffb1e80 0x4008a69b:0x3ffb1ea0 0x4008c889:0x3ffb1ec0 0x40081766:0x3ffb1ed0 0x400d0dd1:0x3ffb1f90 0x400d2261:0x3ffb1fb0 0x4008a5ad:0x3ffb1fd0

Thanks for any help!

I was able to paste the backtrace into the ESP Exception Decoder window by using CTRL+V in windows, but the decoder did nothing.

I got it to work! Maybe because I tidied up my files a bit, but also you have to be sure to include the word "Backtrace" like so:

Backtrace: 0x4008b2cd:0x3ffb1e50 ...

Perhaps the module is a WROOM instead of a WROVER?

It's an AI Thinker board and it's listed on the Arduino IDE.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.