mirror of https://github.com/arendst/Tasmota.git
Updated Hardware Preparation (markdown)
parent
6101762cc0
commit
8b8856a0e2
|
@ -34,14 +34,14 @@ When you have identified pins on your device, connect wires according to the tab
|
|||
<img alt="Example without button" src="https://user-images.githubusercontent.com/5904370/55689595-8dbd6480-5986-11e9-81c6-a13c6b7e5971.png" height=200 align=right></img>
|
||||
ESP8266 needs to be put into **Programming Mode** before the firmware can be uploaded. This is done by pulling the GPIO0 pin to GND while the chip is booting.
|
||||
|
||||
On most devices the installed control button is connected to GPIO0 and GND, making entering Programming Mode very easy. On others you will need to short the pins on the PCB or directly on the chip with a jumper wire. Device specific instructions are documented in the [Device Templates Repository](https://blakadder.github.io/templates/).
|
||||
On most devices the installed control button is connected to GPIO0 and GND, making entering Programming Mode very easy. On others you will need to bridge the pins on the PCB or directly on the chip with a jumper wire. Device specific instructions are documented in the [Device Templates Repository](https://blakadder.github.io/templates/).
|
||||
|
||||
To put the ESP8266 into Programming Mode:
|
||||
|
||||
1. Disconnect serial-to-USB adapter and power
|
||||
2. Connect GPIO0 and GND (by pressing the on-board button or connection with a wire)
|
||||
2. Bridge GPIO0 and GND (by pressing the on-board button or connection with a wire)
|
||||
3. Connect the serial-to-USB adapter to your computer
|
||||
4. After a few seconds disconnect GPIO0 from GND (release button or break wire connection)
|
||||
4. After a few seconds disconnect GPIO0 from GND (release button or remove the wire connection). On devices that do not provide the GPIO0 connected button, it may be easier to leave the wired bridge in place throughout the entire flashing process (erase & upload). Doing so will not create any problems. After the firmware is uploaded successfully, remove the bridge. This allows the device to boot normally.
|
||||
|
||||
You can test whether your device is in Programming Mode by attempting to read information from the ESP82xx chip. This requires `esptool.py`. Instructions on installing and using `esptool` are provided in the [Flashing article](Flashing#esptoolpy). For example (`COM5` will be your COM port):
|
||||
- `esptool.py -p COM5 read_mac` (It should read the MAC address. It may fail afterwards during Uploading and running a "stub". This is normal.)
|
||||
|
@ -54,6 +54,6 @@ If everything went well, you are now in Programming Mode and ready to continue w
|
|||
- Use a USB _**data**_ cable - Some USB cables are for charging only and do not connect the data lines needed to load the firmware onto the device.
|
||||
- Insufficient power delivered over the serial-to-USB adapter. This leads to flashing failures or corrupted flash altogether. Supply more power with a separate 3.3V power supply or get an adapter with a better power supply. Be sure all DC voltages use the same GND reference.
|
||||
- Recheck your serial-to-USB adapter so to ensure that it supplies 3.3V voltage and **NOT 5V**. _**5V will damage the ESP chip!**_
|
||||
- Releasing GPIO0 button/wire before booting is finished - It is safe to leave GPIO0 connected to GND during the entire programming process. Just be sure to disconnect GPIO0 before booting the device for regular operation.
|
||||
- Releasing GPIO0 button/wire before booting is finished - It is safe to leave GPIO0 connected to GND during the entire programming process (erase & upload). Just be sure to remove the GPIO0 to GND bridge before booting the device for regular operation.
|
||||
- Make sure that the RX pin is connected to the TX pin between the serial adapter and your ESP device, and vice versa.
|
||||
- Erase the flash memory first and cycle power afterwards before uploading the Tasmota firmware binary. Not erasing can leave behind remnants of the previous flash contents which can interfere with the new firmware operation.
|
||||
|
|
Loading…
Reference in New Issue