Page 1 of 1

Coredump logging in RTC memory of ESP32

Posted: Thu May 04, 2023 11:51 am
by shriya_dhar
Hello,

Is it possible to load the coredump logs into the RTC memory of the ESP32? Or maybe load the crash reason into canary byte?

I know that there are attribute variables like RTC_NOINIT_ATTR/RTC_DATA_ATTR that access the RTC_SLOW_MEM (at 0x50000000) but can they log bigger strings (for example, the coredump).

Also, are the functions rtc_mem_read and rtc_mem_write deprecated without any other function to use in their place, compatible with v4.3 of esp-idf?

Thank you.