espcoredump.py

gibson12345
Posts: 58
Joined: Wed Jul 17, 2019 11:45 pm

espcoredump.py

Postby gibson12345 » Wed Sep 04, 2019 5:37 am

Hey everyone,

Trying to investigate a bug I'm having using espcoredump.py and I am getting this output and I'm unsure why. I've tried investigating into the python file itself but I'm a bit too unfamiliar with it to figure out what's going on. here is the output

Code: Select all

C:\esp\esp-idf\components\espcoredump>python espcoredump.py -p COM5 dbg_corefile C:/Users/Lachlan/documents/talkiplay/sourcecode/build/sorucecode.elf
espcoredump.py v0.3-dev
Namespace(baud=115200, chip=u'auto', core=None, core_format='elf', debug=2, gdb=u'xtensa-esp32-elf-gdb', off=1114112, operation='dbg_corefile', port='COM5', prog='C:/Users/Lachlan/documents/talkiplay/sourcecode/build/sorucecode.elf', rom_elf='esp32_rom.elf', save_core=None)
c:\users\lachlan\appdata\local\temp\tmp5rbwjg
ERROR:esptool script execution failed with err 2
WARNING:Failed to remove temp file 'c:\users\lachlan\appdata\local\temp\tmp5rbwjg' (13)!
Traceback (most recent call last):
  File "espcoredump.py", line 1192, in <module>
    main()
  File "espcoredump.py", line 1187, in main
    operation_func(args)
  File "espcoredump.py", line 904, in dbg_corefile
    loader = ESPCoreDumpFlashLoader(args.off, port=args.port)
  File "espcoredump.py", line 735, in __init__
    self.fcore = self._load_coredump(off)
  File "espcoredump.py", line 768, in _load_coredump
    raise e
subprocess.CalledProcessError: Command '['C:\\Users\\lachlan\\.espressif\\python_env\\idf4.0_py2.7_env\\Scripts\\python.exe', 'C:\\esp\\esp-idf\\components\\esptool_py\\esptool\\esptool.py', u'-c', u'esp32', u'-p', 'COM5', u'read_flash', '1114112', '4', 'c:\\users\\lachlan\\appdata\\local\\temp\\tmp5rbwjg']' returned non-zero exit status 2
Any help would be much appreciated

Cheers,
Gibson

Who is online

Users browsing this forum: No registered users and 111 guests