Chat freely about anything...

User avatar
By Alexandre Pinheiro
#42105 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,
User avatar
By xtal
#42107 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();
*/
User avatar
By Alexandre Pinheiro
#42301 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.