Guru Meditation Error of type StoreProhibited occurred on core

artkeller
Posts: 2
Joined: Sat Feb 03, 2018 8:11 am

Guru Meditation Error of type StoreProhibited occurred on core

Postby artkeller » Sat Feb 03, 2018 9:52 am

The ESP32 example WifiScan.ino was compiled with Arduino IDE 1.8.4 for the M5Stack Core(Gray with 4MB RAM) and started properly. After some loops, probably in WiFi.scanNetworks() strange things happen, and I don't understand the trace massages. What happened? And what is this overkill at the end? The Guru seems to love secrets...

Code:

Code: Select all

/*
 *  This sketch demonstrates how to scan WiFi networks.
 *  The API is almost the same as with the WiFi Shield library,
 *  the most obvious difference being the different file you need to include:
 */
#include "WiFi.h"

void setup()
{
    Serial.begin(115200);

    // Set WiFi to station mode and disconnect from an AP if it was previously connected
    WiFi.mode(WIFI_STA);
    WiFi.disconnect();
    delay(100);

    Serial.println("Setup done");
}

void loop()
{
    Serial.println("scan start");

    // WiFi.scanNetworks will return the number of networks found
    int n = WiFi.scanNetworks();
    Serial.println("scan done");
    if (n == 0) {
        Serial.println("no networks found");
    } else {
        Serial.print(n);
        Serial.println(" networks found");
        for (int i = 0; i < n; ++i) {
            // Print SSID and RSSI for each network found
            Serial.print(i + 1);
            Serial.print(": ");
            Serial.print(WiFi.SSID(i));
            Serial.print(" (");
            Serial.print(WiFi.RSSI(i));
            Serial.print(")");
            Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
            delay(10);
        }
    }
    Serial.println("");

    // Wait a bit before scanning again
    delay(5000);
}-
Traces
The Start - OK
  • ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    entry 0x40078a3c
    Setup done
    scan start
    scan done
    34 networks found
    1: NETBLN25-C1 (-47)*
    2: Lead Dynamic_ACCF23A89A66 (-73)*
    ...
    33: WLAN-CCBA34 (-92)*
    34: WLAN-2AA685_EXT (-94)*
System crashes...
  • scan start
    scan done
    45 networks found
    1: XXXXLN25-C1 (-51)*
    2: Vodafone Homespot (-79)
    ...
    44: XXXXZ! (-94)*
    45: XXXX-325031 (-95)*

    scan start
    Guru Meditation Error of type StoreProhibited occurred on core 0. Exception was unhandled.
    Register dump:
    PC : 0x400fca58 PS : 0x00060930 A0 : 0x800fd6e8 A1 : 0x3ffd8640
    A2 : 0x00000000 A3 : 0x3ffde714 A4 : 0x3ffde81c A5 : 0x00000001
    A6 : 0x000007b3 A7 : 0x0013c13c A8 : 0x3ffc80e0 A9 : 0x0000013c
    A10 : 0x80133bff A11 : 0x3ffde826 A12 : 0x00000006 A13 : 0x00000080
    A14 : 0x3ffde254 A15 : 0x00000001 SAR : 0x00000036 EXCCAUSE: 0x0000001d
    EXCVADDR: 0x00000008 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

    Backtrace: 0x400fca58:0x3ffd8640 0x400fd6e5:0x3ffd8710 0x401082c1:0x3ffd8730 0x40109c0f:0x3ffd8780

    Rebooting...
    ets Jun 8 2016 00:22:57

    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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x05851055,len:92603456
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    csum err:0xa9!=0x40
    ets_main.c 371
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0x00
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x00000000,len:0
    load:0xffffffff,len:1073676316
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    entry 0x40078a3c
    user code done
    ets Jun 8 2016 00:22:57

    rst:0x1 (POWERON_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    entry 0x40078a3c
    Setup done
    scan start
    scan done
    26 networks found
    1: XXXXLN25-C1 (-42)*
    2: XXXX Dynamic_ACCF23A89A66 (-71)*
    ...
    25: Vodafone Hotspot (-93)
    26: XXXXEAR94 (-96)*
... and shortly later...
  • scan start
    scan done
    20 networks found
    1: XXXXLN25-C1 (-45)*
    2: Vodafone Homespot (-77)
    ...
    19: XXXXZ!Box 7362 SL (-92)*
    20: XXXXkkuchen (-92)*

    scan start
    Guru Meditation Error of type InstrFetchProhibited occurred on core 0. Exception was unhandled.
    Register dump:
    PC : 0xdfdddfdd PS : 0x00060130 A0 : 0x400f8dce A1 : 0x3ffd85f0
    A2 : 0x3ffde2d8 A3 : 0x3ffde734 A4 : 0x3f406440 A5 : 0x00000010
    A6 : 0x3ffd86a0 A7 : 0x3ffd019c A8 : 0xdfdddfdd A9 : 0x3f406440
    A10 : 0x3ffde73e A11 : 0x3ffd86a6 A12 : 0x000d85c0 A13 : 0x3ffde744
    A14 : 0x3ffd5c96 A15 : 0x3ffd5c96 SAR : 0x00000010 EXCCAUSE: 0x00000014
    EXCVADDR: 0xdfdddfdc LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0xffffffff

    Backtrace: 0x5fdddfdd:0x3ffd85f0 0x400f8dcb:0x3ffd8630 0x400fb334:0x3ffd8690 0x400fde5b:0x3ffd86d0 0x400fdee1:0x3ffd86f0 0x400fbd57:0x3ffd8710 0x400fbdb3:0x3ffd8750 0x400fbf97:0x3ffd8770 0x400fe967:0x3ffd8790 0x400f6735:0x3ffd87b0 0x400f676b:0x3ffd87d0 0x400f7037:0x3ffd87f0 0x40109bc3:0x3ffd8810

    Rebooting...
    ets Jun 8 2016 00:22:57

    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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    csum err:0x7e!=0x2b
    ets_main.c 371
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x40050014,len:68
    load:0x65442f6f,len:1869900659
    1162 mmu set 00010000, pos 00010000
    1162 mmu set 00020000, pos 00020000
    1162 mmu set 00030000, pos 00030000
    1162 mmu set 00040000, pos 00040000
    1162 mmu set 00050000, pos 00050000
    1162 mmu set 00060000, pos 00060000
    1162 mmu set 00070000, pos 00070000
    1162 mmu set 00080000, pos 00080000
    1162 mmu set 00090000, pos 00090000
    1162 mmu set 000a0000, pos 000a0000
    1162 mmu set 000b0000, pos 000b0000
    1162 mmu set 000c0000, pos 000c0000
    1162 mmu set 000d0000, pos 000d0000
    1162 mmu set 000e0000, pos 000e0000
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    entry 0x40078a3c
    Setup done
    scan start
    scan done
    22 networks found
    1: XXXXLN25-C1 (-46)*
    2: XXXXZ!Box 7490 (-82)*
    ...
    21: Vodafone Hotspot (-93)
    22: Vodafone Home (-95)*
... and than the overkill
  • scan start
    scan done
    23 networks found
    1: VVVVLN25-C1 (-42)*
    2: Vodafone Hotspot (-77)
    ...
    22: Vodafone Homespot (-93)
    23: XXXXNET_plus (-95)*

    scan start
    Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled.
    Register dump:
    PC : 0x40108c40 PS : 0x00060330 A0 : 0x80109f2b A1 : 0x3ffd8610
    A2 : 0x3ffd019c A3 : 0x0b7c0b19 A4 : 0xffffffdf A5 : 0x0000004c
    A6 : 0x3ffde8b4 A7 : 0x3ffc60bc A8 : 0x80108fb8 A9 : 0x3ffd8600
    A10 : 0x0000023a A11 : 0x00000170 A12 : 0x00000000 A13 : 0x00000001
    A14 : 0x00060320 A15 : 0xc002a04c SAR : 0x0000001f EXCCAUSE: 0x0000001c
    EXCVADDR: 0x0b7c0b19 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

    Backtrace: 0x40108c40:0x3ffd8610 0x40109f28:0x3ffd8640 0x401028e1:0x3ffd8670 0x400f93b9:0x3ffd8690 0x400fb334:0x3ffd86f0 0x400fde5b:0x3ffd8730 0x400fdee1:0x3ffd8750 0x400fbd57:0x3ffd8770 0x400fbd77:0x3ffd87b0 0x400fdab7:0x3ffd87d0 0x400fdba6:0x3ffd87f0 0x40109bc3:0x3ffd8810

    Rebooting...
    ets Jun 8 2016 00:22:57

    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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x0505105d,len:84214848
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0x00
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x00000000,len:0
    load:0xffffffff,len:1073676316
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x40050014,len:76
    load:0x51514055,len:1145324885
    1162 mmu set 00010000, pos 00010000
    1162 mmu set 00020000, pos 00020000
    1162 mmu set 00030000, pos 00030000
    1162 mmu set 00040000, pos 00040000
    1162 mmu set 00050000, pos 00050000
    1162 mmu set 00060000, pos 00060000
    1162 mmu set 00070000, pos 00070000
    1162 mmu set 00080000, pos 00080000
    1162 mmu set 00090000, pos 00090000
    1162 mmu set 000a0000, pos 000a0000
    1162 mmu set 000b0000, pos 000b0000
    1162 mmu set 000c0000, pos 000c0000
    1162 mmu set 000d0000, pos 000d0000
    1162 mmu set 000e0000, pos 000e0000
    ets Jun 8 2016 00:22:57

    rst:0x10 (RTCWDT_RTC_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, clock div:1
    load:0x3fff0018,len:4
    load:0x3fff001c,len:956
    load:0x40078000,len:0
    load:0x40078000,len:11904
    entry 0x40078a3c
    Setup done
    scan start
    ets Jun 8 2016 00:22:57

    rst:0x7 (TG0WDT_SYS_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, clock div:1
    load:0x3fff0018,len:4
    load:0x40050014,len:68
    load:0x00545041,len:67114260
    ets Jun 8 2016 00:22:57

    rst:0x7 (TG0WDT_SYS_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, ?????x??x?~???????x??xx?xx?????f?????????x??xx?xx???????f?????????????x?
An explanation from the guru would be very polite! Thank you!

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Guru Meditation Error of type StoreProhibited occurred on core

Postby WiFive » Sun Feb 04, 2018 4:27 am

Erratic behavior suggest power supply/cable issues.

Who is online

Users browsing this forum: No registered users and 54 guests