-->
Page 1 of 1

Confused on message coming out of serial port

PostPosted: Tue May 12, 2015 5:07 am
by tytower
ESP8266 ESP12 .
I have this running well and connecting but then something is going wrong in my sketch which gives all sorts of weird messages .
Can anyone decypher the below output to tell me what I might be doing wrong . I have a lot of reading to do about using the GPIO pins to get my BMP180 and DHT22 sensors going again and sending data to Sparkfun but this looks like it keeps disconnecting from my modem even though the WiFi Server example seemed to run flawlessly.
Code: Select allConnecting to ME-HOME
..........
WiFi connected
Server started
192.168.0.3
all going
BMP180 init fail



 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 29036, room 16
tail 12
chksum 0xa3
ho 0 tail 12 room 4
load 0x3ffe8000, len 2636, room 12
tail 0
chksum 0x65
load 0x3ffe8a50, len 3112, room 8
tail 0
chksum 0x45
csum 0x45
r�

Connecting to ME-HOME
..........
WiFi connected
Server started
192.168.0.3
all going
BMP180 init fail



 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 29036, room 16
tail 12
chksum 0xa3
ho 0 tail 12 room 4
load 0x3ffe8000, len 2636, room 12
tail 0
chksum 0x65
load 0x3ffe8a50, len 3112, room 8
tail 0
chksum 0x45
csum 0x45
r�

Connecting to ME-HOME
..........
WiFi connected
Server started
192.168.0.3
all going
BMP180 init fail



 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 29036, room 16
tail 12
chksum 0xa3
ho 0 tail 12 room 4
load 0x3ffe8000, len 2636, room 12
tail 0
chksum 0x65
load 0x3ffe8a50, len 3112, room 8
tail 0
chksum 0x45
csum 0x45
r�

Connecting to ME-HOME

Re: Confused on message coming out of serial port

PostPosted: Tue May 12, 2015 5:16 am
by villTech
for some reason, your esp module is restarting after bmp180 init fail.

Re: Confused on message coming out of serial port

PostPosted: Tue May 12, 2015 9:04 am
by AcmeUK
OK, so your code has complied a without error and you have uploaded the binarys.

The fact that your code has compiled means that your syntax is OK, but what about the logic of your code?

When I have has this issue it was due to a logic error in my code. It looks as though you have a problem with your code for the BMP180. Try commenting out this section, then recompile and reload. Perhaps putting a 'Hello' message at that point.

By commenting out and then reinstating bits of your code you should home in on the problem.

Re: Confused on message coming out of serial port

PostPosted: Tue May 12, 2015 5:35 pm
by tytower
Yep thanks - I am revamping code from a Ethernet setup and I am new to these modules . Didn't know what it was doing .

However can I look up this message anywhere for a list of causes or boot modes?
"ets Jan 8 2013,rst cause:4, boot mode:(3,6)"