Hello,
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
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.