[SOLVED] Core Dump Issue

User avatar
WardMas
Posts: 72
Joined: Fri Jun 19, 2020 9:09 am

[SOLVED] Core Dump Issue

Postby WardMas » Thu Jul 29, 2021 8:41 am

Hello friends,
I am using ESP-IDF v4.2.2 and espcoredump.py is not working. The command gives the following message when executed from the command prompt:

Code: Select all

Traceback (most recent call last):
  File "C:-\Desktop\esp-idf-v4.2.2\components\espcoredump\espcoredump.py", line 1810, in <module>
    main()
  File "C:-\Desktop\esp-idf-v4.2.2\components\espcoredump\espcoredump.py", line 1790, in main
    if args.debug == 0:
AttributeError: 'Namespace' object has no attribute 'debug'
Any help would be appreciated.
You can always visit my YouTube channel for embedded systems related tutorials
https://youtube.com/user/wardzx1

User avatar
WardMas
Posts: 72
Joined: Fri Jun 19, 2020 9:09 am

Re: [SOLVED] Core Dump Issue

Postby WardMas » Wed Aug 04, 2021 7:07 am

It turned out that the command espcoredump.py should start with "python" so the command is executed properly. I followed the following syntax and the command worked fine:

Code: Select all

  python espcoredump.py --chip esp32 info_corefile -t b64 -c (destination to the coredump file) (destination to the running firmware elf file)
You can always visit my YouTube channel for embedded systems related tutorials
https://youtube.com/user/wardzx1

Who is online

Users browsing this forum: No registered users and 144 guests