ESP8266 Developer Zone The Official ESP8266 Forum 2017-11-06T16:03:05+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=6888 2017-11-06T16:03:05+08:00 2017-11-06T16:03:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6888&p=18010#p18010 <![CDATA[Re: UART1]]> Statistics: Posted by Guest — Mon Nov 06, 2017 4:03 pm


]]>
2017-10-11T22:48:14+08:00 2017-10-11T22:48:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6888&p=16376#p16376 <![CDATA[UART1]]>
i am trying to use UART1 for debugging.

This is what i have done so far:

- Connected FTDI RX pin to ESP8266 GPIO2
- user_init():
uart_init(BIT_RATE_115200, BIT_RATE_115200);
os_install_putc1((void *)uart1_write_char);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2, FUNC_U1TXD_BK);
os_printf("Hello");

I did point uart1_write_char to the same function in your uart.c file.
Is this correct? Or should i implement it by myself?

My problem is that there is no data at all received by my terminal program in Ubuntu.

What am i doing wrong?

Best regards,
potter68

Statistics: Posted by potter68 — Wed Oct 11, 2017 10:48 pm


]]>