Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By AcmeUK
#13569 When the esp8266 boots the baud rate is 74880, if you do not have your terminal set to 74880 the meaningful information it sends out comes out as garbage.

74880 is fast enough for most comms, and I now use it as my standard rate. Can we have 74880 supported by the Arduino IDE.

Pretty Please.
User avatar
By Dennis
#13727 Why don't you use 57600 baud? Or 115200?

There are two problems with 74880, first I think it is used for ESP debug info on startup, second is that arduino IDE itself cannot do it, and this won't change when new hardware support is added to it (like esp8266 in this case). You'd need to change the java code of the IDE...

regards
User avatar
By Lawrence_jeff
#13821 I think his idea was to use one consistent baud rate so you can see the bootloader messages as well as anything from your software (since you can't change the bootloader to something standard use the non standard value for your own code)

(On as side note... what were these guys thinking when they picked that baud rate, using any standard value would have prevented the constant questions of "what is this junk at startup"
User avatar
By AcmeUK
#14034 Lawrence_jeff
I think his idea was to use one consistent baud rate so you can see the bootloader messages as well as anything from your software

That is exactly the point! What you get at boot time is not junk/crap but messages from the bootloader like :-
Code: Select all ets Jan  8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 25336, room 16
tail 8
chksum 0x1f
load 0x3ffe8000, len 2544, room 0
tail 0
chksum 0xb8
load 0x3ffe89f0, len 1044, room 8
tail 12
chksum 0x7f
csum 0x7f

From this you can see if your device is in bootloader mode, or if the cause of the boot was a wake from DeepSleep:-
Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,6)
As this information is useful I want to use 74880. At present I use CoolTerm to run at 74880 but it would be nice not to have to keep switching between the IDE and CoolTerm.

I agree that 74880 is not the ideal default, but we have what we have!