- Fri Aug 14, 2015 6:02 pm
#26024
Do you have an esp-12e? I found out the esp-12e cannot be programmed from Arduino IDE like the other esp-xx. I don't remember exactly which pin need to be connected in addition to CH_PD and GPIO0 (maybe gpio12 or 15?), I'll look it up if you need.
EDIT: ok my mistake, I've used the esp-12 with an IO board which already include some pulldown resistor explaining why it didn't work with the esp-12e without IO board...
Connection for me are as following in programming mode:
GPIO0, GPIO15 and GND to GND.
EN (CH_PD) and VCC to 3.3V.
RX to TX and TX to RX. Both ftdi and esp GND connected together.
One click on RST (Connect to GND briefly) when Arduino ESP finished compiling and start upload.
For normal operation I use the same connection except GPIO0 which I let floating (not connected).
Recently however my board started to be very difficult to program without error and was always reseting at startup, not even starting to execute the program.
The only thing I could see was the reset information printed via serial output every 2 or 3 seconds :
Code: Select allets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1464, room 16
tail 8
chksum 0x7a
csum 0x7a
I've tried changing power supply, adding some capacitor, ... nothing worked. Finally I've solve this problem by erasing the flash from esptool.py with the following command "python esptool.py --port COM5 --baud 76800 erase_flash".
You can find more info and the complete procedure here:
https://github.com/esp8266/Arduino/issu ... t-96399149
Last edited by Touliloup on Thu Sep 03, 2015 3:10 am, edited 3 times in total.