Update 2020-11-13 Tuya-Convert does not work anymore you need to hard flash the chip directly with USB TTL cable (3.3v) 
Attach the GPIO0 wire to ground during initial boot to flash. A 3-pin header bridged together works great with GPIO0, GND and the GND from the USB flasher attached. (TX pin to RX pin and RX pin to TX pin on USB flash adapter). Verify that you are using 3.3volts to flash, **NOT 5V!** -- Update 2021Jan26: If flashing fails: Its been reported that only CP2102 flashers have been known to work directly (also said to require an external power supply). Issue is that the secondary MCU TX is also connected to the ESP RX line. Known method of preventing interference is to cut the trace for this connection (and resolder after flashing). With cutting of the trace usual flashers can work. Its been suggested that perhaps CP2102 flashers overpower the 2nd MCU signa