Hi. First of all, in the world of Chinese no name devices, I cannot be sure is your device have right chip for this software. I wont to be responsible if you brick device - responsibility is on you
Please first determine if your device is coming with Beken chip. I had a hard time to read something like BK7231N on chip itself (used camera and zoom to take a picture), then googled for BK7231N and found it is Beken chip, then found OpenBK firmware. It is also important to determine is it BK7231T or BK7231N (mine was N). Depending on this, you will use respective firmware from here.
OpenBK is Tasmota clone firmware for Beken chip devices. If your chip is ESP82xx, then you need to use Tasmota or ESPHome, OpenBK will not work on ESP82xx chip. Oposite, if your chip is Beken, you cannot flash Tasmota or ESPHome, we are continue with OpenBK.
Download latest firmware for T or N version, depending is it your chip T or N.
Flashing procedure is similar as for Tasmota/ESPHome, you need to connect:
- VCC on board with VCC on USB flasher
- GND on board with GND on USB flasher
- TX on board with RX on USB flasher
- RX on board with TX on USB flasher
Difference here is that you are not putting device in flash mode before flashing, but somewhere in the middle of flashing. Sorry, I am not a Windows guy and cannot help you with flashing from Windows, especially cause I also tried from Windows unsuccessful, then went back to good old Linux. These would be all needed commands for Debian/Ubuntu:
sudo su
cd ~/
git clone https://github.com/OpenBekenIOT/hid_download_py.git
cd hid_download_py
wget https://github.com/openshwprojects/OpenBK7231T_App/releases/download/1.12.0/OpenBK7231N_QIO_1.12.0.bin
apt install python3 python3-hid python3-serial python3-tqdm
python3 setup.py install --user
ls -al /dev/ttyUSB*
python3 uartprogram /root/hid_download_py/OpenBK7231N_QIO_1.12.0.bin --unprotect -d /dev/ttyUSB0 -w --startaddr 0x0
I believe this would be correct on Archlinux:
sudo su
cd ~/
git clone https://github.com/OpenBekenIOT/hid_download_py.git
cd hid_download_py
wget https://github.com/openshwprojects/OpenBK7231T_App/releases/download/1.12.0/OpenBK7231N_QIO_1.12.0.bin
pacman -S python python-hid python-serial python-tqdm
python setup.py install --user
ls -al /dev/ttyUSB*
python uartprogram /root/hid_download_py/OpenBK7231N_QIO_1.12.0.bin --unprotect -d /dev/ttyUSB0 -w --startaddr 0x0
As I already described here (there you can find also how to put device in flash mode).
PLEASE NOTE CAREFULLY:
- Above commands were executed at July this year, there is newer version of OpenBK firmware now, so modify github links with newer versions
- Please read CAREFULLY tutorials here and here, there is slight different (for
-startaddrif I remember correct), depending on is it your chip T or N (mine was N).
Happy flashing 