Page 1 of 1

Wrong "make monitor" baudrate

Posted: Tue Dec 05, 2017 8:05 pm
by alberto-g
Hello,
"make monitor" stopped working for me. After some OK lines it is sending out characters 1.5X slower than it should.
Once I had no problem with this.

Regards

Alberto

Re: Wrong "make monitor" baudrate

Posted: Tue Dec 05, 2017 10:53 pm
by ESP_Angus
That sounds quite unusual! Can you please give us some more details so we can diagnose/reproduce this:
  • What OS are you using?
  • What ESP32 hardware do you have?
  • What ESP-IDF version?
  • Can you give some examples of the output (good then bad), and (if possible) of the code which produces that output?
  • If you run one of the simple examples (like examples/get-started/hello-world), do you see this behaviour?
Thanks,

Angus

Re: Wrong "make monitor" baudrate

Posted: Wed Dec 06, 2017 1:04 am
by WiFive
26mhz/40mhz ~= 1/1.5

Re: Wrong "make monitor" baudrate

Posted: Wed Dec 06, 2017 4:08 am
by ESP_Angus
Ah, if that's what 1.5X means then yes that's what it is.

Check the crystal setting in "make menuconfig". If your hardware has a 26MHz crystal (Sparkfun ESP32 Thing is the most common board but there are some others) then you'll need to set this in the SDK configuration. This was not required in older versions of ESP-IDF.

Re: Wrong "make monitor" baudrate

Posted: Wed Dec 06, 2017 8:22 am
by alberto-g
Thank you, that was it. I selected "Autodetect" and everything was fine.

I would suggest to put a note about this in the "Getting Started" guide.

Regards.

Alberto

Re: Wrong "make monitor" baudrate

Posted: Thu Dec 07, 2017 9:25 pm
by ESP_krzychb
WiFive wrote:26mhz/40mhz ~= 1/1.5
Love it! If we are looking for a master of a quick, hit and concise answer, nobody beats WiFive :D
alberto-g wrote:I would suggest to put a note about this in the "Getting Started" guide.
Actually there is such a note already, just above section Build and Flash. Basing on this case I think it should be rephrased and moved to section Monitor.