ESP8266 Developer Zone The Official ESP8266 Forum 2016-05-25T23:22:01+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2212 2016-05-25T23:22:01+08:00 2016-05-25T23:22:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2212&p=7080#p7080 <![CDATA[Re: Silencing serial boot messages]]> Statistics: Posted by TriMesh — Wed May 25, 2016 11:22 pm


]]>
2016-05-24T17:27:24+08:00 2016-05-24T17:27:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2212&p=7053#p7053 <![CDATA[Silencing serial boot messages]]>
I am trying to interface my ESP8266 against a pre-existing device over RS-485 (via a TTL-RS485 converter), and wish to suppress the transmission of the boot status messages (the ones at 77400kbps) via the serial Tx line to avoid causing issues for the device.

Looking at the UART documentation, it says that I should call "system_uart_swap". While putting this as the first line in my "user_init" function does suppress any further output (e.g. any "os_printf" invocations), it doesn't stop the boot messages. Likewise, only calling the "system_uart_deswap" function before "os_printf", followed immediately by another "system_uart_swap" does not stop the messages at the next boot.

Is there some other place that I should be invoking "system_uart_swap", or should I change things so that I transmit via UART 1, and receive via UART 0, bypassing the UART 0 transmit functionality?

(I am using SDK version 1.5.2 via the pfalcon "esp-open-sdk" GitHub repository)

Thanks,

Ian

Statistics: Posted by itmarshall — Tue May 24, 2016 5:27 pm


]]>