I've made a couple of project on the esp8266 but the most recent polls a POP3 server every couple of minutes and displays appropriate message on a matrix display.
The matrix display part i think is ok as it runs for days on end in a clock project, and polls an NTP server once every 24 hours
The addition of a send/receive etc every 5 minutes brings about random crashes which present them seleves as garbage output on the debug port.
I'm not sure if this is a watchdog reset (though it doesn't restart) or a crash.
Are there any tools for monitoring memory/stack usage as on standard zbasic platforms so i can see if something is causing a resource exhaustion ?
is there any way from zbasic code i can reset the watchdog. I have Yield in various places and the whole project is event driven so this shouldn't be an issue.
Have others found this platform to be stable long term ?
ESP8266 crashes
Re: ESP8266 crashes
I haven't seen any such tools. You might search on the official ESP8266 forum.FFMan wrote:Are there any tools for monitoring memory/stack usage as on standard zbasic platforms so i can see if something is causing a resource exhaustion ?
http://www.esp8266.com
There is no API in ZBasic itself. I don't recall seeing anything in the ESP8266 API but there may be something.FFMan wrote:is there any way from zbasic code i can reset the watchdog
I have seen comments on the ESP8266 forum and elsewhere about intability but it's not clear if it is the user code or the system itself.FFMan wrote:Have others found this platform to be stable long term ?
- Don Kinzer
I've given up on the esp8266 as a platform to run code on. Still useful as a wifi module but as a precaution i always implement the ability for a zbasic cpu to reset the esp8266 if it becomes unresponsive.
The only matrix display clock project running on the esp8266 calls ResetProcessor at 3am and that seems to work OK, but frequent use of the wifi causes random crashes.
The only matrix display clock project running on the esp8266 calls ResetProcessor at 3am and that seems to work OK, but frequent use of the wifi causes random crashes.