Hi All; I’m building a tiny motion detection sensor using ESP8266-01 and PIR. Please refer to the code below. I registered the device o thinger.io and I added an Endpoint for the event and then trigger an IFTT event etc …all works like charm. The issue is after sometime (random) the device goes offline (thinger.io) and doesnt come back online till I reset it. Note, sometimes work for 30-40minutes others of 8-15min.
I doubt that there is hardware issue; I’m using one of the FT232RL to power the ESP8266 and the sensor. It provides regulated 3.3V and 5V.
I did think about te debug mode and collected some dump - attached to this email.
I’m not experienced with the ESP8266 and Thinger - I hope someone smarter than me can give me some advice.
Code:
#define _DEBUG_
#include <ESP8266WiFi.h>
#include <ThingerWifi.h>
//#include <ThingerSmartConfig.h>
#define USERNAME "someuser"
#define DEVICE_ID "A001"
#define DEVICE_CREDENTIAL "some_credential"
#define SSID "SomeSSID"
#define SSID_PASSWORD "Some_Password"
int MOTION_SENSOR = 2;
ThingerWifi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
//ThingerSmartConfig thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
void pinChanged() {
thing.call_endpoint("MOTION_SENSOR");
}
void setup() {
Serial.begin(115200);
delay(200);
attachInterrupt(MOTION_SENSOR, pinChanged, RISING);
thing.add_wifi(SSID, SSID_PASSWORD);
}
void loop() {
thing.handle();
}
Some of the debug messages:
[NETWORK] Connecting to network HotSpot
[NETWORK] Connected to WiFi!
[NETWORK] Getting IP Address…
[NETWORK] Got IP Address: HotSpot
[NETWORK] Connected!
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Error while connecting!
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Connected!
[THINGER] Authenticating. User: SomeUser Device: A001
[THINGER] Writing bytes: 36 [OK]
[THINGER] Authenticated
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Connected!
[THINGER] Authenticating. User: SomeUser Device: A001
[THINGER] Writing bytes: 36 [OK]
[THINGER] Authenticated
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [FAIL]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 2 [OK]
[THINGER] Available bytes: 2
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 22 [FAIL]
[_SOCKET] Connecting to iot.thinger.io:25200…
[_SOCKET] Connected!
[THINGER] Authenticating. User: SomeUserDevice: A001
[THINGER] Writing bytes: 36 [OK]
[THINGER] Authenticated
[THINGER] Writing bytes: 22 [FAIL]
[THINGER] Writing bytes: 2[THINGER] Writing bytes: 24
Exception (9):
epc1=0x401010e6 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000003 depc=0x00000000
ctx: sys
sp: 3ffffbf0 end: 3fffffb0 offset: 01a0
stack>>>
3ffffd90: 3fff11b0 00000018 00000002 3fff1188
3ffffda0: 00000018 4010124f 00000000 3fff1910
3ffffdb0: 00000001 00000000 402012d0 00001388
3ffffdc0: 3ffeec38 3ffeeb5c 3fff1128 00000000
3ffffdd0: 00000000 00000018 3fff0e70 40203eee
3ffffde0: 00000001 3ffeecfc 3ffeeb58 40203f18
3ffffdf0: 00000001 3ffeecfc 3ffeeb58 402021d9
3ffffe00: 00000008 3ffffe50 3ffeeb5c 3ffffe50
3ffffe10: 3ffeeb5c 3ffeeb58 00000000 40202bf4
3ffffe20: 3ffe8608 00000014 3fff1128 4020351c
3ffffe30: 3ffedf38 00000002 00000000 00000001
3ffffe40: c0035025 00000002 00000000 40203567
3ffffe50: 40220000 00000008 3fff10f8 00000000
3ffffe60: 736c6500 34617274 44444530 00000035
3ffffe70: 4010673c 00000000 00000000 4010678a
3ffffe80: ffffffff 00000020 00000000 3ffe9b08
3ffffe90: 00000000 00000000 0000001f 00000022
3ffffea0: 3fffc200 40106704 3fffc258 4000050c
3ffffeb0: 40000f68 00000030 00000011 ffffffff
3ffffec0: 40000f58 00000000 00000020 00000000
3ffffed0: 39143d29 00000001 00000000 bfffffff
3ffffee0: ffffffff 3fffc6fc fc70ffff 3fffdab0
3ffffef0: 00000000 3fffdcb0 3ffe8a60 00000030
3fffff00: 00000000 00000000 3ffebaef 3ffebb74
3fffff10: 3ffebb0c 3ffebb28 00000000 00000000
3fffff20: 3ffe90e4 4010124f 0000007d 4020b350
3fffff30: 00000001 00000000 40214a1b 3ffe90e4
3fffff40: 3ffe8a50 3ffe90e4 000175b1 4020b44c
3fffff50: 40214a84 3ffe90e4 3ffe8a50 b6a797fd
3fffff60: 00000001 00000000 40212998 60000600
3fffff70: 4020ec7c 3ffe8a50 3ffe8dec 4020ec5d
3fffff80: 4020eca2 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffe8a60 40000f65 3fffdab0 00000000
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<
Exception (9):
epc1=0x40101155 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000
ctx: sys
sp: 3ffff9f0 end: 3fffffb0 offset: 01a0
stack>>>
3ffffb90: 00000001 00000000 00000014 40213d8f
3ffffba0: 4020ee06 3ffe8aa0 00000000 00000000
3ffffbb0: 00000004 4020efb7 3ffffd90 402011fa
3ffffbc0: 3ffffd90 0000000c a0120472 14bc877c
3ffffbd0: 40201348 3ffffd90 3fffffb0 4020120f
3ffffbe0: 3ffffd90 fffffff7 eb9002eb 4020120c
3ffffbf0: 00000020 00000008 00000038 3ffffcd0
3ffffc00: 00000002 00000009 401010e6 00000000
3ffffc10: 00000000 00000003 00000000 00000003
3ffffc20: 0000003c 3ffec970 3fff0690 3fff12d8
3ffffc30: 4022eff0 401010e6 00000000 00000000
3ffffc40: 00000000 00000003 00000000 40211bdd
3ffffc50: 00000002 00000009 401010e6 00000000
3ffffc60: 00000000 00000003 00000000 40101bb3
3ffffc70: 40101b94 3fffc100 00000000 00000009
3ffffc80: 00000009 401010e6 3ffe8eb8 3ffe8e40
3ffffc90: 400005e1 3ffe8eb8 3ffec970 7fffffff
3ffffca0: 401010e6 00000033 0000000b 4020db5d
3ffffcb0: ffffffff 392c29cf 3ffeec38 392c29cf
3ffffcc0: 3ffeec38 3ffe8a50 00010000 00a20000
3ffffcd0: 00000000 0000059c 00000018 0017d784
3ffffce0: 3ffeec38 00000000 00000000 00000009
3ffffcf0: 4010687e 3ffeeb58 00000001 3ffffd40
3ffffd00: 401013e5 3fff1168 3fff1168 4020218c
3ffffd10: 4010687e 3ffeeb58 00000001 00000000
3ffffd20: 401013e5 3fff1168 3fff1168 0000000d
3ffffd30: 3ffeecfc 00000001 3ffffd9f 40204fac
3ffffd40: 3ffeeb0d 00000001 3ffeeb5c 3ffeecfc
3ffffd50: 3fff11a0 4020a30b 00000000 3fff0db0
3ffffd60: 3fff0db0 00000000 3fff1910 00000000
3ffffd70: 00000000 0000000d 3ffffd9d 00000000
3ffffd80: 00000000 3fff0db0 00000000 4020a698
3ffffd90: 3fff11b0 00000018 00000002 3fff1188
3ffffda0: 00000018 4010124f 00000000 3fff1910
3ffffdb0: 00000001 00000000 402012d0 00001388
3ffffdc0: 3ffeec38 3ffeeb5c 3fff1128 00000000
3ffffdd0: 00000000 00000018 3fff0e70 40203eee
3ffffde0: 00000001 3ffeecfc 3ffeeb58 40203f18
3ffffdf0: 00000001 3ffeecfc 3ffeeb58 402021d9
3ffffe00: 00000008 3ffffe50 3ffeeb5c 3ffffe50
3ffffe10: 3ffeeb5c 3ffeeb58 00000000 40202bf4
3ffffe20: 3ffe8608 00000014 3fff1128 4020351c
3ffffe30: 3ffedf38 00000002 00000000 00000001
3ffffe40: c0035025 00000002 00000000 40203567
3ffffe50: 40220000 00000008 3fff10f8 00000000
3ffffe60: 736c6500 34617274 44444530 00000035
3ffffe70: 4010673c 00000000 00000000 4010678a
3ffffe80: ffffffff 00000020 00000000 3ffe9b08
3ffffe90: 00000000 00000000 0000001f 00000022
3ffffea0: 3fffc200 40106704 3fffc258 4000050c
3ffffeb0: 40000f68 00000030 00000011 ffffffff
3ffffec0: 40000f58 00000000 00000020 00000000
3ffffed0: 39143d29 00000001 00000000 bfffffff
3ffffee0: ffffffff 3fffc6fc fc70ffff 3fffdab0
3ffffef0: 00000000 3fffdcb0 3ffe8a60 00000030
3fffff00: 00000000 00000000 3ffebaef 3ffebb74
3fffff10: 3ffebb0c 3ffebb28 00000000 00000000
3fffff20: 3ffe90e4 4010124f 0000007d 4020b350
3fffff30: 00000001 00000000 40214a1b 3ffe90e4
3fffff40: 3ffe8a50 3ffe90e4 000175b1 4020b44c
3fffff50: 40214a84 3ffe90e4 3ffe8a50 b6a797fd
3fffff60: 00000001 00000000 40212998 60000600
3fffff70: 4020ec7c 3ffe8a50 3ffe8dec 4020ec5d
3fffff80: 4020eca2 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffe8a60 40000f65 3fffdab0 00000000
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<
Exception (9):
epc1=0x40101155 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000
ctx: sys
sp: 3ffff7f0 end: 3fffffb0 offset: 01a0
stack>>>
3ffff990: 00000000 00000000 00000000 3ffff920
3ffff9a0: 4020ee06 3ffe8aa0 00000007 40008320
3ffff9b0: 00000004 4020efb7 3ffffb90 402011fa
3ffff9c0: 3ffffb90 0000000c 4021e78e ffffffff
3ffff9d0: 40201348 3ffffb90 3fffffb0 4020120f
3ffff9e0: 3ffffb90 fffffff7 00000010 4020120c
3ffff9f0: 00000020 00000000 00000010 00000000
3ffffa00: 00000002 00000009 40101155 00000000
3ffffa10: 00000000 ffffffff 00000000 ffffffff
3ffffa20: 0000003c 3ffedb50 00002000 00008000
3ffffa30: 4022eff0 40101155 00000000 00000000
3ffffa40: 00000000 ffffffff 00000000 40211bdd
3ffffa50: 00000002 00000009 40101155 00000000
3ffffa60: 00000000 ffffffff 00000000 40101bb3
3ffffa70: 40101b94 3fffc100 3fffffb0 00000009
3ffffa80: 00000009 40101155 0000001f 401011a1
3ffffa90: 400005e1 00000000 00000000 00000000
3ffffaa0: 40101155 00000033 00000005 ffffffe0
3ffffab0: ffffffff ffffffff 3fffdcc0 40080000
3ffffac0: 3ffe8a50 40000000 3fffdb00 3ffe9090
3ffffad0: 00000001 00000000 00000001 3ffe8aa4
3ffffae0: 3fffffb0 3fffffb0 00000020 00000009
3ffffaf0: 3fffd848 40002364 00000026 ffffffff
3ffffb00: 40001da0 00000078 00000000 00000010
3ffffb10: 40001f46 0000000b 915efb33 98d72355
3ffffb20: 30303034 39346630 4d130500 2f51a877
3ffffb30: d5ead8e9 83d0cf40 82541c72 f296b91f
3ffffb40: 4000b570 00000008 00000038 3ffffc20
3ffffb50: 00000000 00000000 00000000 00000000
3ffffb60: 00000000 3ffffbd0 3ffffbd0 3ffe87a0
3ffffb70: 40002514 3fffdd3c 3fffffb0 3fffffb0
3ffffb80: 00000020 00000008 00000004 00000000
3ffffb90: 00000001 00000000 00000014 40213d8f
3ffffba0: 4020ee06 3ffe8aa0 00000000 00000000
3ffffbb0: 00000004 4020efb7 3ffffd90 402011fa
3ffffbc0: 3ffffd90 0000000c a0120472 14bc877c
3ffffbd0: 40201348 3ffffd90 3fffffb0 4020120f
3ffffbe0: 3ffffd90 fffffff7 eb9002eb 4020120c
3ffffbf0: 00000020 00000008 00000038 3ffffcd0
3ffffc00: 00000002 00000009 401010e6 00000000
3ffffc10: 00000000 00000003 00000000 00000003
3ffffc20: 0000003c 3ffec970 3fff0690 3fff12d8
3ffffc30: 4022eff0 401010e6 00000000 00000000
3ffffc40: 00000000 00000003 00000000 40211bdd
3ffffc50: 00000002 00000009 401010e6 00000000
3ffffc60: 00000000 00000003 00000000 40101bb3
3ffffc70: 40101b94 3fffc100 00000000 00000009
3ffffc80: 00000009 401010e6 3ffe8eb8 3ffe8e40
3ffffc90: 400005e1 3ffe8eb8 3ffec970 7fffffff
3ffffca0: 401010e6 00000033 0000000b 4020db5d
3ffffcb0: ffffffff 392c29cf 3ffeec38 392c29cf
3ffffcc0: 3ffeec38 3ffe8a50 00010000 00a20000
3ffffcd0: 00000000 0000059c 00000018 0017d784
3ffffce0: 3ffeec38 00000000 00000000 00000009
3ffffcf0: 4010687e 3ffeeb58 00000001 3ffffd40
3ffffd00: 401013e5 3fff1168 3fff1168 4020218c
3ffffd10: 4010687e 3ffeeb58 00000001 00000000
3ffffd20: 401013e5 3fff1168 3fff1168 0000000d
3ffffd30: 3ffeecfc 00000001 3ffffd9f 40204fac
3ffffd40: 3ffeeb0d 00000001 3ffeeb5c 3ffeecfc
3ffffd50: 3fff11a0 4020a30b 00000000 3fff0db0
3ffffd60: 3fff0db0 00000000 3fff1910 00000000
3ffffd70: 00000000 0000000d 3ffffd9d 00000000
3ffffd80: 00000000 3fff0db0 00000000 4020a698
3ffffd90: 3fff11b0 00000018 00000002 3fff1188
3ffffda0: 00000018 4010124f 00000000 3fff1910
3ffffdb0: 00000001 00000000 402012d0 00001388
3ffffdc0: 3ffeec38 3ffeeb5c 3fff1128 00000000
3ffffdd0: 00000000 00000018 3fff0e70 40203eee
3ffffde0: 00000001 3ffeecfc 3ffeeb58 40203f18
3ffffdf0: 00000001 3ffeecfc 3ffeeb58 402021d9
3ffffe00: 00000008 3ffffe50 3ffeeb5c 3ffffe50
3ffffe10: 3ffeeb5c 3ffeeb58 00000000 40202bf4
3ffffe20: 3ffe8608 00000014 3fff1128 4020351c
3ffffe30: 3ffedf38 00000002 00000000 00000001
3ffffe40: c0035025 00000002 00000000 40203567
3ffffe50: 40220000 00000008 3fff10f8 00000000
3ffffe60: 736c6500 34617274 44444530 00000035
3ffffe70: 4010673c 00000000 00000000 4010678a
3ffffe80: ffffffff 00000020 00000000 3ffe9b08
3ffffe90: 00000000 00000000 0000001f 00000022
3ffffea0: 3fffc200 40106704 3fffc258 4000050c
3ffffeb0: 40000f68 00000030 00000011 ffffffff
3ffffec0: 40000f58 00000000 00000020 00000000
3ffffed0: 39143d29 00000001 00000000 bfffffff
3ffffee0: ffffffff 3fffc6fc fc70ffff 3fffdab0
3ffffef0: 00000000 3fffdcb0 3ffe8a60 00000030
3fffff00: 00000000 00000000 3ffebaef 3ffebb74
3fffff10: 3ffebb0c 3ffebb28 00000000 00000000
3fffff20: 3ffe90e4 4010124f 0000007d 4020b350
3fffff30: 00000001 00000000 40214a1b 3ffe90e4
3fffff40: 3ffe8a50 3ffe90e4 000175b1 4020b44c
3fffff50: 40214a84 3ffe90e4 3ffe8a50 b6a797fd
3fffff60: 00000001 00000000 40212998 60000600
3fffff70: 4020ec7c 3ffe8a50 3ffe8dec 4020ec5d
3fffff80: 4020eca2 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffe8a60 40000f65 3fffdab0 00000000
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
<<<stack<<<
Exception (9):
epc1=0x40101155 epc2=0x00000000 epc3=0x00000000 excvaddr=0xffffffff depc=0x00000000