Open
Description
Tell me, can this tool decode backtrace?
Backtrace: 0x400837c1:0x3ffb1f10 0x4008cca1:0x3ffb1f30 0x40092749:0x3ffb1f50 0x40083cfe:0x3ffb2080 0x40092779:0x3ffb20a0 0x400ea0be:0x3ffb20c0 0x400ea0cd:0x3ffb20e0 0x400d3905:0x3ffb2100 0x400dc8a6:0x3ffb2210 0x400ec659:0x3ffb2290
And in general, can I use the tool without a toolchain?
I am using arduino IDE with arduino cli.
I tried to "feed" a line to your script, but got an error.
C:\Users\Admin\Documents\Arduino\tools\EspArduinoExceptionDecoder-master>decoder.py -p ESP32 -e ELF {PATH}\esp32_test.ino.elf
usage: decoder.py [-h] [-p {ESP8266,ESP32}] [-t TOOL] -e ELF [-f] [-s] file
decoder.py: error: the following arguments are required: file
In {PATH}
my path in Windows 10 to arduino *eif
file.
Error:
ERROR: addr2line not found (C:\Users\Admin\.platformio\packages\toolchain-xtensa\bin/xtensa-esp32-elf-addr2line)
ERROR: elf file not found (C:\Users\Admin\Documents\Arduino\tools\EspArduinoExceptionDecoder-master\ELF)
Traceback (most recent call last):
File "C:\Users\Admin\Documents\Arduino\tools\EspArduinoExceptionDecoder-master\decoder.py", line 304, in <module>
parser.parse_file(file, args.stack_only)
File "C:\Users\Admin\Documents\Arduino\tools\EspArduinoExceptionDecoder-master\decoder.py", line 142, in parse_file
for line in file:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 5847: character maps to <undefined>
Metadata
Metadata
Assignees
Labels
No labels