-->
Page 1 of 2

Weird text at boot time? Run CoolTerm at 74880

PostPosted: Wed Apr 22, 2015 9:46 am
by AcmeUK
When you power up your esp8266 do you see weird text?

That is because when the esp8266 boots the baudrate is 74880, until you change it in your sketch. What you are seeing are boot time messages. These messages can help with debugging.

I prefer to run my sketches at 74880 so that I can see the boot time messages. 74880 is sufficient for most purposes.

So. how do I manage to use the non standard 74880 baud rate?

I use CoolTerm set to run at the 74880 non-standard baud rate by using a simple baudrates.ini file, see here :-http://forums.the-meiers.org/viewtopic.php?f=4&t=479

One day the Arduino IDE may support 74880. Until that day arrives.........

Re: Weird text at boot time? Run CoolTerm at 74880

PostPosted: Wed Apr 22, 2015 9:37 pm
by Chris--A
Cheers. I was able to simply type the baud rate into Hterm, however it doesn't remember it between restarts.

Re: Weird text at boot time? Run CoolTerm at 74880

PostPosted: Sat Apr 25, 2015 3:45 am
by ToSa
One day the Arduino IDE may support 74880. Until that day arrives.........


If you have your Arduino IDE compiled yourself vs. using the pre-compiled zip file then this is rather easy: just add the desired baudrate to AbstractMonitor.java before you start compiling.

Code: Select all    String[] serialRateStrings = {
            "300", "1200", "2400", "4800", "9600",
            "19200", "38400", "57600","74880", "115200"
    };

The SerialMonitor class makes use of the AbstractMonitor and essentially just sets the rate accordingly. As long as the low level driver supports "unusual" baud rates, this should work fine. I've confirmed that it's working fine on a Win7 64bit machine.

Re: Weird text at boot time? Run CoolTerm at 74880

PostPosted: Sat Apr 25, 2015 2:46 pm
by AcmeUK
So it is fairly simple to add the 74880 baud rate to the Arduino IDE.

It would be nice if the IDE developers added it to the Windows binarys!

I suspect that most IDE users, like me, have no idea how to modify the source and then compile it.

No, I don't want instructions, life is too short!

It's a pity it can't be achieved by a modifying a simple text file, as with CoolTerm.