-->
Page 1 of 1

PWM hang up after a while

PostPosted: Thu Oct 15, 2015 8:18 am
by ulko
Hi,
I'm using PWM for 4 channels with SDK V1.3.0 for control of a RGBW lamp.
After perfect start and working for rather long time with changing colors, the PWM is out of control: Lamp is flickering with several colors.
This happens, when new commands via http are sent in short intervals.
System output then endless:
E:M 1592
E:M 1592
System then hangs up.
Any idea what the message means???
Regards
ulko

Re: PWM hang up after a while

PostPosted: Mon Nov 09, 2015 8:51 am
by piperpilot
I just noticed the same thing on my unit...not sure what it means either...it wasn't related to PWM, but http Server in my case.

Re: PWM hang up after a while

PostPosted: Wed Nov 11, 2015 10:54 am
by quanttom
Sorry to bring up an old topic.

I am getting a similar error when using a TCP client to get the weather from an online weather API. It works fine for a few hours, after a few hours it fails to retrieve the weather with that error being shown over and over again.

Here is a snipped from what is happening. I will try and debug this issue over the next while.
Code: Select allDownload: http://api.openweathermap.org:80/data/2.5/weather?id=6094817&units=metric&appid=<MY API KEY IS HERE>
+TCP connection
connect to: api.openweathermap.org
realloc 125 -> 256
===========
WIFI Status:
Successful connected
===========
DNS record found: api.openweathermap.org = 162.243.58.21
TcpConnection::connect result:, 0
OnConnected
TCP connected
onReadyToSendData: 0
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
===========
WIFI Status:
Successful connected
===========
E:M 1592
E:M 1592
E:M 1592
TCP received: (null)
Failed onGetWeather
Server response: ''
TCP connection closing
-TCP connection

Re: PWM hang up after a while

PostPosted: Fri Nov 13, 2015 10:51 am
by quanttom
From the evidence I have gathered so far this seems to be related to exhaustion of heap memory.