-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
warning: espcomm cmd: wrong direction/command #90
Comments
You seem to have everything right . I assume you sourced your power regulator directly from the 5V of the USB connector of the FTDI board, right? |
This is what I get, try using the python version to flash it. Try my solution listed here if you are compiling your own version from here, they've changed it a little and you have to select upload using programmer (after selecting pyesptool) from the arduino menu. OR... change generic.upload.tool=esptool to generic.upload.tool=pyesptool in boards.txt |
Other maybe obvious suggestions:
What output do you get on the serial port when resetting? |
Yep I'll double check these other things and then follow the solution you linked and post back with my findings, thanks! |
What regulator are you using? Not all are capable of providing 3.3V from 5V I'm not sure if there any current spikes during programming but operation The other thing to consider is that the ESP8266 is a 3.3V device and that On 20 April 2015 at 17:25, Julian Hartline [email protected] wrote:
|
I'm using an LM317 hooked up directly to the FTDI's 5v pin. I've got a scope on the output voltage of the power supply and I'm getting a pretty consistent 3v. Furthermore, interacting with the ESP via the serial monitor is working just fine, so I very much doubt that the problem lies in the power coming in on the FTDI's TX line. |
Apparently this is what I get for tinkering at 3am.. Turns out the problem was that my flash button (DTR) was hooked up incorrectly! Thanks for the help guys! |
I get this error ALL the time. But not every time. If I unplug and plug my ftdi sometimes it goes away, but not always. Are you suggesting it's a power issue? |
OS: OSX 10.10.3
ESP Firmware: 0018000902-AI03
Arduino IDE Version(s): Tried with 1.6.1, 1.6.3, and the 1.6.4 nightly
Have reset and GPIO0 pins connected to buttons that drop them to ground. Have tried both with and without pull-up resistors on those pins. I've tried programming sequences of holding GPIO0 LOW, pressing restart, and then uploading as well as holding GPIO0 LOW, pressing restart, releasing GPIO0 and then uploading.
GPIO2 is left to float. "Generic ESP8266 Board" confirmed to be selected, as is "esptool" under programmer on the firmware versions that have it.
Of note, attempts to flash a new version of the firmware have also been failing using esptool.py with the error "Failed to connect"
Any help is greatly appreciated! It's quite possible that there's something very obvious that I'm missing, though I've checked many of the usual suspects.
P.S. Powering via a 3.0v regulator connected to the 5v of the USB->TTL FTDI.
Error log:
The text was updated successfully, but these errors were encountered: