Wrong "make monitor" baudrate

alberto-g
Posts: 2
Joined: Tue Dec 05, 2017 7:59 pm

Wrong "make monitor" baudrate

Postby alberto-g » Tue Dec 05, 2017 8:05 pm

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

ESP_Angus
Posts: 608
Joined: Sun May 08, 2016 4:11 am

Re: Wrong "make monitor" baudrate

Postby ESP_Angus » Tue Dec 05, 2017 10:53 pm

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

WiFive
Posts: 1214
Joined: Tue Dec 01, 2015 7:35 am

Re: Wrong "make monitor" baudrate

Postby WiFive » Wed Dec 06, 2017 1:04 am

26mhz/40mhz ~= 1/1.5

ESP_Angus
Posts: 608
Joined: Sun May 08, 2016 4:11 am

Re: Wrong "make monitor" baudrate

Postby ESP_Angus » Wed Dec 06, 2017 4:08 am

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.

alberto-g
Posts: 2
Joined: Tue Dec 05, 2017 7:59 pm

Re: Wrong "make monitor" baudrate

Postby alberto-g » Wed Dec 06, 2017 8:22 am

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

User avatar
krzychb
Posts: 130
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Wrong "make monitor" baudrate

Postby krzychb » Thu Dec 07, 2017 9:25 pm

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.

Who is online

Users browsing this forum: No registered users and 3 guests