Chat freely about anything...

User avatar
By siddharta
#54583 Hi, I've purchased a few ESP8266-01 and -12 off eBay to connect some Arduino based designs to WiFi, but so far I've been unable to get any of them to work.

I've tried with both an Arduino Uno and CH340G serial to USB bridge. On 74880 baud I'm seeing what looks to be boot errors:

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

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

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

do▒99▒P▒R+▒▒R▒

Connections are as follows:

RXD and TXD connected to the CH340G
both GPIO to 3.3V with 10K pullup
RST and CH_PD to 3.3V with 10K pullup
Vcc is 3.3V

I've set this up both on breadboard and stripboard, with 2 switches to pull GPIO0 and RST low as needed, attached a photo.

When powering on the ESP8266 the red LED flashes briefly and goes off. When entering flash mode (grounding GPIO0 and hitting RST) the red LED stays on and on serial I get

ets Jan 8 2013,rst cause:2, boot mode:(1,6)

I've tried to flash the ESP8266 firmware (non-OS SDK 2.0 from Espressif site) using their flash tool, with settings as in attached screenshot. There appear to be no errors flashing the firmware but after a reset I'm getting the same as before, "ets Jan 8 2013,rst cause:2, boot mode:(3,6)".

So, any ideas greatly appreciated, I've no idea what I'm doing wrong here. :?

20160906_104552 1-min.jpg


download tool.PNG
User avatar
By siddharta
#54607 edit: to clarify, the last line of output at 74880 baud is always gibberish and I'm getting no response to AT commands at any other baudrate. I'm seeing the same with both ESP82066-01 and -12F, with the latter only behaving differently when attempting to enter flash mode - if I pull GPIO0 to ground and reset the blue LED comes on steady and the output at 74880 baud is a bunch of errors:

Fatal exception (0):
epc1=0x40100003, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

On the -12F I've added a 100uF cap across Vcc and GND but that didn't make any difference.