doctor64 / tuyaZigbee

Replacement firmwares for TuYa zigbee devices
Apache License 2.0
148 stars 20 forks source link

Add serial flash method #6

Open Suxsem opened 1 year ago

Suxsem commented 1 year ago

Hi, as discussed I made a python serial flasher to read, write and erase flash memory without the need for external hardware other than a USB-to-serial converter.

You can check it out the project here: https://github.com/Suxsem/Telink-Zigbee-serial-flash-tool

Please consider testing it and updating the documentation accordingly.

doctorcooper commented 3 months ago

I can confirm this method worked for me. I used windows and offset 0x8000 as first arg.

Telink_Tools.py -p COM9 erase_flash 0x8000 35   
Telink_Tools.py -p COM9 write_flash 0x8000 switch.bin