-->
Page 31 of 34

Re: node.dsleep() reliability - zombie mode

PostPosted: Thu Apr 30, 2015 5:05 am
by Eyal
delinend wrote:Around 17.9K


Since you are building your own fw: I remove (#define->#undef) all unused modules in app/include/user_modules.h and gain many Ks of heap. YMMV

HTH

Re: node.dsleep() reliability - zombie mode

PostPosted: Thu Apr 30, 2015 9:17 am
by MKoehler
Hi,

I was wondering if I got the right firmware build with SDK 1.0.0 libs to get rid of zombie mode:

https://github.com/chadouming/nodemcu-f ... latest.bin

If I use this firmware, I get zombie mode after about 100 to 2000 restarts :roll: on a Wi07-12 module:

http://www.ebay.de/itm/ESP8266-serial-W ... 27f4939213

I am running another test on a standard Wi07-01 module with additional connection from GPIO16 to RESET to make restart possible. This test has not failed yet (about 4000 restarts so far and still running) using only 2 NIMH AA accus.

If it is the proper module do I have to use some specific flashing instructions? I use the latest NODEMCU Firmware Flasher with address 0*00000 for firmware_latest.bin

If anyone has a firmware the does not “zombify” please post a link. I would gladly test it thoroughly with some more complex programs.

Heinz-Georg

Re: node.dsleep() reliability - zombie mode

PostPosted: Thu Apr 30, 2015 1:57 pm
by cal
Moin,

I read that one should flash blank bin when changing sdk versions and only
flashing parts because otherwise code maybe confused because structure changed.

Hope that helps,
Cal

Re: node.dsleep() reliability - zombie mode

PostPosted: Fri May 01, 2015 1:40 am
by delinend
Eyal wrote:
delinend wrote:Around 17.9K


Since you are building your own fw: I remove (#define->#undef) all unused modules in app/include/user_modules.h and gain many Ks of heap. YMMV

HTH


Hi Eyal.

Soory.. I can't build self. But I want to.. Do you know where to start? Can I use a Raspberry with GCC or do I have to use a Ubuntu? I think the best in the start, to get more Heap, is as you say to disable modules, that I'm not going to use.
The FW I have tested, was linked nicely from @Cal https://github.com/chadouming/nodemcu-firmware, and the dsleep work on that FW for me. But I have many cripts, that is to large for that FW.

Thanks and best regards