Random reboot... Custom driver (solved)

Hi experts, I’ve just had my first prototypes of a custom driver arrive - and based on much of the information I have gathered from this project, and you fine experts.

I am having a problem with the ESP8266 rebooting periodically - there doesnt seem to be a specific reason or time interval.

Here is the schematic

.

Are there defects in my design that would cause the ESP8266 to reboot. When it is operational - works beautifully. Reboots can occur after several minutes (max approx 9 minutes), or very short - 10 seconds.

Thank you for any feedback.

My guess is the C2 and C3 combo is not right - I’d value some suggestions on whether I’m on the right track, or not.

I have made some progress researching this problem. I dont think it is a circuit related issue, but how the build needs to be compiled for my custom board.

I have recompiled with more accurate settings and getting better performance/reliability - but still experience crashes.

I have turned on debugging and can see tha the crash occurs:
[11:56:48]Fatal exception 0(IllegalInstructionCause):
[11:56:48]epc1=0x402803a0, epc2=0x00000000, epc3=0x00000000, excvaddr=0x000000ad, depc=0x00000000
[11:56:48]
[11:56:48]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[11:56:48]
[11:56:48]Exception (0):
[11:56:48]epc1=0x402803a0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x000000ad depc=0x00000000
[11:56:48]
[11:56:48]>>>stack>>>
[11:56:48]
[11:56:48]ctx: sys
[11:56:48]sp: 3fffeb10 end: 3fffffb0 offset: 0190

I am also presented with a HEX dump. Any advice on where/how I can determine what causes the crash?

I solved this issue. It was due to using an under rated 3.3V power regulator (250mA). I upgraded to a regulator that enabled a max current of 600mA. My module is now stable.

1 Like