Page 1 of 1
Memory usage
Posted:
Mon Feb 29, 2016 7:46 am
by Alexandre Pinheiro
Hi all,
Is there any routine able to output through serial monitor the amount of ffee memoru in the ESP8266?
I'm using the arduino IDE to compile my projects. I'm making use of MySQL Connection and getting constant hangs. Very frustrating. I'm trying to figure if it's memory related or not.
Thank you,
Re: Memory usage
Posted:
Mon Feb 29, 2016 8:23 am
by xtal
using include ESP8266WiFi.h the following core cmds work for me..
/* Serial.print("ESP.getBootMode(); ");
Serial.println(ESP.getBootMode());
Serial.print("ESP.getSdkVersion(); ");
Serial.println(ESP.getSdkVersion());
Serial.print("ESP.getBootVersion(); ");
Serial.println(ESP.getBootVersion());
Serial.print("ESP.getChipId(); ");
Serial.println(ESP.getChipId());
Serial.print("ESP.getFlashChipSize(); ");
Serial.println(ESP.getFlashChipSize());
Serial.print("ESP.getFlashChipRealSize(); ");
Serial.println(ESP.getFlashChipRealSize());
Serial.print("ESP.getFlashChipSizeByChipId(); ");
Serial.println(ESP.getFlashChipSizeByChipId());
Serial.print("ESP.getFlashChipId(); ");
Serial.println(ESP.getFlashChipId());
heap = ESP.getFreeHeap();
*/
Re: Memory usage
Posted:
Thu Mar 03, 2016 7:44 am
by Alexandre Pinheiro
Thank You! You helped a lot. Unfortunately I found that memory is not the problem I facing. The memory is still OK after executing the queries. Now I can focus on the SQL routine. It hangs after some time.