IDF Monitor output is garbled

gartnerd@gmail.com
Posts: 2
Joined: Sun Dec 10, 2017 5:14 am

IDF Monitor output is garbled

Postby gartnerd@gmail.com » Sun Dec 10, 2017 5:29 am

Hi,

I have a ESP32 Thing from Sparkfun. I'm able to flash example hello world programs using the Arduino IDE and the espressif-IDF framework (e.g. examples given by both sparkfun and espressif).

The problem I'm running into is that when I run "make monitor" the output is all garbled. It seems like the serial line rate is incorrect. This doesn't make a lot of sense since I can flash the device successfully , i.e. there are no errors reported by the make flash command. As well, when running the arduino hello world sketch I can see the "hello world" text being written to the console.

Any suggestions as to what the issue may be or where I can look for more information?

Kind regards
David

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: IDF Monitor output is garbled

Postby ESP_Sprite » Sun Dec 10, 2017 8:51 am

The Sparkfun Thing has a 26MHz crystal, while esp-idf is by default configured for an 40MHz crystal. In 'make menuconfig', if memory serves under components -> esp32 specific, you can change the crystal frequency.

gartnerd@gmail.com
Posts: 2
Joined: Sun Dec 10, 2017 5:14 am

Re: IDF Monitor output is garbled

Postby gartnerd@gmail.com » Thu Dec 14, 2017 6:11 am

Thanks for the information. I'll try making that change.

User avatar
Gfast2
Posts: 182
Joined: Fri Aug 11, 2017 1:52 am

Re: IDF Monitor output is garbled

Postby Gfast2 » Fri Jan 05, 2018 2:53 pm

In my scenario:

After flashing my Dev-Board by another computer, My spiffs partition popout only garbage now. So I erase the whole SPI-Flash chip with command "make erase_flash" and then manually select the speed of my XTAL as here descript. And everything works again! :lol:

Component_config -> ESP32-specific -> Main_XTAL_frequency
Main_XTAL_frequency_menu.png
Main_XTAL_frequency_menu.png (171.9 KiB) Viewed 11440 times
So I change the speed manually
Main_XTAL_frequency.png
Main_XTAL_frequency.png (46.91 KiB) Viewed 11440 times

P.s:
What I still not clear is: Why this happened at all! Strange!


Cheers

Gfast2

jgrocha
Posts: 4
Joined: Thu Dec 06, 2018 7:10 pm

Re: IDF Monitor output is garbled

Postby jgrocha » Thu Dec 06, 2018 8:13 pm

I had the same problem with an ESP32+OLED https://www.allnet.de/lp/iot-wlan-display/

I've set the Main XTAL frequency to Autodetect and it works.
Captura de ecrã de 2018-12-06 20-10-16.png
Captura de ecrã de 2018-12-06 20-10-16.png (47.9 KiB) Viewed 10572 times

tinkrr
Posts: 1
Joined: Mon Dec 17, 2018 12:05 pm

Re: IDF Monitor output is garbled

Postby tinkrr » Mon Dec 17, 2018 12:08 pm

This fixed the issue I had with my TTGO LORA32 868/915Mhz SX1276 ESP32. Thank you:)!

WJCarpenter
Posts: 3
Joined: Sun Aug 06, 2017 11:13 pm

Re: IDF Monitor output is garbled

Postby WJCarpenter » Wed Apr 06, 2022 3:09 am

ESP_Sprite wrote:
Sun Dec 10, 2017 8:51 am
The Sparkfun Thing has a 26MHz crystal, while esp-idf is by default configured for an 40MHz crystal. In 'make menuconfig', if memory serves under components -> esp32 specific, you can change the crystal frequency.
Even after all this time, this posting helped solve this problem for me. Thanks!

Who is online

Users browsing this forum: No registered users and 90 guests