Chat freely about anything...

User avatar
By marksmith
#49395 Hi,

Apologies for what I fear may be an embarrassingly simply newbie question. I've had a pretty good hunt around for answers but this is as far as I've got...

I have an ESP8266-01 which I'm trying to get working for the first time. Setup is as follows:

Linux (Ubuntu) PC
USB connection to Arduino Nano, with "bare minimum" sketch. This is in place of a USB/TTL converter which I don't have.
ESP8266-01 connected as follows:
Vcc to +3.3v
Gnd to 0v, and tied to Arduino Gnd
RST via 220R resistor to +3.3v
CH_PD via 220R resistor to +3.3v
100uF electrolyric between Vcc and Gnd
1uF polypropylene cap between Vcc and Gnd (right next to the device)
UTXD to Arduino's >TX1 pin
URXD to Arduino's >RX0 pin
All other pins disconnected

Terminal using
Code: Select allscreen /dev/ttyUSB0 115200


When I power on the ESP, the red LED lights, there's a brief flash from the blue LED, and I get one of the following:
* Nothing
* A variable amount of garbage, followed by "n't use rtc mem data"
* A variable amount of garbage, followed by "n't use rtc mem data" and "Fatal exception epc1=0x401f991a, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000040, depc=0x00000000" (numbers vary)
* The following (least often):
n't use rtc mem data
Fatal exception (0):
epc1=0x4020c581, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

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

�n't use rtc mem data


Everything I've found suggests this isn't right. In an attempt to improve things I tied GPIO0 to Gnd, and did
Code: Select allesptool.py --port /dev/ttyUSB0 --baud 115200 erase_flash

(with various different baud rates) which always reports
A fatal error occurred: Failed to connect to ESP8266


Any idea what's wrong? Am I doing something wrong, or is my device toast?

Thanks!
-Mark