beckdac / ESP8266-transparent-bridge

Absolutely transparent bridge for the ESP8266
GNU General Public License v2.0
367 stars 95 forks source link

Garbage in UART0 on start ESP8266 #27

Closed fvpalha closed 8 years ago

fvpalha commented 9 years ago

Hi @beckdac .

I would like to clean the TX FIFO before initialize the UART0.

The GPIO15 signal the UART0 config. The GPIO4 signal the uart_tx_char() working.

How I can avoid this? 2015-06-02 10 20 32

beckdac commented 8 years ago

Sorry for the long delay, but I'll assume you figured it out. I suspect that is I/O from the chip bootloader and short of using a custom baud rate. If you find the baud rate for the esp8266 boot loader and can use that value for your application it might be possible to screen out those booting offending commands.

Or just make your client side app more robust in the face of gibberish.