However, I purchased a board, which has support for LiOn charger & a small OLED display, and I cannot get the same code to run on this board as it goes into cyclic resets throwing up exception 28.
I have done many tests on this board and it does work 100% as long as I do not use WiFi.
As soon as I use WiFi it breaks!
Below is some of the serial debug data before & after the crash. I have tried lots of Google searches to try & crack this gobbledeegook, but I have run into a brick wall. Is it a chance that it is faulty silicon Ie. a faulty ESP-12 on the board?
I hope that someone can throw some light in this!
<<<<<<<<<<<<<<<<<<<<<<<< Diagnostic output from my code
/home/lee/Arduino/1.NellieBrett/mqtt_rover_esp8266_oled_Lion/tasks.ino May 2 2019 12:04:15
Flash real id: 001640EF
Flash real size: 4194304 bytes
Flash ide size: 4194304 bytes
Flash ide speed: 40000000 Hz
Flash ide mode: DIO
Flash Chip configuration OK.
Attempting WiFi connection to SSID raspi-webgui MAC: CC:50:E3:2B:49:68
<<<<<<<<<<<<<<<<<<<<<<<< Crashes trying to connect to AP, end of my diagnostic output
>>>>>>>>>>>>>>>>>>>>>>>>> output from ESP8266
Exception (28):
epc1=0x4022202d epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000010 depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffbc0 end: 3fffffc0 offset: 01a0
3ffffd60: 2be350ce 00006849 3fff010c 40238ac8
3ffffd70: 4023f2f1 4023f2f4 3ffed660 000000c0
3ffffd80: 4010616b 00000004 3ffef44c 40217644
3ffffd90: 402293ca 3fff010c 00000003 4022336f
3ffffda0: 3fff010c 00000003 00000003 402233b7
3ffffdb0: 00000000 3ffed660 3ffee4d8 00000000
3ffffdc0: 4023a641 00000003 00000003 00000003
3ffffdd0: 4023a7a5 00000003 00000003 4023a759
3ffffde0: 00000002 00000020 00000001 3ffef8a4
3ffffdf0: 4023a86a 00000003 00000003 00000002
3ffffe00: 40204121 feefeffe feefeffe 3ffeedbc
3ffffe10: 4023a5da 3ffeed08 00000001 3ffe8540
3ffffe20: 00000000 00000001 3ffeed08 4020417e
3ffffe30: 3fffff00 3ffe8a29 3ffe8a20 402043d3
3ffffe40: 00000002 00000009 00000001 feefeffe
3ffffe50: feefeffe feefeffe feefeffe 3ffe8540
3ffffe60: 0000005a 3ffeed08 3fffff60 4021195c
3ffffe70: 3fffff41 feefeffe 7fffffee 3ffeef6c
3ffffe80: 00000020 00000020 00000000 4010094d
3ffffe90: feefeffe 402098c7 3ffeeddc 40212cb8
3ffffea0: 3fffff50 3fffff20 00000008 00000015
3ffffeb0: 3ffeeddc 00000008 3ffffed0 3ffe8540
3ffffec0: 00000020 3fffff60 3fffff60 402098c7
3ffffed0: 3fffff30 00000011 3fffff60 40209913
3ffffee0: 00000008 3030000a 3fffff60 4020995c
3ffffef0: 0000005a 3ffeed08 3fffff60 3ffe8540
3fffff00: 0000005a 00000011 3ffeeddc 402086d8
3fffff10: 3ffeef6c 00000072 00000072 4010066c
3fffff20: 0000005a 3ffeed08 3fffff60 40100ab0
3fffff30: 353a4343 00000000 3ffeed08 00000001
3fffff40: 50cc0038 68492be3 3ffeeddc 3ffe8540
3fffff50: 0000005a 3ffeed08 3ffeeddc 4020289d
3fffff60: 00000000 00000000 00000000 40202a1a
3fffff70: 0001c200 0000001c 3ffeeddc 3ffeeeec
3fffff80: 3fffdad0 3ffe8f31 3ffeeddc 40202a9f
3fffff90: feefeffe 00000000 3ffeeebc 40202ab8
3fffffa0: feefeffe feefeffe feefeffe 4020a40c
3fffffb0: feefeffe feefeffe 3ffe8570 40100b0d
<<<stack<<<
last failed alloc call: 401002E4(133032)
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v951aeffa
~ld