Page 1 of 1

Stop exception code on serial

Posted: Wed Mar 23, 2016 10:30 pm
by Fugazi

I have tried using :-


but when the program crashes, this still comes out on Serial... how to stop ?

I use Serial for comms......


Exception (28):
epc1=0x4000bf0e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff1a30 end: 3fff1cf0 offset: 01a0

3fff1bd0: 000002bc 3fff18e0 3fff1c34 402136b4
3fff1be0: 3ffe8d3c 3ffefc84 3ffefc84 402136f0
3fff1bf0: 3ffefdd8 3ffefc84 3fff0c04 40208192
3fff1c00: 00000000 00000000 00000000 ffdfffff
3fff1c10: 3ffe8fc8 00000000 000003e8 00006b70
3fff1c20: 3fff0774 3fff64e8 00000000 00000000
3fff1c30: 00000000 3fff6a88 00000f2f 00000f25
3fff1c40: 3fff5f88 0000000f 00000000 00000009
3fff1c50: 00000019 00000001 00000000 3fff5f8f
3fff1c60: 3fff5f88 3fff0bd8 3fff1cbc 3fff0cc8
3fff1c70: 3fffdc20 3fff0bd8 3fff0c04 4020101c
3fff1c80: 4010684c 3fff0c04 3ffefe9c 402091fd
3fff1c90: 3fff5ca0 3fff30d8 0000000f 00000000
3fff1ca0: 00000010 00000065 3fff0c04 40207a35
3fff1cb0: 00000000 00000000 00000016 40101c79
3fff1cc0: 4020e6d5 00000006 00b6fa31 3fff0cc8
3fff1cd0: 3fffdc20 00000000 3fff0cc1 4020e6fd
3fff1ce0: 00000000 00000000 3fff0cd0 40100114

Re: Stop exception code on serial

Posted: Tue Mar 29, 2016 1:34 am
by Fugazi
IF anyone needs to do this, need to edit core_esp8266_postmortem.c to remove the prints and the stack is gone :)