Chat freely about anything...

User avatar
By riker1
#72932 Hi
I have a lolin3 and NodeMCU V3.

Code is running on lolin but not on NodeMCU.

anything to check and take off?

Compiled and uploaded with same options via Arduino IDE


Exception (3):
epc1=0x40212e74 epc2=0x00000000 epc3=0x00000000 excvaddr=0x400d01b9 depc=0x00000000

ctx: cont
sp: 3fff2ee0 end: 3fff3160 offset: 01a0

>>>stack>>>
3fff3080: 3fff2050 00000208 00000208 4010020c
3fff3090: 400d01b9 3fff1c8c 3fff30c0 40100690
3fff30a0: 3fff46c4 2e383631 3fff2078 4020f535
3fff30b0: 3fffdad0 3fff1c8c 3fff2078 40206248
3fff30c0: 00000000 00000000 00000000 feefeffe
3fff30d0: feefeffe feefeffe feefeffe feefeffe
3fff30e0: feefeffe feefeffe 3ffeb048 a000a8c0
3fff30f0: feefeffe feefeffe feefeffe feefeffe
3fff3100: feefeffe feefeffe feefeffe feefeffe
3fff3110: feefeffe feefeffe feefeffe 3fff44ec
3fff3120: 0000000f 0000000d feefeffe feefeffe
3fff3130: feefeffe feefeffe feefeffe 3fff2138
3fff3140: 3fffdad0 00000000 3fff2130 40210f20
3fff3150: feefeffe feefeffe 3fff2140 40100710
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)
User avatar
By rappare
#72963 Sorry, if you guys think I'm highjacking this thread, just tell me and I'll shut up :-)

It's just that I have a similar problem... at least I think so.

I followed the tips of dragodaud and here is my decoded exception(3):
Code: Select allDecoding 12 results
0x4010068c: free at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\umm_malloc/umm_malloc.c line 1733
0x402049fe: String::operator=(String&&) at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 73
0x40202381: ShowValuesOnDisplay() at C:\Users\rwesthed\Documents\Arduino\Wemos\OilLevel_Sens_v06_WebServer_OLED\OilLevel_Sens_v06_WebServer_OLED/OilLevel_Sens_v06_WebServer_OLED.ino line 483
0x40204531: Print::write(char const*) at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Print.cpp line 76
0x4020342a: WiFiServer::available(unsigned char*) at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiServer.cpp line 109
0x4020455c: Print::println() at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Print.cpp line 76
0x40201436: delay at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_wiring.c line 53
0x402026d0: loop at C:\Users\rwesthed\Documents\Arduino\Wemos\OilLevel_Sens_v06_WebServer_OLED\OilLevel_Sens_v06_WebServer_OLED/OilLevel_Sens_v06_WebServer_OLED.ino line 273
0x40203b68: MicroOLED::clear(unsigned char) at C:\Users\rwesthed\Documents\Arduino\libraries\SparkFun_Micro_OLED\src/SFE_MicroOLED.cpp line 383
0x402021ea: setup at C:\Users\rwesthed\Documents\Arduino\Wemos\OilLevel_Sens_v06_WebServer_OLED\OilLevel_Sens_v06_WebServer_OLED/OilLevel_Sens_v06_WebServer_OLED.ino line 483
0x40204be0: loop_wrapper at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56
0x40100718: cont_norm at C:\Users\rwesthed\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/cont.S line 109


This doesn't mean anything to me I'm afraid. I can paste the code as well but will do so only by request (not to steal to much space since it's not my thread).

Best regards,
Richard
User avatar
By kina
#76034 hi

after some days now it "seem" that i could solve ( for me ) this RST issue..
my setup:

node mcu v3 / LoLin ( ebay ) - on top: nRF24+
i use nRF24Mesh to transfer wifi scan data to a master
basically the wire ( RF24 ) is the same on both ( slave or master )
BUT: on slave i periodically got RST..on Master Never!?
what i tried:
almost everything i found here concerning this issue!
Isolated different functions
...slave fired the RST without a logical "pattern"

Here is what i do the moment to fix this for me:

ordered this dev-board: baseboad:
https://www.amazon.de/gp/product/B06XHG ... UTF8&psc=1

and for the rf24 this:
https://www.amazon.de/gp/product/B06Y62 ... UTF8&psc=1

wired all together ( same SW ) and the RST is /was gone ..this work now for 4hrs...

So it seem that my issue came from bad/weak power supply!? before i used the on borad plug ( USB ) from MCU...as said on the Master no problem. It MAY be that the esp promiscuous ( is only on slave used!! ) has some impact on the power consumption? I even ordered a "powered USB-HUB" before...without success. Only this "extra" power supply seemed to fix the issue.

So - for the moment it is fine ..i will take this know how on the dependency of a propper power supply as a BASE-LINE .