Sonoff S60TPG (UK Version) Successfully Flashed #22554
Replies: 2 comments 3 replies
-
Nice way of doing it. I spotted one detail:
Only backing up 64 KB of flash won't give you the opportunity of going back. With ESP32-C3, I usually backup the full 4 MB of flash, up to |
Beta Was this translation helpful? Give feedback.
-
I brought the same devices and opened one up with the same goal. I have not been able to flash it. I just get nothing back from the ESP32. It might be going into boatloader mode as when simply applying 5v one of the LEDs flashes slownly, when applying power with the button pressed the LED does not come on or flash. I've now gone so far as to remove the ESP32 daughter board and solder wires on to the test pads to allow me to use the reset pin with a button. I've tried two different USB to serial adapters, both in 3.3v mode. I've tried with the USB adapter providing the 5v for the chip and with an external battery pack providing 5v. Not sure what's left to try really. Perhaps I'm unlucky and have somehow damaged the TX port, or it has a pre-existing fault. |
Beta Was this translation helpful? Give feedback.
-
The Sonoff S60 is a great product. Looks good, has power monitoring and is cheap but its a sealed unit so not apparently easy to flash.
A good description and partial teardown by Mat Zolnierczyk [here] gets inside the unit by breaking the glued seal but there are not very accessible access points for flashing.
I totally destroyed one unit (by trying to access points on the processor daughter board) and took this a bit further.
The underside of the main board has some very useful pads available.
Tx & Rx are obvious. But the first pin on the connection to the processor board is +5V. (And it is +5V and not 3.3V as there is a voltage regulator or divider on the processor board). 0V is also at the far end of the connection but this is easier accessed by use of the Neutral pin on the plug itself.
On a new, un broken into, unit I accessed these points by drilling a couple of 3.5mm holes in the base and expanding the access to about 5mm x 10mm and was able to solder connecting wires to these 3 points fairly easily. I did protect the plastic casing with some foil!
I used a usb serial converter from a Pi400. Note that I powered the S60 from a separate 5V rail but the Rx/Tx from the serial converter were at 3.3V as this is what the esp32 chip requires.
Flashed using esptool. Holding the button on the side of the S60 on power up to enter boot mode. This does not have to be held down long. Flashed with
tasmota32c3.factory.bin
.My normal process is (as per the esptool instructions)
Flashing took about 90 seconds and , after a repower, the AP point showed up.
The template I used was the same as from the discussion & progress on the [European version.] (#21255) - Thank You !!
{"NAME":"S60UK","GPIO":[1,1,1,1,224,544,1,3104,1,32,1,0,0,0,0,0,0,0,1,1,1,1],"FLAG":0,"BASE":1}
And finally a bit of 0.5mm Plasticard was cut to shape and glued onto the base to cover the access hole and tidy up the unit.
Beta Was this translation helpful? Give feedback.
All reactions