-->
Page 6 of 7

Re: Build 20150108 does not always restart cleanly

PostPosted: Mon Jan 12, 2015 8:59 am
by alonewolfx2
I tried power cycle and node.restart more than 10 repeat and its working fine. it seems problem solved.

Re: Build 20150108 does not always restart cleanly

PostPosted: Mon Jan 12, 2015 11:18 am
by zeroday
alonewolfx2 wrote:I tried power cycle and node.restart more than 10 repeat and its working fine. it seems problem solved.

great, at least we know what and where causes the problem.

Re: Build 20150108 does not always restart cleanly

PostPosted: Mon Jan 12, 2015 1:50 pm
by kmpm
I just compiled the latest from git ( a2d1e5ff2b ) v0.9.5, using the compiler I got from esp-open-sdk (gcc) and I flashed using the esptool.py way.
Code: Select allmake
make flash


Then I uploaded a small init.lua script that just connects to my wireless and prints the IP once every second.

I was able to do > 50 power cycles without any issues.

Re: Build 20150108 does not always restart cleanly

PostPosted: Mon Jan 12, 2015 3:43 pm
by hamishcunningham
I've been getting the same problem, and the user_main.c fix doesn't work for me :-(

I commented out those lines, recompiled and reflashed (make, make flash), but it didn't make any difference.

The only way I can get it to restart is to go into flash mode (with the relevant pin held low) and then back to normal mode. The first restart after that works, but subsequently it hangs in the same way that others have reported.

Any ideas?

Cheers

Hamish