mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
Update CN translation for coredump
This commit is contained in:
@@ -59,22 +59,24 @@ Setting this option to 0 bytes will cause the core dump routines to run from the
|
||||
If a separate stack is used, the recommended stack size should be larger than 1300 bytes to ensure that the core dump routines themselves do not cause a stack overflow.
|
||||
|
||||
|
||||
Core Dump Memory Regions
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
.. only:: not esp32c5
|
||||
|
||||
By default, core dumps typically save CPU registers, tasks data and summary of the panic reason. When the :ref:`CONFIG_ESP_COREDUMP_CAPTURE_DRAM` option is selected, ``.bss`` and ``.data`` sections and ``heap`` data will also be part of the dump.
|
||||
Core Dump Memory Regions
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
For a better debugging experience, it is recommended to dump these sections. However, this will result in a larger coredump file. The required additional storage space may vary based on the amount of DRAM the application uses.
|
||||
By default, core dumps typically save CPU registers, tasks data and summary of the panic reason. When the :ref:`CONFIG_ESP_COREDUMP_CAPTURE_DRAM` option is selected, ``.bss`` and ``.data`` sections and ``heap`` data will also be part of the dump.
|
||||
|
||||
.. note::
|
||||
For a better debugging experience, it is recommended to dump these sections. However, this will result in a larger coredump file. The required additional storage space may vary based on the amount of DRAM the application uses.
|
||||
|
||||
.. only:: SOC_SPIRAM_SUPPORTED
|
||||
|
||||
Apart from the crashed task's TCB and stack, data located in the external RAM will not be stored in the core dump file, this include variables defined with ``EXT_RAM_BSS_ATTR`` or ``EXT_RAM_NOINIT_ATTR`` attributes, as well as any data stored in the ``extram_bss`` section.
|
||||
.. note::
|
||||
|
||||
.. note::
|
||||
Apart from the crashed task's TCB and stack, data located in the external RAM will not be stored in the core dump file, this include variables defined with ``EXT_RAM_BSS_ATTR`` or ``EXT_RAM_NOINIT_ATTR`` attributes, as well as any data stored in the ``extram_bss`` section.
|
||||
|
||||
This feature is only enabled when using the ELF file format.
|
||||
.. note::
|
||||
|
||||
This feature is only enabled when using the ELF file format.
|
||||
|
||||
Core Dump to Flash
|
||||
------------------
|
||||
|
Reference in New Issue
Block a user