Skip to content

WiFi crash after 12 hours  #511

Closed
Closed
@mitchsf

Description

@mitchsf

This happens repeatedly, I've been testing over the last week. It is compiled with the debug option set. I think it's crashing when WiFi disconnects, and tries to reconnect. The program basically tests the WiFi connection, then gets NTP time every five minutes. Processframe() is an ISR firing every 10ms. Possibly calling the ISR during a particular WiFi event is causing the crash.

stime & get gps or ntp
after ntp
[D][WiFiGeneric.cpp:182] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:187] _eventCallback(): Reason: 1 - UNSPECIFIED
Connecting to SSID: Greyhound-2.4
Password: xxxxxxxxxxxxx

stop get wifi
[D][WiFiGeneric.cpp:182] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:187] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[D][WiFiGeneric.cpp:182] _eventCallback(): Event: 4 - STA_CONNECTED
[D][WiFiGeneric.cpp:182] _eventCallback(): Event: 7 - STA_GOT_IP
[D][WiFiGeneric.cpp:182] _eventCallback(): Event: 5 - STA_DISCONNECTED
[W][WiFiGeneric.cpp:187] _eventCallback(): Reason: 8 - ASSOC_LEAVE
Connecting to SSID: Greyhound-2.4
Password: xxxxxxxxxxxxx

stop get wifi
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Register dump:
PC : 0x400d0fc0 PS : 0x00060034 A0 : 0x40081e79 A1 : 0x3ffc0be0
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x000000ff A5 : 0x400860e8
A6 : 0x00000020 A7 : 0x3ffca0b8 A8 : 0x800810fc A9 : 0xe00a1400
A10 : 0x00000000 A11 : 0x3ffc127c A12 : 0x20000000 A13 : 0x00000001
A14 : 0x00000400 A15 : 0xffffffff SAR : 0x00000014 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x400d0fc0:0x3ffc0be0 0x40081e79:0x3ffc0c00

CPU halted.

Exception decoder -

0x400d0fc0: processFrame() at C:\Users\Mitchell\SkyDrive\Arduino\GC-1000ESP/GC-1000ESP.ino line 431
0x40081e79: _xt_lowint1 at xtensa_vectors.o line ?
0x400860e8: _frxt_int_enter at ?? line ?
0x400d0fc0: processFrame() at C:\Users\Mitchell\SkyDrive\Arduino\GC-1000ESP/GC-1000ESP.ino line 431
0x40081e79: _xt_lowint1 at xtensa_vectors.o line ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions