-->
Page 1 of 1

Debugging hints?

PostPosted: Thu Apr 23, 2015 5:32 am
by managed_prune
Hi,

I've had esphttpd successfully compiled and running, and I started customising it to my own project when I suddenly started just getting fatal exceptions, like:

Code: Select allFatal exception (0):
epc1=0x4024093c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000


I've tried tons of things to get it to work again including:
  • Reverting all my changes
  • Checking out a totally clean copy
  • Fetching the latest changes
  • Upgrading my SDK
  • I even tried the new esp-ginx with similar results

I'm using commit 9847755c of esphttpd, and b950d03 of esp-open-sdk, although I was originally on an older version of both. I've tried two different modules, and I flashed nodemcu on one to make sure the hardware still worked.

I'm not really expecting anyone to just solve this for me, but I'm at a loss to actually know how to go about gathering any further diagnostics, or even other things to guess at that could be wrong.

Any hints? Any reading material I've missed?

Thanks!

Re: Debugging hints?

PostPosted: Fri Apr 24, 2015 5:34 am
by Sprite_tm
E_NOCLUE, I fear... maybe flashing blank.bin can help?

Re: Debugging hints?

PostPosted: Sat Apr 25, 2015 7:15 am
by managed_prune
So this turned out to be something I thought I'd ruled out ages ago... the power supply. I'm pretty sure I'd already tried a different one, but maybe there was something else wrong at the time!

I'm slightly surprised that it fails in this way when the power is bad, but there you go!