-->
Page 1 of 1

Communication problems

PostPosted: Thu Mar 22, 2018 1:59 pm
by Noctiuagus
Hi, trying to get the UART communication running between my computer and the esp8266 module. When I power up the module I get the following messages recieved on the bus. So I'm guessing that I have the protocol correctly set up at least. Or?

//==============================================================================

RX:
ets Jan 8 2013,rst cause:2, boot mode:(3,2)

l
RX: oad 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000


RX: rf cal sector: 249
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 1.5.4.1(39cb9a32) compiled @ Jul 1 2016 20:04:35
phy ver: 972, pp ver: 10.1

??h?h?i
RX: ?(?)?+?kPx\?t?????j?l
RX:

//==============================================================================

And then when I try to write "AT" and axpect to get "OK" back, I get the following messages.

//==============================================================================

TX: AT
RX: ?
RX: V?

//==============================================================================

Any one who knows what the problem is?
I have tried to change the baud, but that does not help, that only makes the start up text unreadable.

Re: Communication problems

PostPosted: Fri Mar 23, 2018 12:12 am
by Noctiuagus
Ok, so I changed the baud to 115200 and got the following messages on the bus at power on.

//==============================================================================

RX:
RX: r
RX: 
RX:
RX: ?<????? b??>~?n??? r??#?n??rnr???;?? ???rp?n???
RX: ?`?
RX: 
RX: ??
RX: ?
RX:
Ai-Thinker Technology Co. Ltd.

ready

//==============================================================================

Then I realised that I had to add + (char)13 + (char)10) to the messages that I want to send also.
And now I'm getting the following respons on the "AT" command.

//==============================================================================

TX: AT
RX: AT


busy p...

OK


ERROR

//==============================================================================

Why is there a "busy p..." ?
And why the "ERROR" ?