Skip to content

Firmware update (hardware method)

Linar Yusupov edited this page Mar 7, 2023 · 7 revisions

Disclaimer

Author of this guidance is not responsible for any hardware damage or other issues caused by improper use of the following instructions.

This example is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Tools

Number Part Qty Picture Source
1 CH341A USB programmer 1 AliExpress
2 SOP8 Testing Clip 1 AliExpress

Connections

!!! ATTENTION !!!

  • At first, disconnect 18650 battery from the TTGO T-Beam device !
  • You may also need (or may not) to press and hold RESET button through all the procedure steps below in order to prevent ESP32 from accessing the flash memory IC at the same time you do with your programming device





Procedure

  1. Download and install Ch341Programmer software

  1. Install CH341A device driver, then plug the programming device into spare USB slot of your PC


  1. Execute the CH341A Programmer utility, then select Winbond W25Q32FW flash memory chip as follows


  1. Read current flash memory content. Backup it into a file


  1. Erase the flash memory chip


  1. Read target firmware from a file into the buffer. Then write the buffer into the chip.


  1. Verify that flash memory content do match with buffer's one.


  1. Close the software. Disconnect the programming device.
Clone this wiki locally