espcoredump issue

papillon
Posts: 7
Joined: Tue Feb 21, 2017 12:31 am

espcoredump issue

Postby papillon » Fri Feb 24, 2017 4:32 pm

I have been trying to use the espcoredump utility and in my setup under arch linux (with IDF_PATH properly defined), the path to the esptool utility is broken.
When I run the tool to get the core dump file from flash, I get an error to the effect that "esptool.p" (notice the absence of the trailing letter 'y') is not found. Further investigation (excuse my ignorance of python) seem to indicate that line @698 of the script might be the culprit, trimming the last letter of the filename.

Code: Select all

self.path = self.path[:-1]
A quick hack is to simply copy the file esptool.py file to esptool.p, but modification of the script would be a cleaner fix. Just not sure why the trim was added there in the first place.

Who is online

Users browsing this forum: Baidu [Spider], MicroController and 215 guests