Page 1 of 1

ESP_LOGI / printf issue on ESP8684-DevKitM-1 not on ESP32-WROOM

Posted: Fri Apr 12, 2024 11:54 am
by ohmi-dev
Running blink_example on ESP8684-DevKitM-1 (target esp32-C2) does not display correct output.
I've tryed to change uart speed with idf.py monitor -b 115200 without success.
So I switched to another board based on ESP32 (ESP32-WROOM-32E); build and load the same code.
Result I can see the log.

Could any one help ?

Re: ESP_LOGI / printf issue on ESP8684-DevKitM-1 not on ESP32-WROOM

Posted: Fri Apr 12, 2024 6:37 pm
by liaifat85
Is the baud rate in the code set to 115200?

Re: ESP_LOGI / printf issue on ESP8684-DevKitM-1 not on ESP32-WROOM

Posted: Sat Apr 13, 2024 12:55 pm
by ohmi-dev
It is left as in the sample, not specified.
Do you know where I can specify it ?

Re: ESP_LOGI / printf issue on ESP8684-DevKitM-1 not on ESP32-WROOM

Posted: Sat Apr 13, 2024 1:17 pm
by ohmi-dev
I do not know how to set it in the code.
However, I had more luck today in my searches and found a post saying that the main xtal may be at 26MHz instead of 40MHz.
I changed this in the configuration and the magic happened, the log is now readable!
Any way thanks for you replay and maybe this can help someone.