unwanted reboots with 2.0.0-dev8 and pulse counter enabled

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pppp33
Normal user
Posts: 71
Joined: 25 Oct 2015, 17:53

unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#1 Post by pppp33 » 14 May 2017, 23:15

Hi there,
I'm experiencing unwanted reboot with pulse counter enabled.
I've set up mqtt controller cloudmqtt.com, pulse counter with 10 sec delay.
I get 20-60 minutes of operation, then a reboot.
If i don't enable pulse counter, i don't have these reboots.
Anyone else is having this problem ?
regards
Paolo

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#2 Post by grovkillen » 15 May 2017, 05:56

What gpio are the pulse counter on?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#3 Post by Shardan » 15 May 2017, 14:55

Hello Paolo,

Did you use the binaries from GitHub or did you compile yourself?

And another question for a reason:
Reboot the ESP, then open the website and read the free Memory
let's say every 10 or 15 minutes until it reboots.
(Pls. refresh the page when reading, it is static).

Is the memory decreasing?

Regards
Shardan
Regards
Shardan

pppp33
Normal user
Posts: 71
Joined: 25 Oct 2015, 17:53

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#4 Post by pppp33 » 15 May 2017, 20:17

Hi there,
thanx for yr support....
Here are first answers:
1. I downloaded the updated version 2.0.0-dev8 from github in my atom/platformio, compiled with no error and used normal_4096 binaries
2. pulse counter is on GPIO-14
3. memory is between 20k and 21k: see right part of attached graph, just started monitoring
4. uptime (left part of the graph) is from some minutes to 800 minutes
5. Another esp01 (same version with normal_1024) is over 2 days of uptime without a flaw
If helps, I'll post a longer time monitoring of mem/uptime....let me know.
Regards
Paolo
Cattura.PNG
Cattura.PNG (48.51 KiB) Viewed 8503 times

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#5 Post by Shardan » 15 May 2017, 20:44

Hello paolo,

that does not look like a memory leak, it's quite well.

i was just asking because the ready compiled binary under certain circumstances had some issues with a memory leak.
If you compiled it yourselffrom the newest sources this should be solved (Fixed with sources from May 2nd, '17)
If you want to try a bit, i've compiled the fixed version and put a 4096-binary for download here:
https://www.letscontrolit.com/forum/vie ... 7&start=20
Maybe try with a R147 or R148 version to make sure it's no hardware issue.

GPIO 14 should be fine.

Reboots can have a lot of reasons from leftovers in the flash to powersupply with everything in between.
It might help if we can get some more details about what you're doing, maybe a photo of the device.

Is that right, you're using two ESP-01 ?

Regards
Shardan
Regards
Shardan

pppp33
Normal user
Posts: 71
Joined: 25 Oct 2015, 17:53

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#6 Post by pppp33 » 15 May 2017, 21:25

Hi Shardan,
thx for fast repsonse
1. I downloaded the bin and i'll check ASAP
2. I used this same unit with 147 and 148 and it was fine: I already know it for sure....
3. The rebooting unit is a nodemcu, but it's the same that worked fine with 147-148
4. The esp01 is only used to compare behaviour: I can see what's happen if I enable pulse counter on it....
Regards
Paolo

pppp33
Normal user
Posts: 71
Joined: 25 Oct 2015, 17:53

Re: unwanted reboots with 2.0.0-dev8 and pulse counter enabled

#7 Post by pppp33 » 15 May 2017, 21:45

Actually, this unit is running some jobs: see pics:
Cattura.PNG
Cattura.PNG (47.43 KiB) Viewed 8487 times
Cattura2.PNG
Cattura2.PNG (22.88 KiB) Viewed 8487 times

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests