I was trying to flash a TYWE2s chip ESP8285. Bought an FTDI FT232R chip off amazon, two for something like $15… not realizing that I could use a ESP8266 nodeMCU prototype board to do it.
Such a simple hack. You may not even have noticed that there’s an “EN” pin. Well, there is… look at the pinout for the nodeMCU… when it’s free, the esp8266 is enabled. Short it to ground, and it’s disabled.
Now that’s the key, disable the chip, but the onboard chipset that helps with prototyping are enabled. So… that means the the TX and RX on the prototype board are still active and available to repurpose.
So, to flash an ESP8285 (TYWE2S), we’re going to do this:
- DO NOT PLUG IN THE nodeMCU yet.
|GPIO – 00
- Now power up the nodeMCU by plugging in the USB.
If you wired everything correctly, and in the same order for powering up. You’re going to be fine.
esptool.py will flash the ESP8285 on the TYWE2s chip via the nodeMCU usb serial.
This procedure should work for the TYWE3S chip as well… but I haven’t tested this. This general procedure will work for all chips…
NOTE: TX to TX, and RX to RX are not swapped in this case, because we’re hijacking the prototype board… on the board itself, it’s already cross labelled.
Note1: The LED on the nodeMCU will be disabled.
Note2: $> esptool.py –port /dev/cu.usbserial-0001 read_flash 0x00000 0x100000 fwbackup.bin
will backup the firmware currently on the chip.
Note3: Tasmotizer was used as a GUI to upload the new firmware.