-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange output on serial port when reset ESP #3047
Comments
It is normal in ESP8266 and is independent of the framework you use. Espressif says it can not be disabled. But you should connect GPIO15 as TX and GPIO13 as RX and swap the default pins after the boot. You should not receive the garbage. Another option may be to transmit with Serial1 (GPIO2) and receive with Serial (GPIO3). Serial1.println(); Serial1 should not transmit the initial garbage. I can't try it today. Another option (not good) use SoftwareSerial library for ESP8266 and any other pin available. |
Thanks for answear. I will check this solutions soon :) |
For completeness:
It's a start up message from the espressif bootloader and is at 74880 baud.
Or the baud rate set for a soft reset (as opposed to a power cycle)
On 15/03/2017 7:26 pm, "tomaszmacnar" <notifications@github.com> wrote:
Thanks for answear. I will check this solutions soon :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3047 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAN_AwNHtLo8aj2_JfLnozOsOOGRMrHfks5rl4ScgaJpZM4MdLz4>
.
|
No, it's a boot log from the ROM. For that reason Espressif can't deactivate it, at least that's what they say. |
Yes, the ROM bootloader. Which, among other things, outputs log information on the reset cause and the boot mode.
covers it. |
Those messages can't be avoided on the main serial port. If you need a clean startup, please follow the suggestions above. |
That is a serious problem. I spent a week debugging a circuit of a DHT and ESP8266-01 and because I was using GPIO2 (which is also a serial TXD1) and the esp is throwing this boot message on all Serials it seems. So, on ESP8266-01 only one pin available, and that is GPIO-0 |
Basic Infos
Hardware
Hardware: ESP-07
Core Version: 2.3.0
Description
When upload any program (for example Blink) I have output (like in screen) on serial port. I need to have clean console. How to fix it ?
![outut2](https://cloud.githubusercontent.com/assets/26419756/23923983/32acb430-0909-11e7-8d28-3e360bb83908.PNG)
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 1MB
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: 40Mhz
Upload Using: no_ide_how_it_check
Reset Method: ck
The text was updated successfully, but these errors were encountered: