I want to change the baudrate of the make monitor for esp32, but after I change it in the make menuconfig and then make flash and monitor the output I only see a bunch of scrambled characters. I tried many other baudrate as well, but only the default 115200bps will print out readable characters. Could anyone help me on this please?
This is the config I have changed:
and this is the make monitor output:
Thank you very much
Changing baudrate of make monitor on esp32
-
- Posts: 9745
- Joined: Thu Nov 26, 2015 4:08 am
Re: Changing baudrate of make monitor on esp32
This only changes the baud rate on the PC side. You also need to change the baud rate accordingly on the ESP32 side.
Re: Changing baudrate of make monitor on esp32
How do I change the baudrate on the esp32 side?
Re: Changing baudrate of make monitor on esp32
2 things:
1) bootloader logs always are printed with 115200, so you will see garbage with different baudrate
2) you can use make monitor ESPBAUD=__baud__ command to change monitor baud rate, try it please
1) bootloader logs always are printed with 115200, so you will see garbage with different baudrate
2) you can use make monitor ESPBAUD=__baud__ command to change monitor baud rate, try it please
-
- Posts: 9745
- Joined: Thu Nov 26, 2015 4:08 am
Re: Changing baudrate of make monitor on esp32
1 is correct, but 2 will only (again) change the PC baud rate. A correct answer is that you can configure it via menuconfig: Component config -> Common ESP-related -> UART console baud rate. Note you need to select 'Custom UART' under 'Channel for console output' before you can configure that.
Who is online
Users browsing this forum: Majestic-12 [Bot], 青橙牡蛎_00 and 110 guests