I am trying to flash ESP_Easy_mega_20220328_normal_ESP32_4M316k.bin to an ESP32 based commercial device, branded as 'Wyze Plug' model #WLPP1CFH.
I have visual confirmation that an ESP32 is installed on the board I am working with.
I have made the usual hardware connections Vcc, Gnd, Tx, Rx and IO0 between the device and my trusty USB serial interface module.
I have used this Tasmota page: as a reference, for encouragement that what I am doing is possible.
Link to generic pictures of the device in question, thanks to the Tasmota page.
So far I have tried the Windows based NodeMCU flash utility that is my habitual goto. I get no reaction when I say 'go' to the flash operation however, it just hangs.
So I switched over to esptool on a linux box where I get better signs of life:
Code: Select all
esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32D0WDQ5 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:dd:57:a7:c1:0c
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 14.7s
Hard resetting via RTS pin...
Code: Select all
esptool.py --port /dev/ttyUSB0 write_flash 0x1000 /home/pi/Downloads/ESPeasyMega/ESP32/ESP_Easy_mega_20220328_normal_ESP32_4M316k.bin
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ5 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c4:dd:57:a7:c1:0c
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 1705824 bytes to 966825...
Wrote 1705824 bytes (966825 compressed) at 0x00001000 in 87.7 seconds (effective 155.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
I have also tried a serial connection to the device since flashing it but no response is obvious.
FWIW, I don't see any new / unfamiliar Bluetooth devices listed in the area either.
Thoughts / advice?
Thanks.
Brian H.