Chat freely about anything...

User avatar
By Hishan
#90049 I get this Exception repeatedly and restarts my nodemcu v1. How can I get rid of this ???

Code: Select allException (9):
epc1=0x40209ad0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x000002f7 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffb00 end: 3fffffc0 offset: 0190
3ffffc90:  3ffffd01 4024e3cd 80000008 3ffee924 
3ffffca0:  3ffffce0 00000001 3fff0280 40204140 
3ffffcb0:  3fffdad0 00000000 3fff0280 40205060 
3ffffcc0:  3ffffd01 00000000 3fffff30 40203b5c 
3ffffcd0:  3fffdad0 00000000 3ffffd00 40202934 
3ffffce0:  00000001 00000000 3fffff30 402029a4 
3ffffcf0:  3fffdad0 00000000 00000001 40203a31 
3ffffd00:  3fff0000 3ffefffc 80fefffc 40209f68 
3ffffd10:  fffffffe 00000000 4010170f 3ffefffc 
3ffffd20:  000000c0 4023373b 00000000 3fff0064 
3ffffd30:  3ffe8f20 402393bf 3ffefffc 3ffed2fc 
3ffffd40:  00000000 4022d39f 3ffed2fc 3ffefffc 
3ffffd50:  3ffe8890 00000000 0000001b 00000004 
3ffffd60:  3fff0096 3ffef044 00000008 3ffeda40 
3ffffd70:  3ffe8890 3ffe8890 3ffef807 4022f1df 
3ffffd80:  3ffed9f4 4022edb0 40231410 3ffed9f4 
3ffffd90:  40105269 0000c967 3ffedb20 00000000 
3ffffda0:  3ffee230 3ffedb20 00000001 00000003 
3ffffdb0:  00000000 000036eb 40230da7 3ffedae8 
3ffffdc0:  3ffedb20 40231410 3ffed9f4 00000000 
3ffffdd0:  3ffed3b0 40230d1c 3ffed2fc 00000012 
3ffffde0:  4022eda0 4022ed74 3ffed3b0 00000012 
3ffffdf0:  4022ed3f 3ffed2fc 00000012 401006fb 
3ffffe00:  4022f2f0 3ffed2fc 00000000 40231410 
3ffffe10:  4022ed1d 3ffed478 00000002 00000000 
3ffffe20:  00000ee8 00008000 3ffe866c 00000000 
3ffffe30:  40241bc6 3ffe851c 3ffe866c 00000000 
3ffffe40:  00001408 00000020 00000020 401009b4 
3ffffe50:  3ffef044 402019cc 3ffe866c 3ffefffc 
3ffffe60:  00000000 00000000 0000001f 40100154 
3ffffe70:  000010f0 45524946 3fffc228 40105125 
3ffffe80:  4000050c feefeffe 00000035 40206930 
3ffffe90:  40201178 00000030 0000001b ffffffff 
3ffffea0:  40201195 00000001 60000304 00000005 
3ffffeb0:  0000002e 3fff2fb0 ffffffff fffffffe 
3ffffec0:  00000280 3fffc6fc 00000001 3ffee8e4 
3ffffed0:  00000000 3fffdad0 3ffee924 00000030 
3ffffee0:  00000000 00000028 3ffee86c 402034a5 
3ffffef0:  00000011 00000030 3fffff80 3ffee888 
3fffff00:  3ffefffc 00000028 3ffee86c 40203542 
3fffff10:  000011b8 00000237 00000000 00000001 
3fffff20:  3ffffd00 00000000 3fff02c4 80fee924 
3fffff30:  40209f18 3fff027c 00000000 3ffee888 
3fffff40:  3fff0088 40209ef0 3fff0280 00000000 
3fffff50:  00000100 3ffee888 3fffff00 40205c2d 
3fffff60:  807a1200 00000008 3fffff90 40205e10 
3fffff70:  3fffdad0 3fffff90 00000005 4020115e 
3fffff80:  00000000 00000000 3ffee8e4 40201195 
3fffff90:  6867694c 31305f74 88fee800 40100175 
3fffffa0:  feefeffe 00000000 3ffee8e4 40206c6c 
3fffffb0:  feefeffe feefeffe 3ffe8534 40100c39 
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------
User avatar
By urs_eppenberger
#90057 I ran your stack trace through the decoder:

Exception 9: LoadStoreAlignmentCause: Load or store to an unaligned address

If you already know where to look in your code to fix this, fine.
If not, I checked google with the above error and found quite a list of results. Maybe this helps.

Kind regards,

Urs.
User avatar
By Hishan
#90066 urs_eppenberger thank you, I found a solution

I tried to downgrade to 2.3.0 and it worked perfectly fine no more exception.

    just go to Tools->Board->Board Manager
    Search for esp8266. ( which is created by ESP8266 Community )
    Change the version to 2.3.0.
    Install and you are ready to rock. (reupload your code to the board)