Page 1 of 1

IDF Monitor output

Posted: Wed Apr 03, 2019 2:53 pm
by rpoeschl
Hi,
i have a ESP32 Thing from Sparkfun.
First of all i typed make menuconfig to change the Flash SPI speed to 26 MHz and the Flash size to 4 MB according to the schematic and specification of the ESP32 Thing.
I'm able to build and flash example programs like the blink or the hello world from IDF 3.1.3 then using the terminal without errors. But unfortunately i get only garbage output at the IDF monitor (make monitor) like it is described in the Get Started when using the wrong SPI speed (https://docs.espressif.com/projects/esp ... index.html).
I also tried the solution with "make erase_flash" and flashing as described here viewtopic.php?t=3884 but without success.

Does anyone know what caused this problem and how can I fix it?
Thanks a lot!

Re: IDF Monitor output

Posted: Thu Apr 04, 2019 1:16 am
by DurandA
Is the baudrate form make menuconfig configured to 115200? Does the monitor start with a baudrate of 115200 like the following?
--- idf_monitor on /dev/ttyUSB0 115200 ---

Re: IDF Monitor output

Posted: Thu Apr 04, 2019 1:41 am
by ESP_igrr
The note in the getting started guide refers to the XTAL frequency option, not SPI speed. Please find Component config –> ESP32-specific –> Main XTAL frequency in menuconfig and set it to 26MHz.

Re: IDF Monitor output

Posted: Thu Apr 04, 2019 12:13 pm
by rpoeschl
Thank you! It was the wrong configuration option. I changed the Flash SPI speed, but should have changed the XTAL frequency. Now it works.