Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.15 KB

File metadata and controls

32 lines (23 loc) · 1.15 KB

Coredump

This component configures the firmware for storage and downloading ESP-IDF core dump.

WARNING: This is an advanced component, and you need to understand what you need it for.

Configuration

external_components:
  - source: github://dentra/esphome-components
    # we need additional partitions component here
    components: [coredump, partitions]

coredump:

Usage

Navigate to http://[node_name].local/coredump/ where [node_name] is the name of your esphome configured node. Now here you have a buttons with actions:

  • Download - download coredump.elf to your PC (available only when core dump exist)
  • Erase - erase existing core dump information (available only when core dump exist)
  • Test Crash - generate assertion to test core dump (available only when no cored ump exists)

Decoding

To decode core dump you need a firmware ELF binary. Here is a sample decoding command:

espcoredump.py --chip esp32c3 info_corefile \
  --core ~/Downloads/coredump.elf \
  config/.esphome/build/coredump-test/.pioenvs/coredump-test/firmware.elf