Search found 51 matches

by NevynSelby
Sat Aug 16, 2025 10:01 am
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

Got it working, thanks for the help.
by NevynSelby
Tue Aug 12, 2025 6:57 pm
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

What tools are you using, and what version?

ESP IDF, v5.5-1-gb66b5448e0-dirty

Application is built using:


idf.py build flash monitor


What operating system?

MacOS, latest version, fully patched.

What development boards, and what chip is on them?

ESP-WROVER-KIT (ESP32-D0WDQ6 (revision ...
by NevynSelby
Mon Aug 11, 2025 10:25 am
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

Tried this on a few boards, all ESP32 and I get the same results.

Regards,
Mark
by NevynSelby
Thu Aug 07, 2025 1:48 pm
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

So changed to SHA256 as you don't trust CRC32.

Full output:


rst:0x10 (RTCWDT_RTC_RESET),boot:0x3e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1396
load:0x40078000,len:13708
load ...
by NevynSelby
Thu Aug 07, 2025 12:27 pm
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

Yes, I see that in running

Code: Select all

idf.py monitor
What I don't see is any information in the retrieved coredump when running these commands

Code: Select all

parttool.py --port /dev/tty.usbserial-1101 read_partition --partition-name coredump --output coredump.bin
idf.py coredump-info -c coredump.bin
by NevynSelby
Thu Aug 07, 2025 9:36 am
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

So the following commands:


parttool.py --port /dev/tty.usbserial-1101 read_partition --partition-name coredump --output coredump.bin
idf.py coredump-info -c coredump.bin


generates the following output:


Executing action: coredump-info ...
by NevynSelby
Thu Aug 07, 2025 6:51 am
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

Re: ESP Coredump in Flash Cannot be Read

No luck, Command:


idf.py coredump-info


Output:


A fatal error occurred: Corrupt data, expected 0x1000 bytes but received 0x18d bytes


And these commands:


parttool.py --port /dev/tty.usbserial-2101 read_partition --partition-name coredump --output coredump.bin


Looks to have worked ...
by NevynSelby
Wed Aug 06, 2025 9:33 am
Forum: ESP-IDF
Topic: ESP Coredump in Flash Cannot be Read
Replies: 14
Views: 713

ESP Coredump in Flash Cannot be Read

IDF: 5.5
Board: ESP-WROVER-KIT

I have taken the hello_world and added an assert into the code to trigger a failure. The assertion is triggered and the output seems to suggest that coredump is being created.

I then try to read the coredump and the tool set is not reading the coredump from flash ...
by NevynSelby
Tue Jul 29, 2025 5:37 pm
Forum: ESP-IDF
Topic: CPU Startup Fails When Using Heap Task Tracking
Replies: 7
Views: 1383

Re: CPU Startup Fails When Using Heap Task Tracking

I have run the advanced sample and that works.

Merging the CONFIG entry and the code to print the heap statistics into my app (which works without this code/configuration) causes the issue.

Regards,
Mark
by NevynSelby
Tue Jul 29, 2025 11:08 am
Forum: ESP-IDF
Topic: CPU Startup Fails When Using Heap Task Tracking
Replies: 7
Views: 1383

Re: CPU Startup Fails When Using Heap Task Tracking

So is this looking like an issue in IDF ?

BTW: Full trace is:


ELF file SHA256: f9920dd7d9c93279

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO ...

Go to advanced search