RE: Dave Betz: Which GPIO pin on the ESP8266 will you be using to reset the prop?
GPIO0 has to be tied low to program the ESP. I used GPIO2 to reset the Prop.
Dave, you may want to allow an option to modify the ESP pin for reseting the Prop. The ESP8266-11 modules that I have (among others) only have GPIO0 & GPIO1 (I think). Default should be GPIO2, but adding an option to use another pin would help make more ESP modules workable. The host loader code could send the reset pin number up to the ESP before sending the binary data.
Example:
$ prop-wifi-load -R 0 -r -t myBinary.bin <== use GPIO0 to reset the prop
$ prop-wifi-load -r -t myBinary.bin <== DEFAULT - use GPIO2 to reset the prop
RE: Dave Betz: Which GPIO pin on the ESP8266 will you be using to reset the prop?
GPIO0 has to be tied low to program the ESP. I used GPIO2 to reset the Prop.
Dave, you may want to allow an option to modify the ESP pin for reseting the Prop. The ESP8266-11 modules that I have (among others) only have GPIO0 & GPIO1 (I think). Default should be GPIO2, but adding an option to use another pin would help make more ESP modules workable. The host loader code could send the reset pin number up to the ESP before sending the binary data.
Example:
$ prop-wifi-load -R 0 -r -t myBinary.bin <== use GPIO0 to reset the prop
$ prop-wifi-load -r -t myBinary.bin <== DEFAULT - use GPIO2 to reset the prop
dgately
Adding an option is certainly possible. I'm surprised your module has fewer GPIO pins than mine. I thought the ESP8266-01 module had the fewest pins. :-)
Comments
Dave, you may want to allow an option to modify the ESP pin for reseting the Prop. The ESP8266-11 modules that I have (among others) only have GPIO0 & GPIO1 (I think). Default should be GPIO2, but adding an option to use another pin would help make more ESP modules workable. The host loader code could send the reset pin number up to the ESP before sending the binary data.
Example:
dgately
Adding an option is certainly possible. I'm surprised your module has fewer GPIO pins than mine. I thought the ESP8266-01 module had the fewest pins. :-)