Easier Flashing Method

insane2subro 2018-09-10 23:17:24 +05:30
parent be7a501daa
commit 1f7cb4f951
1 changed files with 3 additions and 0 deletions

@ -15,7 +15,10 @@ The button is not connected to GPIO00 so flashing the unit requires some extra w
If you have an Arduino you may be able to flash without providing an additional power source. I have successfully flashed using an Arduino Duemilanove with the atmel chip pulled out (basically using it for FTDI and 3.3v power regulation). Rx on Arduino goes to Rx on iFan02, Tx to Tx (no crossover like with FTDI). I did not have to press the button, only to ground TP16 while initiating the flash in Arduino IDE. The Arduino provides enough power to flash, however it will not boot into Tasmota unless you plug in to external power (it boot loops after flashing is complete). If you have an Arduino you may be able to flash without providing an additional power source. I have successfully flashed using an Arduino Duemilanove with the atmel chip pulled out (basically using it for FTDI and 3.3v power regulation). Rx on Arduino goes to Rx on iFan02, Tx to Tx (no crossover like with FTDI). I did not have to press the button, only to ground TP16 while initiating the flash in Arduino IDE. The Arduino provides enough power to flash, however it will not boot into Tasmota unless you plug in to external power (it boot loops after flashing is complete).
## More information ## More information
*************
An easy way that I used for flashing was using a CP2102 USB to TTL(can't confirm if other ttl to usb works as well or not). Connect RX -> TX | 3.3 -> 3.3 | TX -> RX | GND -> GND and connect TP16 to GND (as used in the TTL). Press hold the button while connecting to the computer. I flashed the tasmota bin file using ESP Flash tool, flashed successfully at first attempt.
*************
* See issue [#2839](https://github.com/arendst/Sonoff-Tasmota/issues/2839) for user information * See issue [#2839](https://github.com/arendst/Sonoff-Tasmota/issues/2839) for user information
* See issue [#3412](https://github.com/arendst/Sonoff-Tasmota/issues/3412) light on after restore power * See issue [#3412](https://github.com/arendst/Sonoff-Tasmota/issues/3412) light on after restore power