-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Passing command line arguments out of order can lead to spurious/misleading errors (ESPTOOL-127) #146
Comments
This is a bad error message, so it's absolutely not your fault that it doesn't make sense. The esptool options have to passed in a certain order - a small number apply to "esptool" and some apply to the "write_flash" subcommand. This is annoying, and I've been trying to think of a good way to fix it but at the moment esptool relies fairly heavily on python's built-in argument parsing support which is what does this. You should find this argument order works (
(BTW, Please let me know if this works for you. In any case, I'd like to keep this issue open as a reminder that the underly argument order problem needs to be taken care of (ideally, you should be able to put -b anywhere you like. Or, at minimum, the error message you should tell you what you did wrong.) |
@projectgus Thanks very much, I was able to flash the unit correctly thanks to your thoughtful and helpful reply. The reason I elect to flash with the minimal I wanted to share a little bit more about some of the issues I struggled with during my final attempts to flash the ESP8266:
Thanks so much for all of ongoing your support which was invaluable. Best regards, Forrest |
So annoying, i get bit by this everytime I use it. |
I'm less of an advanced user, apologies if this is too basic of a question:
I've been struggling for the past day with flashing my esp, as I'm unsure what they mean by address? I have used 0x00000 as well as 0x0 before my .bin file. Have a look at the enclosed screenshot. Thanks for your time.
The text was updated successfully, but these errors were encountered: