Post topics, source code that relate to the Arduino Platform

User avatar
By aligh78
#96244 Hi everyone. I have a general question about ESP8266.

I use serial.print() in different lines of code for debugging. Recently i finished debugging, removed those serial.print()s and programmed my MCU again. Strangely, I saw those serial.print()s again!! I am sure that i have removed them but they appear again. note that i use erase_flash before uploading the code to clear the flash.

I also tried to program the first code (without any debugging serial.print) on a new module and again saw the debugging prints in serial monitor!!

Does anybody have an idea?

I am working with ESP-12E module and use PlatformIO to program my module.
User avatar
By QuickFix
#96253 Messages, at 74880 Baud, like this by any chance?

Code: Select allets Jan  8 2014,rst cause 1, boot mode:(3,7)

load 0x40100000, len 24236, room 16
tail 12
chksum 0xb7
ho 0 tail 12 room 4
load 0x3ffe8000, len 3008, room 12
tail 4
chksum 0x2c
load 0x3ffe8bc0, len 4816, room 4
tail 12
chksum 0x46
csum 0x46
Those are boot messages and no: you cannot get rid of them; it's similar to the POST of your PC.

If you see other messages than this, it actually is something in your own code, possibly output by a library you're using? :idea:
User avatar
By aligh78
#96328
QuickFix wrote:
If you see other messages than this, it actually is something in your own code, possibly output by a library you're using? :idea:


Hi and thanks for your help.
Actually it was my silly mistake! I had added a line of Serial.print() code in one of libraries which i was using; and it was causing the problem.