ESP8266 Developer Zone The Official ESP8266 Forum 2021-12-01T23:50:31+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=74589 2021-12-01T23:50:31+08:00 2021-12-01T23:50:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74589&p=100416#p100416 <![CDATA[Re: Question on serial debugging]]> So may I relay on ESP8266 mechanism for connection recovering or should I poll the WIFI connection status in my program any way?

Statistics: Posted by ashelybrown — Wed Dec 01, 2021 11:50 pm


]]>
2021-04-22T17:19:53+08:00 2021-04-22T17:19:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74589&p=99687#p99687 <![CDATA[Re: Question on serial debugging]]> https://github.com/espressif/ESP8266_RTOS_SDK .

Statistics: Posted by Her Mary — Thu Apr 22, 2021 5:19 pm


]]>
2021-01-21T22:24:22+08:00 2021-01-21T22:24:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74589&p=99258#p99258 <![CDATA[Question on serial debugging]]>
I'm new to esp8266 firmware programming. I'm trying to start off by writing simple programs.

I'm using ubuntu linux with the esp-open-sdk. I can compile and flash simple programs (like blink) but I'm really stumped with printing debugging info to the console via the os_printf() function.

I have a simple user_init() function which includes two function calls.

uart_init(115200,115200);

os_printf("hello world");

I am expecting to see "hello world" printed on /dev/ttyUSB0 when I use the command "cat /dev/ttyUSB0".

I've already used stty to setup the serial port. I have it setup as such: "stty -F /dev/ttyUSB0 raw" and "stty -F /dev/ttyUSB0 115200".

I have my esp8266 wired properly to a ftdi usb to serial converter. Any ideas on what is going on?

Statistics: Posted by caleyfeli85 — Thu Jan 21, 2021 10:24 pm


]]>