-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Incompatibility in pin assignments between esptool and esp8266/Arduino #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This seems to have changed recently in the esp8266/Arduino code... I was perhaps running an older version, in the latest version of the esp8266/Arduino it seems that there is agreement with esptool. |
I'm new to this, can't fathom out GitHub and am confused... I'm using the 1.6.1-p1 ESP8266/Arduino from GitHub and have been manually Are you saying that the GPIO0 and Reset can be done automatically - if so, Everything was working OK with my setup but I now only get gibberish from On 21 April 2015 at 05:15, Julian Hartline [email protected] wrote:
|
I'm not sure what to say about the current issues you're having, but GPIO0 and Reset can be done automatically using an FTDI with both the DTR and the RTS pins exposed. These are data terminal output pins that can be set by software on the computer. (such as esptool and esp8266/Arduino) |
It is working using DTR and RTS in principle now, but the Arduino IDE must be changed to make the Serial Monitor work; see #22 (comment) |
This is also posted on esptool: espressif/esptool#29
I've seen in a few places people complaining about their setup working with esptool but not with the esp8266 Arduino IDE project (https://github.com/esp8266/Arduino) and was having this problem myself, but I think I've found why that is...
When flashing with esptool the setup sequence looks like this:
RTS goes LOW
DTR goes LOW
RTS goes HIGH
DELAY
DTR goes HIGH
which means that your wiring looks like this...
RTS -> CH_PD (i.e reset)
DTR -> GPIO0
When flashing with the Arduino IDE
RTS and DTR go LOW
DTR goes HIGH
DELAY
RTS goes HIGH
which means that your wiring looks like this...
RTS -> GPIO0
DTR -> CH_PD (i.e reset)
It seems to me that these pins are sorta arbitrarily chosen, but it would be better for everyone if we standardized on the same pin assignments early on. I'm going to post this issue to the Arduino IDE plugin as well, but I guess my suggestion would be that the swap in the esptool code.. Perhaps a --legacy mode switch could be added to allow for older setups?
The text was updated successfully, but these errors were encountered: