Where is esp_panic_handler turns into _panic_handler?

ahdenchik
Posts: 2
Joined: Sat Aug 24, 2024 9:21 am

Where is esp_panic_handler turns into _panic_handler?

Postby ahdenchik » Sat Aug 24, 2024 9:34 am

Hi!

My interrupts table contains some default _panic_handler. I run into this _panic_handler for unknown reason which I want to investingate.

But this handler contains first (or just one?) instruction unimp:
0x40380102 _panic_handler+0 unimp

Also I see in my binary what esp_panic_handler(panic_info_t *) is also provided. But no matter what options I use in my `sdkconfig` panic handler mentioned in interrupt vector contains only unimp
issue.png
issue.png (18.07 KiB) Viewed 304 times
So my question is, what is responsible for esp_panic_handler should be used as panic handler instead of unimp? Grep over all `esp-idf` sources gave me absolutely no results.

ahdenchik
Posts: 2
Joined: Sat Aug 24, 2024 9:21 am

Re: Where is esp_panic_handler turns into _panic_handler?

Postby ahdenchik » Sun Aug 25, 2024 10:59 pm

Problem solved by adding CONFIG_ESP_PANIC_HANDLER_IRAM=y

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 115 guests