-->
Page 1 of 1

Getting Garbage Statements on UART0 Serial Console in IoT FW

PostPosted: Wed Dec 09, 2015 5:11 am
by ritesh
Hi,

I have compiled IoT example in ESP SDK 1.5.0 branch and successfully flashed it into my ESP-WROOM-02 Module without any issue.

I have kept baudrate as "115200" while updating using Flash Download Tool.

After that, I have restarted module to boot into boot mde and checked on UART0 Serial Console that Garbage Prints are comming on that serial console.

I have checked that baudrate is same as "115200" of UART0 Serial Console.

Does any one has idea or clue to get proper print on UART0 Serial Console for any IoT firmware.

Please let me know any feedback on this as quickly as possible.

Regards,
Ritesh Prajapati

Re: Getting Garbage Statements on UART0 Serial Console in Io

PostPosted: Mon Jan 18, 2016 12:28 am
by Ravi S Kashi
Did you have a uart_init() function call to set the baud rate to 115200 in your user_main()?
If not, then set your serial terminal to 74880 this is the default baud of the SDK.

Re: Getting Garbage Statements on UART0 Serial Console in Io

PostPosted: Mon Jan 18, 2016 1:50 am
by ritesh
Hi Ravi,

I have checked in IoT Firmware Source and found that there is one API called uart_init with 115200 baudrate.

Regards,
Ritesh Prajapati