Error while running wifi code

techievex
Posts: 1
Joined: Fri Jun 14, 2019 12:36 pm

Error while running wifi code

Postby techievex » Fri Jun 14, 2019 12:44 pm

Hi all,

I have been trying to running wifi code in ESP32 module which is placed on a breakout board but there seems to be a guru mediation error, I have already tried to give it external power supply to eliminate the brownout message. But the guru mediation error is still there. Here is the detailed error message and the decoded message too.

Error Message:
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC : 0x4011c121 PS : 0x00060034 A0 : 0x40081778 A1 : 0x3ffbe0a0
A2 : 0x3ffaff7c A3 : 0x00000080 A4 : 0x800892a6 A5 : 0x4008b354
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x8011c0f8 A9 : 0x3ffbe070
A10 : 0x00000001 A11 : 0x3ffb5724 A12 : 0x00000001 A13 : 0x00000001
A14 : 0x00060021 A15 : 0x00000000 SAR : 0x0000001c EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x4000bff0 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4011c121

Backtrace: 0x4011c121:0x3ffbe0a0 0x40081775:0x3ffbe1c0 0x4000bfed:0x3ffb52b0 0x40089e65:0x3ffb52c0 0x4008a404:0x3ffb52e0 0x400828ed:0x3ffb5300 0x400822e6:0x3ffb5320 0x400dd839:0x3ffb5390 0x400dc2c1:0x3ffb53b0 0x400dc901:0x3ffb53d0 0x400db3ad:0x3ffb5450 0x400db45c:0x3ffb54d0 0x400da526:0x3ffb5530 0x400daa59:0x3ffb5570 0x4010e7a5:0x3ffb5590 0x4010e953:0x3ffb55e0 0x4010c35c:0x3ffb5600 0x4010d45a:0x3ffb5630 0x4008f758:0x3ffb5650 0x400885dd:0x3ffb5690

Core 1 register dump:
PC : 0x40139ce6 PS : 0x00060c34 A0 : 0x800d81ca A1 : 0x3ffbc570
A2 : 0x00000000 A3 : 0x80000001 A4 : 0x00000000 A5 : 0x00000001
A6 : 0x00060620 A7 : 0x00000000 A8 : 0x00060023 A9 : 0x3ffbc668
A10 : 0x00000001 A11 : 0x00000001 A12 : 0x800887f0 A13 : 0x3ffbc470
A14 : 0x00000000 A15 : 0x3ffbc260 SAR : 0x00000000 EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x40139ce6:0x3ffbc570 0x400d81c7:0x3ffbc590 0x4008a4dd:0x3ffbc5b0 0x400885dd:0x3ffbc5d0

===============================================================
And here is the decoded file of the error which I got:

PC: 0x4011c121: rtc_isr at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/driver/rtc_module.c line 1972
EXCVADDR: 0x00000000

Decoding stack results

0x4011c121: rtc_isr at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/driver/rtc_module.c line 1972
0x40089e65: vTaskExitCritical at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/tasks.c line 4304
0x4008a404: vTaskPrioritySet at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/tasks.c line 1770
0x400828ed: spi_flash_disable_interrupts_caches_and_other_cpu at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/spi_flash/cache_utils.c line 116
0x400822e6: spi_flash_read at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/spi_flash/flash_ops.c line 155
0x400dd839: nvs::nvs_flash_read(unsigned int, void*, unsigned int) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_ops.cpp line 70
0x400dc2c1: nvs::Page::readEntry(unsigned int, nvs::Item&) const at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_page.cpp line 717
0x400dc901: nvs::Page::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int, unsigned char, nvs::VerOffset) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_page.cpp line 288
0x400db3ad: nvs::Storage::readMultiPageBlob(unsigned char, char const*, void*, unsigned int) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_storage.cpp line 430
0x400db45c: nvs::Storage::readItem(unsigned char, nvs::ItemType, char const*, void*, unsigned int) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_storage.cpp line 455
0x400da526: nvs_get_str_or_blob(nvs_handle, nvs::ItemType, char const*, void*, size_t*) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_api.cpp line 515
0x400daa59: nvs_get_blob(nvs_handle, char const*, void*, size_t*) at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/nvs_flash/src/nvs_api.cpp line 525
0x400885dd: vPortTaskWrapper at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/port.c line 143

PC: 0x40139ce6: esp_pm_impl_waiti at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/pm_esp32.c line 487
EXCVADDR: 0x00000000

Decoding stack results
0x40139ce6: esp_pm_impl_waiti at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/pm_esp32.c line 487
0x400d81c7: esp_vApplicationIdleHook at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/esp32/freertos_hooks.c line 63
0x4008a4dd: prvIdleTask at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/tasks.c line 3412
0x400885dd: vPortTaskWrapper at /Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/port.c line 143


Hope so, somebody can help me out here.!

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Error while running wifi code

Postby ESP_Sprite » Sat Jun 15, 2019 7:54 am

Can you post your code? Just an error dump is not that useful if we don't know what your code tried to do.

Who is online

Users browsing this forum: No registered users and 59 guests