I've got an ESP-12E and after much fiddling got it responding to AT commands so I'm fairly confident that my power and TX/RX are working and I know how to make it boot. It defaults to communication at 115200 baud, and the boot up diagnostics communicate at 74880 which I hear is normal. I've been using Arduino 1.6.6 and 1.6.7 to peek at the 74880 messages since 1.6.5 doesn't support that rate.
I can get it to boot into I think UART (according to https://github.com/esp8266/Arduino/blob ... -and-usage) to upload to. I can get it to either respond with
" ets Jan 8 2013,rst cause:2, boot mode:(1,7)"
or
" ets Jan 8 2013,rst cause:2, boot mode:(5,7)
waiting for host
"
depending on if I pull 15 LOW (which is normal and results in the first message) or floating. It doesn't seem to matter if pin 2 is high or floating in any scenario. Am I getting it into the proper mode to upload? Do I want to see "waiting for host" (which should be some SDIO mode according to the doc above, and not what I want).
Assuming that boot mode 1 is indeed what I want, and that therefore I've got it wired up right, how do I get Arduino to upload? I'm using 1.6.5 since everything says its the only version that works properly. I've tried ESP8266 2.0.0 and 1.6.5-whatever, through boards manager. When I try to upload it says
warning: espcomm_sync failed
error: espcomm_open failed
This lead me to http://hpclab.blogspot.mx/2015/06/esp82 ... -os-x.html which I tried on both versions which got me to a different error; failed to connect.
I am using an arduino uno as a USB serial adapter by connecting reset to ground, and then by removing the chip all together. In both cases I can use AT commands without issue, so I don't *think* I need different hardware... As an aside I've gotten it to communicate through a teensy as well, but actually has to use the teensy to pass comms back and forth so I've opted for the more direct approach through the uno's board.
Question 1: Am I getting it into the right mode to program in the first place? Documentation all says so by my understanding but would appreciate a second opinion since the messages are so convoluted and inaccessible at a strange baud rate, and there's so many possible boot modes...
Question 2: Should 2.0.0 work on mac without modification, or do I still need to use esptool.py in place of espota.py that comes with it?
Question 3: Assuming I've got it booting right, connected right, and need esptool.py, is it's documentation (specifically step 3 ) applicable and accurate to 2.0.0?
Thanks for any feedback anyone might have!