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

ohmi-dev
Posts: 3
Joined: Thu Oct 26, 2023 2:47 pm

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

Postby ohmi-dev » Fri Apr 12, 2024 11:54 am

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 ?

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

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

Postby liaifat85 » Fri Apr 12, 2024 6:37 pm

Is the baud rate in the code set to 115200?

ohmi-dev
Posts: 3
Joined: Thu Oct 26, 2023 2:47 pm

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

Postby ohmi-dev » Sat Apr 13, 2024 12:55 pm

It is left as in the sample, not specified.
Do you know where I can specify it ?

ohmi-dev
Posts: 3
Joined: Thu Oct 26, 2023 2:47 pm

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

Postby ohmi-dev » Sat Apr 13, 2024 1:17 pm

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.

Who is online

Users browsing this forum: Bing [Bot], federicolonghin, jrgilman95 and 67 guests