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
IDF Monitor output is garbled
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: IDF Monitor output is garbled
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.
-
- Posts: 2
- Joined: Sun Dec 10, 2017 5:14 am
Re: IDF Monitor output is garbled
Thanks for the information. I'll try making that change.
Re: IDF Monitor output is garbled
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!
Component_config -> ESP32-specific -> Main_XTAL_frequency So I change the speed manually
P.s:
What I still not clear is: Why this happened at all! Strange!
Cheers
Gfast2
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!
Component_config -> ESP32-specific -> Main_XTAL_frequency So I change the speed manually
P.s:
What I still not clear is: Why this happened at all! Strange!
Cheers
Gfast2
Re: IDF Monitor output is garbled
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.
I've set the Main XTAL frequency to Autodetect and it works.
Re: IDF Monitor output is garbled
This fixed the issue I had with my TTGO LORA32 868/915Mhz SX1276 ESP32. Thank you:)!
-
- Posts: 3
- Joined: Sun Aug 06, 2017 11:13 pm
Re: IDF Monitor output is garbled
Even after all this time, this posting helped solve this problem for me. Thanks!ESP_Sprite wrote: ↑Sun Dec 10, 2017 8:51 amThe 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.
Who is online
Users browsing this forum: Dennie and 93 guests