I've been trying to program the ever useful ESP8266 with the Arduino IDE, but when I try to upload, I get an error saying:
espcomm_sync failed
espcomm_open failed
I then just tried exporting the binary from the Arduino IDE and uploading it using esptool.py but that also gives me an upload failure. I'm using the ESP-01 module, so my pinout is as follows:
I'm using a little USB FTDI board, and I'm powering the ESP using a 5V power brick and a 3.3V linear regulator specified to output 800mA. My connections from the ESP to the FTDI board are such:
TX -> RX
RX -> TX
GND -> GND
VCC -> 3.3V
CH_PD -> 3.3V
GPIO0 -> GND
GPIO2 -> LED -> ground
RST -> left open
Note: the GND on the ESP board and the FTDI board are both connected to ground on my external power supply.
I've triple checked my wiring and I can't figure out why my sketch won't upload. Thanks a bunch in advance.