-->
Page 1 of 1

The garbage sent at poweron

PostPosted: Tue Oct 14, 2014 2:12 pm
by fasmide
Hi

I dont know if anyone have posted anything about this, anyways:

I tried to decode the "garbage" that the esp sends when its powered on, i think its at 75000 baud - i cannot decode this stuff on my ubuntu box, properly because i have no idea how to set this baud rate. tools like stty, setserial and my favurite cu dont like this speed, just replying stuff like:

Code: Select allcu -l /dev/ttyUSB0 -s 75000
cu: Unsupported baud rate 75000



Anyone knows how to set a "special" baudrate in ubuntu?.

I am able to decode this stuff on a rigol scope, see attachment :) - it seems it have a lot it wants to say in its boot sequence, ive seen the words scandone and connect.

Is it possible for a standard 3v3 ftdi cable to decode this baudrate?

best regards
Kristian

Re: The garbage sent at poweron

PostPosted: Tue Oct 14, 2014 4:40 pm
by RichardS
Funny, thought maybe it was try to speak Chinese.... :-)

Richard.

Re: The garbage sent at poweron

PostPosted: Tue Oct 14, 2014 5:19 pm
by fasmide
Heh yeah :)

I actually managed to decode the stuff with an arduino, its available here

https://gist.github.com/fasmide/1312c3e23751dc97554f

I didnt knew it autoconnects to the previously used wifi network but thats cool :)

Also, its not 75000 baud, its 74880.. At least that baudrate is mentioned in their samples https://github.com/scottjgibson/esp8266 ... uart.h#L38

Re: The garbage sent at poweron

PostPosted: Wed Oct 15, 2014 4:18 pm
by spacejunkie
fasmide wrote:Heh yeah :)

I actually managed to decode the stuff with an arduino, its available here

https://gist.github.com/fasmide/1312c3e23751dc97554f

I didnt knew it autoconnects to the previously used wifi network but thats cool :)

Also, its not 75000 baud, its 74880.. At least that baudrate is mentioned in their samples https://github.com/scottjgibson/esp8266 ... uart.h#L38


It's the boot loader trying to autobaud. The baud rate keeps changing where as your PC expects a constant baud. Rigol is probably capable of dealing with this.