Open romses opened 1 year ago
AutoConnect has been verified to work with Wemons D1 mini. It's probably not an AutoConnect problem. Enable AC_DEBUG, then check with the following minimal code.
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <AutoConnect.h>
AutoConnect portal;
void setup() {
delay(1000);
Serial.begin(115200);
Serial.println();
portal.begin();
}
void loop() {
portal.handleClient();
}
same here, at connection to the ESP AP...
any ideas?
at build i have many warnings about
warning: 'DynamicJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations]
66 | using ArduinoJsonBuffer = DynamicJsonDocument;
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Unhandled C++ exception: OOM
>>>stack>>>
ctx: cont
sp: 3ffff5d0 end: 3fffffc0 offset: 0000
3ffff5d0: 3fff722c 3fff78fc 00000f59 0000002a
3ffff5e0: 000000fe 00000000 00000000 00000000
3ffff5f0: 00000000 00000000 00000000 00000001
3ffff600: 00007fff 00000000 3ffe8b74 3fffa30c
3ffff610: 4026cbc2 40218d7c 00000fb0 40226d52
3ffff620: 4026cbc2 40218d7c 00000020 40226d71
3ffff630: 4026cbc2 3fff78fc 00000fb0 402264c8
3ffff640: 4026cbc2 3fff78fc 00000fb0 40218d7c
3ffff650: 000000f7 3fff7874 3ffff6e0 4023d57c
3ffff660: 00000000 002a002f 00000000 00000000
3ffff670: 37206d6f 00000000 3fffb00c 0f830f8f
3ffff680: 80000000 00000001 3ffff730 40225776
3ffff690: 3fff8264 3ffff6e0 00000000 00000051
3ffff6a0: 3fff8264 4026cbc2 4026cbc2 3fff7c30
3ffff6b0: 3ffffd04 00000020 3fffa474 3fff7c34
3ffff6c0: 3ffffd04 3ffff730 3ffff6e0 40218e3a
3ffff6d0: 3ffffd04 3ffff730 3fff4bc4 4021b3ce
3ffff6e0: 00000000 0046004f 00000000 4021405f
3ffff6f0: 3fff7c58 00000001 3fffa05c 402140a4
3ffff700: 3ffed8fb 3fff7764 3ffff730 3ffffd04
3ffff710: 0000007b 00000000 3ffff730 4022fb0b
3ffff720: 0000007b 00000000 3fffa05c 402142b7
3ffff730: 3fffaec4 013d013f 80000000 4022fae8
3ffff740: 3fff7584 0039003f 40215390 4022fae8
3ffff750: 3fff9d0c 000b000f 8a004e45 40227566
3ffff760: 3fffa850 3fffa888 3fffa850 40211cf2
3ffff770: 0000012c 40270930 3ffff780 000004f6 <
3ffff780: 3fffa05c 3fffa9c4 000003d6 40214340
3ffff790: 3ffffd04 3fff8af4 3fff5008 40212235
3ffff7a0: 00000000 3fff8af4 00000020 3fffa9c4
3ffff7b0: 000004f6 3fff8af4 3fff5008 40214af8
3ffff7c0: 40230e7c 00000000 000003e8 00000000
3ffff7d0: 00000000 3fffa9c4 000004f6 a8b71c01
3ffff7e0: 000004f6 73cc277c 7ae11ce5 de1ad555
3ffff7f0: 396855a3 2c6d3b15 18685a08 b01b8b0f
3ffff800: 4000b5f9 00000008 00000038 3ffff8e0
3ffff810: 00000008 3ffff8e0 57fc1b1d 131372a9
3ffff820: b28386fe 5941c1df 8efc2b6a 32910919
3ffff830: 45c808ed d6eea6a2 60bc2832 8fde0238
3ffff840: 2c25f90a 69434f15 9f223f31 851b7cc1
3ffff850: 541cfec0 6b5452d7 ddbab32d 5d67f7d1
3ffff860: 51b59c71 816f84bc ca0e1eb8 bc2a2c4b
3ffff870: 0a0174ff c019d349 33c08dff 8e705784
3ffff880: ebfd0fc1 387e935d 279b3922 90fa4494
3ffff890: 4000b62e c5b4d35b 500d0486 431106f7
3ffff8a0: 4000b6c4 3ffff8e0 3ffffa70 ffffffff
3ffff8b0: 4000b72e 3ffff8c0 00000008 aaf22191
3ffff8c0: 00000000 00000000 4000a333 3ffff9e8
3ffff8d0: 3ffffa70 3ffff9c8 3fff887c 41a81674
3ffff8e0: 00000000 00000000 00000000 00000000
3ffff8f0: 00000003 00000000 0000000a 00000000
3ffff900: 00000003 00000000 40263ee3 00000001
3ffff910: ffffffff 00000000 3ffef571 00000008
3ffff920: 40263f32 3fff2b40 3fff727c 00020021
3ffff930: 00000002 00000000 00000020 401002a0
3ffff940: 00000005 00000005 00000002 401023a0
3ffff950: 3ffef422 40262ff3 3fff2b40 3fff9e0c
3ffff960: 00000000 4024c5eb 3fff973c 3fff727c
3ffff970: 00000000 00000002 00000000 3fff2b40
3ffff980: 3fff9e42 40105c7b 3fff85bc 3fff58d4
3ffff990: 3fff7524 09d11c11 c4318b07 3ffffab0
3ffff9a0: 3ffffa40 4023d94d 3fff85bc 3fff58d4
3ffff9b0: 00000003 5c5c5c5c 5c5c5c5c 5c5c5c5c
3ffff9c0: 4026f3cf 3ffe8368 40239204 3fff5938
3ffff9d0: 3fff5938 3fff9e0c 3fff9e0c 4023db7b
3ffff9e0: 3fff5970 3fff9e0c 00000000 4023dfda
3ffff9f0: 3fff5c08 00000000 40263ee3 00000001
3ffffa00: ffffffff 00000000 3ffef571 00000008
3ffffa10: 40263f32 3fff2b40 3fff727c 00020021
3ffffa20: 4026403e 3fff2b40 3fff727c 3fff2b40
3ffffa30: 00000005 00000005 00000008 3fffa490
3ffffa40: 3ffef422 40262ff3 3fff2b40 3fffa474
3ffffa50: 00000000 4024c5eb 3fff973c 3fff727c
3ffffa60: 00000000 00000002 00000000 3fff2b40
3ffffa70: 3fffa4aa 40105c7b 3fff85d8 3fff58d4
3ffffa80: 3fff7524 3fff2eb0 00000000 401023a0
3ffffa90: 00007fff 4023d94d 3fff85d8 3fff58d4
3ffffaa0: 00000000 00000010 00000020 40100ddc
3ffffab0: 00007fff 00d191d7 3ffffb60 3fff5938
3ffffac0: 3fff5938 3fffa474 3fffa474 4023db7b
3ffffad0: 3fff5970 3fffa474 00000000 4023dfda
3ffffae0: 3fff5c08 0000075f 3ffffbc4 3ffffbd0
3ffffaf0: 0000000c 00000000 00000020 401002a0
3ffffb00: 3fff5938 3fff5970 0000000c 401023a0
3ffffb10: 3ffef42c 40101cea 04000000 3ffffbd0
3ffffb20: 00000001 00000004 4000067d 00000000
3ffffb30: 00000000 00000000 00000000 401032ca
3ffffb40: 40103341 3fff9b38 3fff5938 40243e58
3ffffb50: 00000000 0000089f 3ffe8b74 40100bd3
3ffffb60: 3fffa4b8 2c9f0300 4000050c 3fffc278
3ffffb70: 401032e4 3fffc200 00000022 00000046
3ffffb80: 4000067d 00000030 00000010 ffffffff
3ffffb90: 00000000 0b44cb5b 000037a2 00000000
3ffffba0: 00000041 0b44cb5b 3ffffcc1 3ffffcc0
3ffffbb0: 00000089 3ffffcc1 2b68cb5b 00000000
3ffffbc0: 00d950fd 0000000d 0040535d 00000030
3ffffbd0: 00000000 4022fae8 00000000 402456e2
3ffffbe0: 0000089f 0000089f 3ffe8b74 3fffa2d4
3ffffbf0: 00000000 00000010 00000020 40100ddc
3ffffc00: 00000000 00000010 3ffffcb0 40100e14
3ffffc10: 00000020 00000020 3ffffcf0 40100e14
3ffffc20: 00000000 00000000 0000001f 401002a0
3ffffc30: 00000750 00000750 3fffc228 40105ed1
3ffffc40: 4000050c 481c99c4 6c8b4300 004053cd
3ffffc50: 40214b75 00000030 00000010 ffffffff
3ffffc60: 40214b75 00000000 3fff8b58 000000ff
3ffffc70: 0000ff00 00ff0000 40404040 09000073
3ffffc80: 1b0000f7 00000003 3fffff7c 3fff8af4
3ffffc90: 3fff5008 3fff8b58 00000001 00000030
3ffffca0: 00000000 00000000 4bc6a7f0 00000000
3ffffcb0: 401032e4 3fffc200 40100615 00000000
3ffffcc0: 3fff4f7c 3ffffd10 00000000 40225c04
3ffffcd0: 4020c3b8 3fff502c 00001388 3fff5164
3ffffce0: 3ffffd10 3fff4f7c 3fff4d80 40208918
3ffffcf0: 000000d0 3fff4d80 402088f4 40225579
3ffffd00: 00000001 00000000 00000001 40205768
3ffffd10: 3fffa9c4 3fff6a6c 3fffa05c 000000c8
3ffffd20: 00000000 3fff6a70 000004f6 40212dd0
3ffffd30: 00000000 676e6974 00000000 00000001
3ffffd40: 3fff8b58 3fff5008 3fff8af4 40214bc6
3ffffd50: 00000000 00000000 3ffe8b00 3fff5164
3ffffd60: 3fff4e80 3fff5050 3fff5008 4020b310
3ffffd70: 00000000 00000000 00000000 69746365
3ffffd80: 00000000 3fff502c 40100615 00000000
3ffffd90: 00003798 00000000 00000000 00000001
3ffffda0: 00000000 00000000 3fff5008 3fff5164
3ffffdb0: 3fff4e80 3fff502c 3fff5008 4020c3c2
3ffffdc0: 40230f3c 00000000 00001388 40215127
3ffffdd0: 00000000 00000000 3fff9c0c 00000000
3ffffde0: 3fff4e80 00000000 3fff4d80 4020c8c9
3ffffdf0: 3fff4e80 00000000 3fff4d80 4020cc93
3ffffe00: 402320c8 011cd9ac 3fff6b64 40100db2
3ffffe10: 40100306 00000001 3fff84ac 00000000
3ffffe20: 3ffffe60 00000000 3fffff08 40220518
3ffffe30: 0000000a 3fff5574 00000001 3fff5528
3ffffe40: 00000292 00000292 3ffe8b74 40100bd3
3ffffe50: 3fffdad0 4026bacd 3ffffed0 3ffe8b54
3ffffe60: ffffffff 0000ffff 3fff726c 40100db2
3ffffe70: 4026c179 3ffffee4 3ffffedc 3fff4cac
3ffffe80: 00000000 00000020 00000020 3fff4cac
3ffffe90: 00000000 00000020 00000020 40100ddc
3ffffea0: 00000000 00000002 3fff4e10 40100e14
3ffffeb0: 3fffdad0 3ffe8b54 3ffffed0 402169bd
3ffffec0: 000001f9 000001f9 3ffe8b74 3fff4cac
3ffffed0: 3ffe93cb 00000020 3fff4cc4 3fff4cac
3ffffee0: 3fff6da4 00000020 3fff4e10 402253b5
3ffffef0: 00000009 3fff6da4 3fff7910 3fff4cac
3fffff00: 3ffe93cb 00000014 3fff4cc4 3fff4cac
3fffff10: 00000001 00000000 3fff4da4 00000000
3fffff20: 00000000 3fff4f74 00000001 4022549c
3fffff30: 3fff4d80 3fff65ec 3fff4e90 3fff4cac
3fffff40: 3fff4d80 3fff4bc4 3fff53ac 4020d49d
3fffff50: 00000000 37006874 00000000 00000000
3fffff60: 00000000 37206d6f 00000000 4022eedc
3fffff70: 00000050 00000050 3fff7910 00000001
3fffff80: 3fff4cc4 3fff4d38 feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3fff5528
3fffffa0: 3fffdad0 00000000 3fff5514 4022688c
3fffffb0: feefeffe feefeffe 3ffe8b70 40101139
<<<stack<<<
last failed alloc call: 40218D7C(4016)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
last failed alloc caller: 0x40218d7c
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v0007f300
~ld
Autoconnect compiles on ESP8266 (Wemos D1 mini), but cannot run.
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3460, room 16 tail 4 chksum 0xcc load 0x3fff20b8, len 40, room 4 tail 4 chksum 0xc9 csum 0xc9 v00074040 ~ld
I tried several versions and modules.