Hi, I tried change baud rate of monitor to 230400 and make and flash. But appears that monitor still using the default 115200 speed.
Please: How I do for change the monitor for more speed ?
Regards
Joao
Monitor baud rate
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Monitor baud rate
You will have to change the UART speed in your program as well; something you iirc can only do runtime. Something like uart_set_baudrate(UART_NUM_0, 230400) should do it.
Re: Monitor baud rate
There is also a Kconfig option for UART baud rate, see http://esp-idf.readthedocs.io/en/latest ... t-baudrate. You can change it using 'make menuconfig'.
-
- Posts: 59
- Joined: Thu Aug 17, 2017 5:40 pm
Re: Monitor baud rate
Thanks a lot
Regards
Joao
Regards
Joao
-
- Posts: 59
- Joined: Thu Aug 17, 2017 5:40 pm
Re: Monitor baud rate
Hi,
Thanks Guys, Is working now!
But In begin is recevied a lot of noise, I think that codes of SDK is still in 115200 until execute main
how about change default of framework to 230400 ? This board is fast to still in 115200 ...
Regards
Joao Lopes
Thanks Guys, Is working now!
But In begin is recevied a lot of noise, I think that codes of SDK is still in 115200 until execute main
how about change default of framework to 230400 ? This board is fast to still in 115200 ...
Regards
Joao Lopes
Re: Monitor baud rate
The ROM bootloader code will always output at 115200, before it loads the second stage bootloader image from flash. From then on, serial output will use the configured baud rate.JoaoLopesF wrote: But In begin is recevied a lot of noise, I think that codes of SDK is still in 115200 until execute main
Unfortunately we can't change this very early baud rate, as it's hardcoded in ROM. If you pull GPIO15 (MTDO) low on reset then it will disable this ROM output entirely, though.
A lot of serial programs default to 115200, so it's easier for most people if we default to this value.JoaoLopesF wrote: how about change default of framework to 230400 ? This board is fast to still in 115200 ...
115200bps is slow if you need to transfer a lot of data, but for non-verbose logging it's not usually a bottleneck (especially given the 128 byte hardware FIFO).
-
- Posts: 59
- Joined: Thu Aug 17, 2017 5:40 pm
Re: Monitor baud rate
Thanks ESP_Angus
Ok, I agree that
Regards
Joao
Ok, I agree that
Regards
Joao
Who is online
Users browsing this forum: tahseenabbas52 and 74 guests